beta.blog

Linux: Available Disk Space always 0%

by on Aug.10, 2012, under Linux (Ubuntu)

Unfortunately executing the command df -h on one of my rootservers returned the following output:

Filesystem Size Used Avail Use% Mounted on
/dev/md2 691G 659G 0 100% /

This was very weird because last time I checked it actually had 32 GB of free HDD space. I found out that Linux reserves 5% of the available hard disk capicities for the root user by default, so all I had to do was to lower this limit.

sudo tune2fs -m 1 /dev/hda2

This command will limit the reserved HDD space for the root user to 1%.


Leave a Reply

*

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!