[Pvfs2-users] du df mismatch, pvfs2 v1.5.1
Robert Latham
robl at mcs.anl.gov
Wed Nov 15 16:04:26 EST 2006
On Wed, Nov 15, 2006 at 03:21:52PM -0500, Michael Galloway wrote:
> good day all, i'm a bit confused with this:
>
> [root at bioinfo ~]# df -h /pvfs2-data/
> Filesystem Size Used Avail Use% Mounted on
> tcp://bioinfo:3334/pvfs2-fs
> 88G 32G 57G 36% /pvfs2-data
>
> [root at bioinfo ~]# du -sh /pvfs2-data/
> 12K /pvfs2-data/
>
> there is no data in the pvfs2 filesystem and pvfs2-ping looks normal. there
> must be somthing simple i'm missing.
The issue here is that PVFS computes "df" and "du" in different ways.
Your question is kind of related to this faq entry:
http://www.pvfs.org/pvfs2-faq.html#sec:df-free-space
When figuring out 'du', the client sums up the amount of space each
directory is using.
I can gladly go into more detail if you would like.
==rob
--
Rob Latham
Mathematics and Computer Science Division A215 0178 EA2D B059 8CDF
Argonne National Lab, IL USA B29D F333 664A 4280 315B
More information about the Pvfs2-users
mailing list