GNU bug report logs - #8199
solaris: df strangeness on solaris 9/sparc with nfs

Previous Next

Package: coreutils;

Reported by: Ben Walton <bwalton <at> artsci.utoronto.ca>

Date: Tue, 8 Mar 2011 03:47:02 UTC

Severity: normal

To reply to this bug, email your comments to 8199 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to owner <at> debbugs.gnu.org, bug-coreutils <at> gnu.org:
bug#8199; Package coreutils. (Tue, 08 Mar 2011 03:47:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Ben Walton <bwalton <at> artsci.utoronto.ca>:
New bug report received and forwarded. Copy sent to bug-coreutils <at> gnu.org. (Tue, 08 Mar 2011 03:47:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Ben Walton <bwalton <at> artsci.utoronto.ca>
To: bug-coreutils <bug-coreutils <at> gnu.org>
Subject: df strangeness on solaris 9/sparc with nfs
Date: Mon, 07 Mar 2011 22:18:09 -0500
Hi All,

I'm building an 8.10 update package for OpenCSW and found what I
believe to be a bug in df (8.8 is the current version).  This is
uncovered by the fiemap_capable_ function in the test suite and causes
the cp/fiemap-perf and cp/fiemap-2 tests to fail on sparc only.

The filesystem is NFS in both cases (from the same source).  I don't
presently have time to dig into the cause (and it may be fixed in
newer 8.9 or 8.10 anyway) but will try to do so in the next few
days...Please let me know if there is something specific you'd find
useful in the meantime.

On i386, I get:

$ gdf --version
df (GNU coreutils) 8.8
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Torbj"orn Granlund, David MacKenzie, and Paul Eggert.

$ uname -a
SunOS current9x 5.9 Generic_122301-52 i86pc i386 i86pc Solaris
$ gdf -T -t btrfs -t xfs -t ext4 -t ocfs2 -t gfs2 .
gdf: no file systems processed

On sparc, I get:

$ gdf --version
df (GNU coreutils) 8.8
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Torbj"orn Granlund, David MacKenzie, and Paul Eggert.

$ uname -a
SunOS current9s 5.9 Generic_Virtual sun4u sparc SUNW,SPARC-Enterprise-T5220 Solaris

$ gdf -T -t btrfs -t xfs -t ext4 -t ocfs2 -t gfs2 .
Filesystem    Type   1K-blocks      Used Available Use% Mounted on
-                -    43040565   3843892  39196673   9% /home/bwalton

Thanks
-Ben
--
Ben Walton
Systems Programmer - CHASS
University of Toronto
C:416.407.5610 | W:416.978.4302





Information forwarded to owner <at> debbugs.gnu.org, bug-coreutils <at> gnu.org:
bug#8199; Package coreutils. (Tue, 08 Mar 2011 09:30:03 GMT) Full text and rfc822 format available.

Message #8 received at 8199 <at> debbugs.gnu.org (full text, mbox):

From: Pádraig Brady <P <at> draigBrady.com>
To: 8199 <at> debbugs.gnu.org
Subject: Re: bug#8199: df strangeness on solaris 9/sparc with nfs
Date: Tue, 08 Mar 2011 09:28:24 +0000
On 08/03/11 03:18, Ben Walton wrote:
> 
> Hi All,
> 
> I'm building an 8.10 update package for OpenCSW and found what I
> believe to be a bug in df (8.8 is the current version).  This is
> uncovered by the fiemap_capable_ function in the test suite and causes
> the cp/fiemap-perf and cp/fiemap-2 tests to fail on sparc only.
> 
> The filesystem is NFS in both cases (from the same source).  I don't
> presently have time to dig into the cause (and it may be fixed in
> newer 8.9 or 8.10 anyway) but will try to do so in the next few
> days...Please let me know if there is something specific you'd find
> useful in the meantime.
> 
> On i386, I get:
> 
> $ gdf --version
> df (GNU coreutils) 8.8
> Copyright (C) 2010 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later
> <http://gnu.org/licenses/gpl.html>.
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.
> 
> Written by Torbj"orn Granlund, David MacKenzie, and Paul Eggert.
> 
> $ uname -a
> SunOS current9x 5.9 Generic_122301-52 i86pc i386 i86pc Solaris
> $ gdf -T -t btrfs -t xfs -t ext4 -t ocfs2 -t gfs2 .
> gdf: no file systems processed
> 
> On sparc, I get:
> 
> $ gdf --version
> df (GNU coreutils) 8.8
> Copyright (C) 2010 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later
> <http://gnu.org/licenses/gpl.html>.
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.
> 
> Written by Torbj"orn Granlund, David MacKenzie, and Paul Eggert.
> 
> $ uname -a
> SunOS current9s 5.9 Generic_Virtual sun4u sparc SUNW,SPARC-Enterprise-T5220 Solaris
> 
> $ gdf -T -t btrfs -t xfs -t ext4 -t ocfs2 -t gfs2 .
> Filesystem    Type   1K-blocks      Used Available Use% Mounted on
> -                -    43040565   3843892  39196673   9% /home/bwalton

Hi,

That specific 8.10 test failure is addressed separately upstream.
I'm leaving this bug open to record the df behavior you detail above.
It triggers when df can't read the list of mounted file systems
(why can it not on your sparc system?)

We may try to match the output of statfs() in this case,
and if no direct match, then fail?  I'm not sure.

cheers,
Pádraig.




Information forwarded to owner <at> debbugs.gnu.org, bug-coreutils <at> gnu.org:
bug#8199; Package coreutils. (Thu, 10 Mar 2011 02:50:02 GMT) Full text and rfc822 format available.

Message #11 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Ben Walton <bwalton <at> artsci.utoronto.ca>
To: bug-coreutils <bug-coreutils <at> gnu.org>
Subject: Re: bug#8199: df strangeness on solaris 9/sparc with nfs
Date: Wed, 09 Mar 2011 21:48:26 -0500
[Message part 1 (text/plain, inline)]
Excerpts from Pádraig Brady's message of Tue Mar 08 04:28:24 -0500 2011:

Hi Pádraig,

Thanks for the quick reply and apologies for my slow response.

> That specific 8.10 test failure is addressed separately upstream.
> I'm leaving this bug open to record the df behavior you detail
> above.

Ok, that's good to know.

> It triggers when df can't read the list of mounted file systems (why
> can it not on your sparc system?)

It is able to read the list, but it then proceeds to behave very
differently compared to the i386 version.  I've attached truss output
from the two boxes.  Hopefully it's of use.

Thanks
-Ben
--
Ben Walton
Systems Programmer - CHASS
University of Toronto
C:416.407.5610 | W:416.978.4302

[gdf.truss.i386 (application/octet-stream, attachment)]
[gdf.truss.sparc (application/octet-stream, attachment)]

Information forwarded to owner <at> debbugs.gnu.org, bug-coreutils <at> gnu.org:
bug#8199; Package coreutils. (Thu, 10 Mar 2011 13:10:03 GMT) Full text and rfc822 format available.

Message #14 received at 8199 <at> debbugs.gnu.org (full text, mbox):

From: Pádraig Brady <P <at> draigBrady.com>
To: Ben Walton <bwalton <at> artsci.utoronto.ca>
Cc: 8199 <at> debbugs.gnu.org
Subject: Re: bug#8199: df strangeness on solaris 9/sparc with nfs
Date: Thu, 10 Mar 2011 13:08:00 +0000
Can you send the contents of the two /etc/mtab files.
Perhaps there isn't a type field in the sparc one,
or perhaps your libc is behaving differently on sparc.

thanks,
Pádraig.




Information forwarded to owner <at> debbugs.gnu.org, bug-coreutils <at> gnu.org:
bug#8199; Package coreutils. (Thu, 10 Mar 2011 13:44:02 GMT) Full text and rfc822 format available.

Message #17 received at 8199 <at> debbugs.gnu.org (full text, mbox):

From: Ben Walton <bwalton <at> artsci.utoronto.ca>
To: Pádraig Brady <p <at> draigbrady.com>
Cc: 8199 <8199 <at> debbugs.gnu.org>
Subject: Re: bug#8199: df strangeness on solaris 9/sparc with nfs
Date: Thu, 10 Mar 2011 08:43:24 -0500
[Message part 1 (text/plain, inline)]
Excerpts from Pádraig Brady's message of Thu Mar 10 08:08:00 -0500 2011:

Hi Pádraig,

> Can you send the contents of the two /etc/mtab files.  Perhaps there
> isn't a type field in the sparc one, or perhaps your libc is
> behaving differently on sparc.

Certainly.  See attached.

Thanks
-Ben
--
Ben Walton
Systems Programmer - CHASS
University of Toronto
C:416.407.5610 | W:416.978.4302

[mnttab.i386 (application/octet-stream, attachment)]
[mnttab.sparc (application/octet-stream, attachment)]

Information forwarded to owner <at> debbugs.gnu.org, bug-coreutils <at> gnu.org:
bug#8199; Package coreutils. (Thu, 10 Mar 2011 13:57:02 GMT) Full text and rfc822 format available.

Message #20 received at 8199 <at> debbugs.gnu.org (full text, mbox):

From: Ben Walton <bwalton <at> artsci.utoronto.ca>
To: Pádraig Brady <p <at> draigbrady.com>,
	8199 <8199 <at> debbugs.gnu.org>
Subject: Re: bug#8199: df strangeness on solaris 9/sparc with nfs
Date: Thu, 10 Mar 2011 08:55:59 -0500
Excerpts from Ben Walton's message of Thu Mar 10 08:43:24 -0500 2011:

> Certainly.  See attached.

Also, the sparc host is a solaris 9 branded zone inside a solaris 10
update 9 box, while the i386 box is native.

Thanks
-Ben
--
Ben Walton
Systems Programmer - CHASS
University of Toronto
C:416.407.5610 | W:416.978.4302





Changed bug title to 'solaris: df strangeness on solaris 9/sparc with nfs' from 'df strangeness on solaris 9/sparc with nfs' Request was from Assaf Gordon <assafgordon <at> gmail.com> to control <at> debbugs.gnu.org. (Tue, 06 Nov 2018 17:58:01 GMT) Full text and rfc822 format available.

This bug report was last modified 6 years and 285 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.