"No space left" even though I switched machines and increased volume size through an AMI

0

Hi, I am using an EC2 instance and I've had a problem related to disk size. I was able to create an AMI and switch to a machine with double the disk capacity and it did not solve the problem. On the new machine,

$df -i

gives:

Filesystem       Inodes   IUsed    IFree IUse% Mounted on
udev            2007722     327  2007395    1% /dev
tmpfs           2011359     513  2010846    1% /run
/dev/nvme0n1p1 14080000 1626182 12453818   12% /
tmpfs           2011359       1  2011358    1% /dev/shm
tmpfs           2011359       3  2011356    1% /run/lock
tmpfs           2011359      18  2011341    1% /sys/fs/cgroup
/dev/loop0        10836   10836        0  100% /snap/core18/2253
/dev/loop2           16      16        0  100% /snap/amazon-ssm-agent/3552
/dev/loop1          479     479        0  100% /snap/snapd/14295
/dev/loop3           16      16        0  100% /snap/amazon-ssm-agent/4046
/dev/loop4        10847   10847        0  100% /snap/core18/2284
/dev/loop5          482     482        0  100% /snap/snapd/14549
tmpfs           2011359      11  2011348    1% /run/user/1000

So neither /dev/ nor tmpfs/ does not seem full. However, I cannot upload files, and when I do

sudo apt-get autoremove

I got " E: Write error - write (28: No space left on device) " message.

Any ideas? Thanks

asked 2 years ago479 views
1 Answer
0

"df -i" will provide only the inodes availability. What is the output of below commands ?

$ sudo df -h

$sudo lsblk

answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions