From: Stephen Samuel <samuel@bcgreen.com>
To: 0124008@fudan.edu.cn
Cc: "linux-admin@vger.kernel.org" <linux-admin@vger.kernel.org>
Subject: Re: Hi, I get the problem that du does report right size on nfs file system.
Date: Fri, 30 Apr 2004 13:58:42 -0700 [thread overview]
Message-ID: <4092BE02.5020907@bcgreen.com> (raw)
In-Reply-To: <0HWV007CU25DPD@mail.fudan.edu.cn>
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.
prev parent reply other threads:[~2004-04-30 20:58 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
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 message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4092BE02.5020907@bcgreen.com \
--to=samuel@bcgreen.com \
--cc=0124008@fudan.edu.cn \
--cc=linux-admin@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).