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


View this message in rfc822 format

From: Pádraig Brady <P <at> draigBrady.com>
To: "Zahariev, Boris" <boris.zahariev <at> internetbrands.com>
Cc: "14963 <at> debbugs.gnu.org" <14963 <at> debbugs.gnu.org>, Bob Proulx <bob <at> proulx.com>
Subject: bug#14963: The values for the same file-system differ depending on the file tested
Date: Tue, 30 Jul 2013 00:20:18 +0100
tag 14963 notabug
close 14963
stop

On 07/29/2013 06:24 PM, Zahariev, Boris wrote:
> 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

So you can see that the system interprets those passed paths and
returns the associated sizes for them.
I suspect different values are returned due to quotas or
some other per directory attribute on your system.

As such, I'm closing this as not specific to du.

thanks for the follow up,
Pádraig.





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.