Amazon EC2 disk resize No space left on device

On an Amazon EC2 instamce disk usage was full.

I increased disk size on Amazone AWS console. But disk did not get changed in EC2 instance.

The partition still shows 10 GB. When i try growpart, i get error

This is because disk is full. I try delete some unwanted files. But was not able to free up much disk space. To fix the error, i mounted /tmp in memory with commands.

This ec2 instance had lot of free RAM, so it should handle /tmp folder with out any issue. Now growpart worked.

parted -l shows the partition using all available disk space

still df -h won’t show increased disk space, this is because you need to increase filesystem size.

See Amazon EC2

Need help with Linux Server or WordPress? We can help!

One thought on “Amazon EC2 disk resize No space left on device

Leave a Reply

Your email address will not be published. Required fields are marked *