[WBEL-users] du -h an terabyte filesystems
Jeff Macdonald
Jeff Macdonald <macfisherman@gmail.com>
Mon, 13 Dec 2004 20:24:51 -0500
On Mon, 13 Dec 2004 14:49:54 -0600, Kirby C. Bohling
<kbohling@birddog.com> wrote:
>
> Several things. First, can you show the output of
>
> $ cat /proc/mounts
ip4700-spa:/A0 /mm nfs
rw,v3,rsize=8192,wsize=8192,hard,tcp,lock,addr=ip4700-spa 0 0
It is an NFS mount point.
>
> Specifically, I'm curious if /mm has a non-standard filesystem on
> it. Second, what does
>
> $ strace "df -h /mm"
>
statfs("/mm", {f_type="NFS_SUPER_MAGIC", f_bsize=4294967295,
f_blocks=4294967295, f_bfree=4294967295, f_bavail=4294967295,
f_files=4294967295, f_ffree=4294967295, f_fsid={0, 0}, f_namelen=255,
f_frsize=0}) = 0
b_bsize=b_blocks=f_bfree=f_bavail=f_files=f_ffree?
<snip>
> My guess is that either "f_blocks=1 f_bfree=1 f_bavail=1" will be
> there, or that statfs() returns -1, and df just prints what your
> seeing by default. That's just my guess. I'll bet that the
> filesystem you are using doesn't have a proper "statfs" in the
> kernel.
close!
> Barring that, I bet you'll see the problem by comparing the
> statfs line from the filesystems "/" and "/mm".
>
I don't know what you mean by this.
I tried to reopen the bug I mentioned in another posting, but I
haven't received my email confirmation yet.
--
Jeff Macdonald
Ayer, MA