Jodok Ole Muellers <[EMAIL PROTECTED]> writes:

> AIX df:
> =======
> [EMAIL PROTECTED]:/# /bin/df -g /tsmstg:
> Filesystem    GB blocks      Free %Used    Iused %Iused Mounted on
> /dev/tsmstglv  18839.50  16384.47   14%     2515     1% /tsmstg
>
> coreutils df
> ============
> [EMAIL PROTECTED]:/# /opt/freeware/bin/df -h /tsmstg
> Filesystem            Size  Used Avail Use% Mounted on
> /dev/tsmstglv         2.4T  2.4T  485M 100% /tsmstg

If I had to guess, I'd guess that somebody is losing the high-order
bits of the amount of free space.  AIX df is reporting
20,228,759,093,248 bytes in the file system, which is 1265e0000000 in
hexadecimal.  the hexadecimal number 265e0000000 is equal to
2.3979... TiB, which GNU df would report as 2.4T.

It could be that the "somebody" is your AIX file system or kernel, or
it could be that the "somebody" is GNU df.  To find out, please fire
up a debugger and inspect the result of the statfs system call that
GNU "df" is issuing.  Or perhaps you can use the AIX equivalent of
Linux's strace to find out what statfs is doing.

If the statfs numbers are wrong, then the problem is in your kernel or
file system.  If the statfs numbers are right, then the problem is in
GNU df, and please let us know exactly what statfs returned.


_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to