df numbers vs reality

Brandon Ooi brandon at hotornot.com
Tue Dec 6 23:09:26 UTC 2005


I believe this is also true for reiserfs. You can mark the drive as 
down, tar-copy it somewhere and reformat it with the "-m 0" arguments 
and move it back. I dont' know any other simple solution.

Brandon

Eric Lambrecht wrote:

> something we just noticed:
>
>> guba at caitlin:~$ df -k -l /storage
>> Filesystem           1K-blocks      Used Available Use% Mounted on
>> /dev/sda4            236869888 224837608         0 100% /storage
>
>
> *sigh*.. didn't realize the OS reserves about 5% of the blocks for the 
> super-user, so mogile thinks we've still got space left when we're 
> actually out.
>
> This is the case for ext2 or ext3, and I haven't checked with the 
> reiser boxes yet (we're doing a couple different filesystems to see 
> how they work out).
>
> You might be able to get around this with ext2 and ext3 by using the 
> '-m 0' argument to mk2efs.
>
> Frustrating how you never seem to get exactly what tools report...
>
> Eric...




More information about the mogilefs mailing list