Subscribe:

Ads 468x60px

Pages

Friday, August 19, 2011

Linux ext3 filesystem: Deleting files won't free space -- at 100% disk usage

We've had our / filesystem used 100% with 0 bytes available. To free up some space, we've deleted a whole bunch of files, but df still reports there are 0 bytes available. Rebooting the system did not have any effect.

Apparently, the system starts to reserve space for system use. The tune2fs command reports current filesystem usage.

To see how much space is reserved, run

# tune2fs -l /dev/VolGroup00-LogVol00

To reset the reserved space to zero, run the following command as a root user.

# tune2fs -r 0 /dev/mapper/VolGroup00-LogVol00

By running the command above, we were able to free the space available for the linux users to use.

1 comments:

Karthikeyan Srinivasan said...

Hi, could you pls tell me ...whts the root cause of this issue.

Post a Comment