Subject: Re: misc/34557: Problem with NetBSD-3 as a NFSv3 server with ext2fs
To: None <misc-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Thomas Lecomte <deather.dede@gmail.com>
List: netbsd-bugs
Date: 09/19/2006 20:55:02
The following reply was made to PR misc/34557; it has been noted by GNATS.

From: Thomas Lecomte <deather.dede@gmail.com>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: misc/34557: Problem with NetBSD-3 as a NFSv3 server with ext2fs
Date: Tue, 19 Sep 2006 22:54:35 +0200

 Christos Zoulas wrote:
 > The following reply was made to PR misc/34557; it has been noted by GNATS.
 > 
 > From: christos@zoulas.com (Christos Zoulas)
 > To: gnats-bugs@NetBSD.org, misc-bug-people@netbsd.org,
 > 	gnats-admin@netbsd.org, netbsd-bugs@netbsd.org,
 > 	deather.dede@gmail.com
 > Cc: 
 > Subject: Re: misc/34557: Problem with NetBSD-3 as a NFSv3 server with ext2fs
 > Date: Tue, 19 Sep 2006 13:57:14 -0400
 > 
 >  On Sep 19,  2:45pm, deather.dede@gmail.com (Thomas Lecomte) wrote:
 >  -- Subject: Re: misc/34557: Problem with NetBSD-3 as a NFSv3 server with ext2
 >  
 >  | The following reply was made to PR misc/34557; it has been noted by GNATS.
 >  | 
 >  | From: Thomas Lecomte <deather.dede@gmail.com>
 >  | To: gnats-bugs@NetBSD.org
 >  | Cc: 
 >  | Subject: Re: misc/34557: Problem with NetBSD-3 as a NFSv3 server with ext2fs
 >  | Date: Tue, 19 Sep 2006 16:44:08 +0200
 >  | 
 >  |  Christos Zoulas wrote:
 >  |  > The following reply was made to PR misc/34557; it has been noted by GNATS.
 >  |  > 
 >  |  > From: christos@zoulas.com (Christos Zoulas)
 >  |  > To: gnats-bugs@NetBSD.org, misc-bug-people@netbsd.org,
 >  |  > 	gnats-admin@netbsd.org, netbsd-bugs@netbsd.org
 >  |  > Cc: 
 >  |  > Subject: Re: misc/34557: Problem with NetBSD-3 as a NFSv3 server with ext2fs
 >  |  > Date: Tue, 19 Sep 2006 09:26:36 -0400
 >  |  > 
 >  |  >  On Sep 19, 12:45pm, deather.dede@gmail.com (deather.dede@gmail.com) wrote:
 >  |  >  -- Subject: misc/34557: Problem with NetBSD-3 as a NFSv3 server with ext2fs
 >  |  >  
 >  |  >  | >Number:         34557
 >  |  >  | >Category:       misc
 >  |  >  | >Synopsis:       Problem with NetBSD-3 as a NFSv3 server with ext2fs
 >  |  >  | >Confidential:   no
 >  |  >  | >Severity:       serious
 >  |  >  | >Priority:       medium
 >  |  >  | >Responsible:    misc-bug-people
 >  |  >  | >State:          open
 >  |  >  | >Class:          sw-bug
 >  |  >  | >Submitter-Id:   net
 >  |  >  | >Arrival-Date:   Tue Sep 19 12:45:00 +0000 2006
 >  |  >  | >Originator:     Thomas Lecomte
 >  |  >  | >Release:        3.0
 >  |  >  | >Organization:
 >  |  >  | N/A
 >  |  >  | >Environment:
 >  |  >  | NetBSD barney.hinyx.info 3.0 NetBSD 3.0 (GENERIC) #0: Mon Dec 19 01:04:02 UTC 2005  builds@works.netbsd.org:/home/builds/ab/netbsd-3-0-RELEASE/i386/200512182024Z-obj/home/builds/ab/netbsd-3-0-RELEASE/src/sys/arch/i386/compile/GENERIC i386
 >  |  >  | >Description:
 >  |  >  | I export an ext2fs partition using NFS.
 >  |  >  | When I mount it on a Solaris box, it works using either NFSv2 and NFSv3.
 >  |  >  | However, when mounting it on a Linux box, NFSv3 doesn't work.
 >  
 >  Can you also run uname -a on the linux box too? It looks to me that
 >  you are running an older kernel that does not support nfsv3 properly.
 >  Can you export a nfsv3 partition from solaris and mount it on linux
 >  and see if that works? It looks like a problem on the linux side.
 >  
 >  christos
 
 I had already posted it :-)
 
   >  | Here's the uname -a output of the Linux box:
   >  | # uname -a
   >  | Linux babe 2.6.15-26-sparc64 #1 Thu Aug 3 02:59:18 UTC 2006 
 sparc64 GNU/Linux
   >  |
   >  | It's an Ubuntu Server 6.06.1.
 
 As you see, I don't think it's due to an old version of Linux.
 Notice that the problem also occurs on SCO OpenServer.
 
 However, it works okay with an OpenBSD box:
 
 neptune>uname -msr ; /sbin/mount | grep big
 OpenBSD 3.9 sparc
 barney.hinyx.info:/big on /big type nfs (v3, udp, timeo=100)
 
 So the problem only occurs against a Linux 2.6.15 (and probably with 
 earlier version--it has been a long time since I had to force NFSv2 with 
 every Linux boxes) and SCO OpenServer.
 
 Thanks,
 
 Thomas
 
 -- 
 Thomas Lecomte    deather.dede@gmail.com    Solaris User & Developer
 http://blog.hinyx.info - http://guses.org - http://www.sunwizard.net