linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: NFSv2/3 broken exporting/mounting (permission denied) in 2.6.24-rc4
@ 2007-12-07 10:54 Mikael Pettersson
  2007-12-07 15:32 ` J. Bruce Fields
  0 siblings, 1 reply; 3+ messages in thread
From: Mikael Pettersson @ 2007-12-07 10:54 UTC (permalink / raw)
  To: ezk, linux-kernel, nfs

On Thu, 6 Dec 2007 21:20:41 -0500, Erez Zadok wrote:
> I get a "permission denied" when trying to mount a localhost nfsv2/3
> exported volume, on v2.6.24-rc4-124-gf194d13.  It works w/ nfsv4 mounting.
> It worked fine in 2.6.24-rc3.  Here's a sequence of ops I tried:
> 
> # mount -t ext2 /dev/hdb1 /n/lower/b0
> # exportfs -o no_root_squash,rw localhost:/n/lower/b0
> # mount -t nfs -o nfsvers=3 localhost:/n/lower/b0 /mnt

I'm seeing something similar too. NFSv3 export of an ext3 partition
to another machine in my lan fails (client gets permission denied)
when the server runs 2.6.24-rc4. It worked fine in 2.6.24-rc3.

There's no NFSv4 of any kind on either client or server.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: NFSv2/3 broken exporting/mounting (permission denied) in 2.6.24-rc4
  2007-12-07 10:54 NFSv2/3 broken exporting/mounting (permission denied) in 2.6.24-rc4 Mikael Pettersson
@ 2007-12-07 15:32 ` J. Bruce Fields
  0 siblings, 0 replies; 3+ messages in thread
From: J. Bruce Fields @ 2007-12-07 15:32 UTC (permalink / raw)
  To: Mikael Pettersson; +Cc: ezk, linux-kernel, nfs

On Fri, Dec 07, 2007 at 11:54:38AM +0100, Mikael Pettersson wrote:
> On Thu, 6 Dec 2007 21:20:41 -0500, Erez Zadok wrote:
> > I get a "permission denied" when trying to mount a localhost nfsv2/3
> > exported volume, on v2.6.24-rc4-124-gf194d13.  It works w/ nfsv4 mounting.
> > It worked fine in 2.6.24-rc3.  Here's a sequence of ops I tried:
> > 
> > # mount -t ext2 /dev/hdb1 /n/lower/b0
> > # exportfs -o no_root_squash,rw localhost:/n/lower/b0
> > # mount -t nfs -o nfsvers=3 localhost:/n/lower/b0 /mnt
> 
> I'm seeing something similar too. NFSv3 export of an ext3 partition
> to another machine in my lan fails (client gets permission denied)
> when the server runs 2.6.24-rc4. It worked fine in 2.6.24-rc3.
> 
> There's no NFSv4 of any kind on either client or server.

And you're not varying the client at all, you're only changing the
kernel version on the server?

There are literally no commits between v2.6.24-rc3 and v2.6.24-rc4 which
touch fs/nfsd/.  What filesystem are you exporting?  Are the nfs-utils
versions the same in both cases?

Also, could you get a network trace showing the failure?

--b.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* NFSv2/3 broken exporting/mounting (permission denied) in 2.6.24-rc4
@ 2007-12-07  2:20 Erez Zadok
  0 siblings, 0 replies; 3+ messages in thread
From: Erez Zadok @ 2007-12-07  2:20 UTC (permalink / raw)
  To: linux-kernel, nfs

I get a "permission denied" when trying to mount a localhost nfsv2/3
exported volume, on v2.6.24-rc4-124-gf194d13.  It works w/ nfsv4 mounting.
It worked fine in 2.6.24-rc3.  Here's a sequence of ops I tried:

# mount -t ext2 /dev/hdb1 /n/lower/b0
# exportfs -o no_root_squash,rw localhost:/n/lower/b0
# mount -t nfs -o nfsvers=3 localhost:/n/lower/b0 /mnt

Erez.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-12-07 15:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-12-07 10:54 NFSv2/3 broken exporting/mounting (permission denied) in 2.6.24-rc4 Mikael Pettersson
2007-12-07 15:32 ` J. Bruce Fields
  -- strict thread matches above, loose matches on Subject: below --
2007-12-07  2:20 Erez Zadok

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).