Hi, I get the problem that du does report right size on nfs filesystem.
am 28.04.2004 05:16:16 von Penny
Hi,all
run `du * -sh` in a nfs mounted directory. But it only reports about 1/10 of the right size. That is, I have about 8G files in all directories but `du` only reports about 800M. Btw, the nfs server is running `ms service for unix v3`.
Does anyone meet the same problem here? Thank u in advance.
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: Hi, I get the problem that du does report right size on nfs filesystem.
am 29.04.2004 08:10:25 von Tony Fica
On Wed, 28 Apr 2004, Penny wrote:
> Hi,all
> run `du * -sh` in a nfs mounted directory. But it only reports about 1/10 of the right size. That is, I have about 8G files in all directories but `du` only reports about 800M. Btw, the nfs server is running `ms service for unix v3`.
> Does anyone meet the same problem here? Thank u in advance.
Might try du -sh without the *, should give a total usage for the current
directory and all sub directories.
Tony
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: Hi, I get the problem that du does report right size on nfs filesystem.
am 30.04.2004 22:58:42 von Stephen Samuel
A more specific answer is that * doesn't catch the hidden
( .* ) files and directories.
If you want to know the sizes of the current directory, and also
get a summary of what's in each first-level directory, you
acn go:
du --max-depth=1 .
(the '.' isn't necessary, since that's the default, but I like
to know exactly what I'm asking for).
Penny wrote:
> Hi,all
> run `du * -sh` in a nfs mounted directory. But it only reports about 1/10 of the right size. That is, I have about 8G files in all directories but `du` only reports about 800M. Btw, the nfs server is running `ms service for unix v3`.
> Does anyone meet the same problem here? Thank u in advance.
--
Stephen Samuel +1(604)876-0426 samuel@bcgreen.com
http://www.bcgreen.com/~samuel/
Powerful committed communication. Transformation touching
the jewel within each person and bringing it to light.
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html