df reports false size

Andreas Dilger adilger at clusterfs.com
Tue Jan 31 17:59:24 UTC 2006


On Jan 31, 2006  13:31 +0100, Felix E. Klee wrote:
> Hey I just found something cool: "debugfs".  Here one can see all files on the 
> file system, even ones that are hidden by mounted partitions.  And, as it 
> looks, this is indeed our problem:
> 
> $ mount | grep ' /nfsroot'
> /dev/sda7 on /nfsroot type ext3 (rw,acl,user_xattr)
> 
> # debugfs /dev/sda1
> debugfs 1.35 (28-Feb-2004)
> debugfs:  ls /nfsroot
>  519169  (12) .    2  (12) ..    519171  (4072) 9.2   
> 
> Problem most likely found!  Now, we need to solve it - fortunately someone is 
> on location today.

You can use "mount -t bind / /mnt" and then "/mnt/nfsroot" will be the
underlying directory.

Cheers, Andreas
--
Andreas Dilger
Principal Software Engineer
Cluster File Systems, Inc.




More information about the Ext3-users mailing list