bug-coreutils
[Top][All Lists]
Advanced

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

Re: AIX 5.3 df coreutils reportes wrong size - 2.4T limit ?


From: Paul Eggert
Subject: Re: AIX 5.3 df coreutils reportes wrong size - 2.4T limit ?
Date: Fri, 20 Jun 2008 12:21:35 -0700
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux)

Jodok Ole Muellers <address@hidden> writes:

> AIX df:
> =======
> address@hidden:/# /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
> ============
> address@hidden:/# /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.




reply via email to

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