[Fwd: RHEL connundrum with df and du]

Peter Kjellström cap at nsc.liu.se
Tue Nov 7 00:57:34 CST 2006


On Monday 06 November 2006 06:13, Sankarshan Mukhopadhyay wrote:
> Hi All
>
> I am having an issue with disk space and since it is happening using an
> ext3 formatted partition I felt that this would be the most appropriate
> list to post to.
> ...
> Both have full / partitions. df shows this to be the case so it must be
> true ... right ?
>
> Well du disagrees, on one system with a full 20GB / parition that df shows
> to be full, df can only find 3.6GB of files.
> ...

If the system passes a reboot and (as you say) successfully finishes an fsck 
then I'd start looking "under" mount-points.

Another way to attack it is to just pick a few blocks at random (preferably 
high numbers since they should be free) and ask debugfs which files use these 
blocks. This might give you some clues.

debugfs -R icheck BLOCKNR /dev/XXX
 will tell you which inode uses a certain block

debugfs -R ncheck INODE /dev/XXX
 will tell you the filename of a certain inode

But please do read "man debugfs" for yourself.

Good luck,
 Peter
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.us.dell.com/pipermail/linux-poweredge/attachments/20061107/876684be/attachment-0001.bin 


More information about the Linux-PowerEdge mailing list