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

2008-06-30 Thread Jodok Ole Muellers
Hi, 

Looks like find has also got a similar but different problem on AIX 5.3:

[EMAIL PROTECTED]:/nim# /opt/freeware/bin/find /nim/mksysb/mksysb_nimp
/opt/freeware/bin/find: /nim/mksysb/mksysb_nimp: Value too large to be stored 
in data type

[EMAIL PROTECTED]:/nim# /opt/freeware/bin/du -h /nim/mksysb/mksysb_nimp
4.9G/nim/mksysb/mksysb_nimp

[EMAIL PROTECTED]:/nim# find --version
GNU find version 4.1

[EMAIL PROTECTED]:/nim# rpm -qa | grep coreutils   
coreutils-6.10-1


___
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils


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

2008-06-30 Thread Andreas Schwab
Jodok Ole Muellers [EMAIL PROTECTED] writes:

 Looks like find has also got a similar but different problem on AIX 5.3:

find is not part of coreutils.  It belongs to findutils.

Andreas.

-- 
Andreas Schwab, SuSE Labs, [EMAIL PROTECTED]
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
And now for something completely different.


___
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils


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

2008-06-30 Thread James Youngman
On Mon, Jun 30, 2008 at 9:59 AM, Jodok Ole Muellers
[EMAIL PROTECTED] wrote:
 Hi,

 Looks like find has also got a similar but different problem on AIX 5.3:

 [EMAIL PROTECTED]:/nim# /opt/freeware/bin/find /nim/mksysb/mksysb_nimp
 /opt/freeware/bin/find: /nim/mksysb/mksysb_nimp: Value too large to be stored 
 in data type

 [EMAIL PROTECTED]:/nim# /opt/freeware/bin/du -h /nim/mksysb/mksysb_nimp
 4.9G/nim/mksysb/mksysb_nimp

 [EMAIL PROTECTED]:/nim# find --version
 GNU find version 4.1

This is the wrong mailing list to report problems with find - for
that you want the bug-findutils mailing list.  In any case, find
version 4.1 was released on 1994-11-3 and the final 4.1 release was
made on 2001-05-20.   You should upgrade to a recent version before
reporting a bug.

James.


___
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils


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

2008-06-20 Thread Jodok Ole Muellers
Hello List,

I just discovered that the df shipped with 
coreutils reports wrong size on AIX 5.3

I tried with these packages:
ftp://ftp.software.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/coreutils/coreutils-5.2.1-2.aix5.1.ppc.rpm
http://www.oss4aix.org/download/RPMS/coreutils/coreutils-6.11-1.aix5.1.ppc.rpm


AIX df:
===
[EMAIL PROTECTED]:/# /bin/df -g /tsmstg:
FilesystemGB blocks  Free %UsedIused %Iused Mounted on
/dev/tsmstglv  18839.50  16384.47   14% 2515 1% /tsmstg

coreutils df

[EMAIL PROTECTED]:/# /opt/freeware/bin/df -h /tsmstg
FilesystemSize  Used Avail Use% Mounted on
/dev/tsmstglv 2.4T  2.4T  485M 100% /tsmstg


The volume tsmstglv is 18TB but only 2.4T are reported.
Furthermore df shows it as 100% full.
I usually prefere GNU utils over AIX tools.

Is this a know problem with a 2.4T limit
or has this something to do with 32bit vs 64bit ?

Any help is much appreciated.


Best regards
Jodok Ole Müllers

-- 
Mit freundlichen Grüßen
Jodok Ole Müllers

Aschendorff Medien GmbH  Co. KG
An der Hansalinie 1
48163 Münster
Telefon : (0251) 690-9474
Telefax : (0251) 690-902
Email   : mailto:[EMAIL PROTECTED]
Website : http://www.aschendorff.de


___
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils


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

2008-06-20 Thread Jim Meyering
Jodok Ole Muellers [EMAIL PROTECTED] wrote:
 Hello List,

 I just discovered that the df shipped with
 coreutils reports wrong size on AIX 5.3

 I tried with these packages:
 ftp://ftp.software.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/coreutils/coreutils-5.2.1-2.aix5.1.ppc.rpm
 http://www.oss4aix.org/download/RPMS/coreutils/coreutils-6.11-1.aix5.1.ppc.rpm


 AIX df:
 ===
 [EMAIL PROTECTED]:/# /bin/df -g /tsmstg:
 FilesystemGB blocks  Free %UsedIused %Iused Mounted on
 /dev/tsmstglv  18839.50  16384.47   14% 2515 1% /tsmstg

 coreutils df
 
 [EMAIL PROTECTED]:/# /opt/freeware/bin/df -h /tsmstg
 FilesystemSize  Used Avail Use% Mounted on
 /dev/tsmstglv 2.4T  2.4T  485M 100% /tsmstg


 The volume tsmstglv is 18TB but only 2.4T are reported.
 Furthermore df shows it as 100% full.
 I usually prefere GNU utils over AIX tools.

Thanks for the report.
This is the first I've heard of such a problem.
However, since the names suggest the binaries were
built for aix5.1, I wouldn't worry just yet.

Would you please try building from the latest sources?

  ftp://ftp.gnu.org/gnu/coreutils/coreutils-6.12.tar.lzma
  ftp://ftp.gnu.org/gnu/coreutils/coreutils-6.12.tar.gz

Or, even a recent snapshot, if you're feeling adventurous:

  http://meyering.net/cu/coreutils-ss.tar.gz8.7 MB
  http://meyering.net/cu/coreutils-ss.tar.lzma  3.6 MB


___
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils


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

2008-06-20 Thread Paul Eggert
Jodok Ole Muellers [EMAIL PROTECTED] writes:

 AIX df:
 ===
 [EMAIL PROTECTED]:/# /bin/df -g /tsmstg:
 FilesystemGB blocks  Free %UsedIused %Iused Mounted on
 /dev/tsmstglv  18839.50  16384.47   14% 2515 1% /tsmstg

 coreutils df
 
 [EMAIL PROTECTED]:/# /opt/freeware/bin/df -h /tsmstg
 FilesystemSize  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 1265e000 in
hexadecimal.  the hexadecimal number 265e000 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
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils