Hi folks,
I'm running FC3 and ran out of disk space.
After deleting a huge - and I mean approx 5Gb - worth of files, the df output still shows 0% free. None of these files were linked to other files. They should be well truly gone.
Rebooting and forcing a fsck doesn't seem to have solved the problem.
Any ideas?
Thanks,
- Earl
Earl wrote:
Hi folks,
I'm running FC3 and ran out of disk space.
After deleting a huge - and I mean approx 5Gb - worth of files, the df output still shows 0% free. None of these files were linked to other files. They should be well truly gone.
Rebooting and forcing a fsck doesn't seem to have solved the problem.
A reboot didn't solve it? Generally that's an indication that some process has the file open. Can you do an lsof on one of the (deleted) filenames to see if something has it open? ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens@vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - ----------------------------------------------------------------------
Thanks guys for the reply.
df -i output is
[root@igor root]# df -i Filesystem Inodes IUsed IFree IUse% Mounted on /dev/hda2 2408448 387476 2020972 17% / /dev/hdb1 30539776 158025 30381751 1% /home2 /dev/hda1 26104 41 26063 1% /boot none 13735 1 13734 1% /dev/shm
Many of the files deleted were not in use - spare backup copies of data.
Regards,
- Earl
Rick Stevens wrote:
Earl wrote:
Hi folks,
I'm running FC3 and ran out of disk space.
After deleting a huge - and I mean approx 5Gb - worth of files, the df output still shows 0% free. None of these files were linked to other files. They should be well truly gone.
Rebooting and forcing a fsck doesn't seem to have solved the problem.
A reboot didn't solve it? Generally that's an indication that some process has the file open. Can you do an lsof on one of the (deleted) filenames to see if something has it open?
A running process that survives a reboot??? Neat trick!
If the filesystem got filled by a process running with root permissions, then it also filled up the reserved space (5% by default). Until you free up more than that reserved space, 'df' will continue to show 0% free. On a large file system, 5GB could be less than 5% of the total.
Earl wrote:
Hi folks,
I'm running FC3 and ran out of disk space.
After deleting a huge - and I mean approx 5Gb - worth of files, the df output still shows 0% free. None of these files were linked to other files. They should be well truly gone.
Rebooting and forcing a fsck doesn't seem to have solved the problem.
Any ideas?
Thanks,
- Earl
A long shot, but what is your inode count?
df -i will tell you.
It is possible to run out of available inodes on an ext2/3 filesystem, even if there is still plenty of free disk space available.
Another possibility is that the files you deleted were situated on a mountpoint pointing to another volume.
Greg