Re: Hi, I get the problem that du does report right size on nfs file system.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxx
		   http://www.bcgreen.com/~samuel/
   Powerful committed communication. Transformation touching
     the jewel within each person and bringing it to light.
-
: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Newbie]     [Audio]     [Hams]     [Kernel Newbies]     [Util Linux NG]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Device Drivers]     [Samba]     [Video 4 Linux]     [Git]     [Fedora Users]

  Powered by Linux