Subject: bug#14963: The values for the same file-system differ depending on the file tested

From: Bob Proulx <[email-masked]>
Date: Sat, 27 Jul 2013 14:25:45 -0600

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