Ever faced a linux system which ran out of disk space?
First check your quota by executing either “quota
” or “df
” to check your disk space capacity.
Next you need to find out where your disk space is gone. Type in the following command at the root level:
“du -ah | sort | grep M
”
This will provide you a list of directories which use disk space in a Megabyte range.
Then clean up the according disk space.
Note, if you using a linux operating system containing the YUM package manager and the YUM cache is consuming your disk space, you can use
“yum clean all
”
to free the cache.
Disk Space Clean Up