GNU bug report logs - #14963
The values for the same file-system differ depending on the file tested

Previous Next

Package: coreutils;

Reported by: "Zahariev, Boris" <boris.zahariev <at> internetbrands.com>

Date: Fri, 26 Jul 2013 23:44:01 UTC

Severity: normal

Tags: notabug

Done: Pádraig Brady <P <at> draigBrady.com>

Bug is archived. No further changes may be made.

Full log


Message #17 received at 14963 <at> debbugs.gnu.org (full text, mbox):

From: "Zahariev, Boris" <boris.zahariev <at> internetbrands.com>
To: Bob Proulx <bob <at> proulx.com>
Cc: "14963 <at> debbugs.gnu.org" <14963 <at> debbugs.gnu.org>
Subject: RE: bug#14963: The values for the same file-system differ depending
 on the file tested
Date: Mon, 29 Jul 2013 17:24:21 +0000
Hi Bob


 ~]#  strace -o df.strace.out1 -v -e trace=statfs df -h /nfs/eq-fas3240-001a/vol/a0content1/rcuvb/
Filesystem            Size  Used Avail Use% Mounted on
eq-fas3240-001a:/vol/a0content1
                      656G  501M  655G   1% /nfs/eq-fas3240-001a/vol/a0content1
 ~]#  strace -o df.strace.out2 -v -e trace=statfs df -h /nfs/eq-fas3240-001a/vol/a0content1/rcuniverse/
Filesystem            Size  Used Avail Use% Mounted on
eq-fas3240-001a:/vol/a0content1
                      380G  568M  380G   1% /nfs/eq-fas3240-001a/vol/a0content1

 ~]# cat df.strace.out1
statfs("/nfs/eq-fas3240-001a/vol/a0content1/rcuvb/", {f_type="NFS_SUPER_MAGIC", f_bsize=65536, f_blocks=10734745, f_bfree=10726732, f_bavail=10726732, f_files=43730919, f_ffree=43720738, f_fsid={0, 0}, f_namelen=255, f_frsize=65536}) = 0

 ~]# cat df.strace.out2
statfs("/nfs/eq-fas3240-001a/vol/a0content1/rcuniverse/", {f_type="NFS_SUPER_MAGIC", f_bsize=65536, f_blocks=6225920, f_bfree=6216844, f_bavail=6216844, f_files=43736471, f_ffree=43720729, f_fsid={0, 0}, f_namelen=255, f_frsize=65536}) = 0




________________________________________
From: Bob Proulx [bob <at> proulx.com]
Sent: Saturday, July 27, 2013 1:25 PM
To: Zahariev, Boris
Cc: 14963 <at> debbugs.gnu.org
Subject: Re: bug#14963: The values for the same file-system differ depending on the file tested

Zahariev, Boris wrote:
>
>  ~]$ sudo df -h /nfs/eq-fas3240-001a/vol/a0content1/rcuvb/
> Filesystem            Size  Used Avail Use% Mounted on
> eq-fas3240-001a:/vol/a0content1
>                       549G  501M  549G   1% /nfs/eq-fas3240-001a/vol/a0content1
>
>  ~]$ sudo df -h /nfs/eq-fas3240-001a/vol/a0content1/rcuniverse/
> Filesystem            Size  Used Avail Use% Mounted on
> eq-fas3240-001a:/vol/a0content1
>                       380G  495M  380G   1% /nfs/eq-fas3240-001a/vol/a0content1
>
>
> The values for the same file-system differ depending on the file tested?

Please try these:

  strace -o df.strace.out -v -e trace=statfs /nfs/eq-fas3240-001a/vol/a0content1/rcuvb/
  strace -o df.strace.out -v -e trace=statfs /nfs/eq-fas3240-001a/vol/a0content1/rcuniverse/

Then report back what they say.  (I assume that your system is using
statfs.  If that reports an invalid system call name then just report
all file system calls.)

  strace -o df.strace.out -v -e trace=file /nfs/eq-fas3240-001a/vol/a0content1/rcuvb/
  strace -o df.strace.out -v -e trace=file /nfs/eq-fas3240-001a/vol/a0content1/rcuniverse/

And if that fails then everything.

  strace -o df.strace.out -v /nfs/eq-fas3240-001a/vol/a0content1/rcuvb/
  strace -o df.strace.out -v /nfs/eq-fas3240-001a/vol/a0content1/rcuniverse/

If the file is large then please think of the list bandwidth and
compress it before sending it back.

Bob




This bug report was last modified 11 years and 295 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.