linux-admin.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Hi, I get the problem that du does report right size on nfs file system.
@ 2004-04-28  3:16 Penny
  2004-04-29  6:10 ` Tony Fica
  2004-04-30 20:58 ` Stephen Samuel
  0 siblings, 2 replies; 3+ messages in thread
From: Penny @ 2004-04-28  3:16 UTC (permalink / raw)
  To: linux-admin@vger.kernel.org 

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.





^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Hi, I get the problem that du does report right size on nfs file system.
  2004-04-28  3:16 Hi, I get the problem that du does report right size on nfs file system Penny
@ 2004-04-29  6:10 ` Tony Fica
  2004-04-30 20:58 ` Stephen Samuel
  1 sibling, 0 replies; 3+ messages in thread
From: Tony Fica @ 2004-04-29  6:10 UTC (permalink / raw)
  To: Penny; +Cc: linux-admin@vger.kernel.org

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Hi, I get the problem that du does report right size on nfs file system.
  2004-04-28  3:16 Hi, I get the problem that du does report right size on nfs file system Penny
  2004-04-29  6:10 ` Tony Fica
@ 2004-04-30 20:58 ` Stephen Samuel
  1 sibling, 0 replies; 3+ messages in thread
From: Stephen Samuel @ 2004-04-30 20:58 UTC (permalink / raw)
  To: 0124008; +Cc: linux-admin@vger.kernel.org

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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-04-30 20:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-28  3:16 Hi, I get the problem that du does report right size on nfs file system Penny
2004-04-29  6:10 ` Tony Fica
2004-04-30 20:58 ` Stephen Samuel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).