AWS newbie question. I created and run the AWS instance base on Ubuntu Server 18.04 LTS (HVM), SSD Volume Typefor bioinformatics. A size of the root volume was initially set at 8G and after installing dozens of packages, I get "No space left on device" error every time I update or upgrade packages. Then, I created AMI from this instance and increased the size of the root volume to 150G and launched this AMI but still get the same error. My filesystem size looks like following;
df -h
Filesystem Size Used Avail Use% Mounted on
udev 124G 0 124G 0% /dev
tmpfs 25G 956K 25G 1% /run
/dev/nvme1n1p1 7.7G 7.7G 0 100% /
tmpfs 124G 0 124G 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 124G 0 124G 0% /sys/fs/cgroup
/dev/loop1 18M 18M 0 100% /snap/amazon-ssm-agent/1480
/dev/loop2 90M 90M 0 100% /snap/core/8268
/dev/loop0 94M 94M 0 100% /snap/core/8935
/dev/loop3 18M 18M 0 100% /snap/amazon-ssm-agent/1566
tmpfs 25G 0 25G 0% /run/user/1000
I guess the issue is the size of /dev/nvme1n1p1 and /dev/loop1..4, both which apparently are still 100% after increasing the size of the root volume. I have the option of start the whole process over again but I'd appreciate any pointers to get around this issue.