[ubuntu-uk] df and du give different results

LeeGroups mailgroups at varga.co.uk
Fri Jan 4 11:25:42 GMT 2008


>> Chris,
>>
>> Have you tried df -hi to show the number of free inodes on the system?
>> It should help to reveal whether it's a problem with the number of
>> inodes used or just hidden files or something..
>>
>>     
>
> Hi Lucy,
>
> I think the inode usage is OK. I tried yesterday and it read 8%.
>
> Thanks for the idea though.
>
> Chris
>
>   
I could just be slack space. The disk is allocated in  clusters of, say, 
4K (though it could be much bigger),
If only 2K of a cluster is used, it still uses 4K of space. If there are 
a lot of small files on the drive, the % of slack space is a killer.

Also don't forget that IIRC 10%  of an ext3 partition is reserved for 
use by the root user, you can change this on the flay with ext2tune from 
memory...





More information about the ubuntu-uk mailing list