bug-coreutils
[Top][All Lists]
Advanced

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

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


From: Zahariev, Boris
Subject: 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 address@hidden
Sent: Saturday, July 27, 2013 1:25 PM
To: Zahariev, Boris
Cc: address@hidden
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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]