[Linux-cluster] 'df' not accurate?

Ken Preslan kpreslan at redhat.com
Thu Nov 18 21:51:58 UTC 2004


On Thu, Nov 18, 2004 at 03:31:46PM -0600, Brynnen R Owen wrote:
>   I have a cluster with 5 computers on board.  I have a GFS partition
> that's about 1T.  When I run 'df', it shows that I've used 81G.  When
> I run a 'du -s' on a subtree of the filesystem, I get ~250G.  I would
> expect that the total in-use storage size would be about 300G.  The
> quotas seem to add up to about 300G as well.  I manually created a 1M
> file, and the usage went up by 1028 blocks.
> 
>   I'm using lock_dlm, RedHat 9, 2.6.9 kernel, all patches from CVS on
> Nov 11.  Anyone else seen anything like this?  I don't have a few
> days/weeks to fsck the system.

If you do a "gfs_tool shrink /mountpoint" and then rerun df, does the
value change?

-- 
Ken Preslan <kpreslan at redhat.com>




More information about the Linux-cluster mailing list