-
Notifications
You must be signed in to change notification settings - Fork 26
Anomalous size of root file system on C5/M5 instances #148
Comments
Here's a couple more tests. c4.large
r4.large
|
System log from a https://gist.github.com/kinghuang/9842ee461a6ebe9b66e47c0e1f3a6eb1
|
This seems to be the problematic bit that differs on
https://gist.github.com/kinghuang/9842ee461a6ebe9b66e47c0e1f3a6eb1#file-system-log-L392 |
Thanks for the clear steps to replicate this @kinghuang
Any other instance will be:
Turns out amazon is mounting the disk at a completely different location, which means that we fail to see it, and thus mount it 😔 I'll update our support for NVMe in order to get this resolved. |
@FrenchBen is this fixed? |
I briefly tried the new Moby Linux 18.03.0-ce-aws2 image (ami-3260064a in us-west-2) a few days ago and it seems to be fixed. Haven't tested it extensively yet, though. |
I tried 18.03.1-ce-aws1 (outside of docker for AWS) yesterday on c5.2xlarge instances, it does not work. The EBS volume is created and attached to the EC2 instance but the docker service never comes up and it fails to mount. Here are the relevant error messages from the docker service:
The errors at the end may be side effects of me eventually Ctrl+C out of the |
@jwitko That's a different problem. This issue is about the root block device for the host itself, not EBS volumes created by Cloudstor. This specific issue is fixed. But, Cloudstor needs to be similarly updated to handle the different mount paths used by current generation instances. I'm going to close this one. The Cloudstor EBS problem is covered by #157. |
Hi Recently I upgraded my aws instances type to r5.4xlarge and m5.2xlarge. Post modifying the instance types, I could see / file system utilization showing as high like 98% occupied. When I checked in the / file system I dont see any file consumed high. I`ve installed nvme and ENA modules are installed and loaded. Can you please help me to identify and fix the issue?Thanks -Shyam |
Expected behaviour
Docker for AWS uses Moby Linux AMIs. The Moby Linux 18.03 AMI (ami-ccf668b4) added ENA and NMVe support, making it usable with current generation EC2 instances (#128). However, there appears to be some sort of problem working with the instance's backing EBS volume in current generation instances. The size of the root file system seen in the instance is dramatically smaller than the size of the underlying EBS volume.
As a baseline, here is what's shown for a t2.micro instance with a 20 GB EBS volume.
Actual behavior
A
c5.large
instance with a 48 GB EBS volume shows 1.8 GB.A
m5.large
instance with a 20 GB EBS volume shows a size of 3.7 GB.For some unknown reason, the full space of the root block EBS isn't available. As a result, Docker nodes very quickly run out of disk space.
Information
The current Docker for AWS template doesn't have entries for
c5
andm5
instance types (#146). They can be manually added manually. For the purposes of this issue, it's more convenient to just directly launch EC2 instances with the Moby Linux 18.03 AMI and selectc5
/m5
instance types.Steps to reproduce the behavior
From the EC2 Management Console:
shell-aws
container).df -h /
. Observe the size of the root filesystem.The text was updated successfully, but these errors were encountered: