Deleting files doesn't free space in 100% full partition

Martijn van Oosterhout kleptog at svana.org
Thu Dec 12 00:09:19 EST 2002


On Thu, Dec 12, 2002 at 12:06:08AM +1100, Alex Pollard wrote:
> Hello,
> 
> I've recently installed RH8.0 and today I found this:
> 
> % df
> Filesystem           1K-blocks      Used Available Use% Mounted on
> /dev/hda3             20153172  13665460   5463972  72% /
> /dev/hda1                23302     14275      7824  65% /boot
> none                    127696         0    127696   0% /dev/shm
> /dev/hda6             18113524  17266548         0 100% /mnt/tmp
> 
> (originally /dev/hda6 was /tmp, I've remounted it at /mnt/tmp)
> You can see that /dev/hda6 (which is ext3) has about 1Gb free but is marked as 
> full.
> 
> Deleting files does not help at all. The blocks used number goes down 
> correctly, but the available count doesn't change.

By default around 5% of the disk is reserved for the superuser and doesn't
show up in the df output. 5% here would be about 900MB so you only need to
delete a bit more for it to start appearing.

Or you can use tune2fs to reduce the reserved amount to 1% (about 180MB).

-- 
Martijn van Oosterhout   <kleptog at svana.org>   http://svana.org/kleptog/
> Support bacteria! They're the only culture some people have.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
Url : http://lists.samba.org/archive/linux/attachments/20021212/1f930eee/attachment.bin


More information about the linux mailing list