EC Server how to clear diskspace amazon ec2 server

July 6, 2021 . 1 MIN READ

Well, I think its one (or more) logfiles which have grown too large and need to be removed/backupped. I would suggest going after the big files first. So find all files greater than 10 MB (10 MB is a big enough file size, you can choose +1M for 1MB similarly)

sudo find / -type f -size +10M -exec ls -lh {} \;

and now you can identify which ones are causing the trouble and deal with them accordingly.

https://stackoverflow.com/questions/20031604/amazon-ec2-disk-full

 

 

Leave a Reply

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