df numbers vs reality

Brandon Ooi brandon at hotornot.com
Tue Dec 6 23:15:50 UTC 2005


Hmm, on second thought that may be a feature of ext2/3 to prevent 
runaway processes from preventing maintenance work by a superuser. This 
is not true for reiserfs.

Brandon

Brandon Ooi wrote:

> 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