something (FS-Cache?) broke nfs-mounts

Trond Myklebust trond.myklebust at fys.uio.no
Thu Dec 14 11:02:26 EST 2006


On Thu, 2006-12-14 at 13:50 +0200, Timo Aaltonen wrote:
>  	Hi
> 
> There's something weird going on with nfs-mounts with recent kernels. See 
> these bugreports:
> 
> https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=207670
> https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=209964
> https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=217793
> 
> I've tested this on Ubuntu Edgy (2.6.19) and Feisty (2.6.19 & 2.6.20-rc1) 
> and a fellow worked tried RHEL5b2. To summarize: permissions from the 
> first mount from a given server are inherited by following mounts from the 
> same server. So if the first mount is ro, all rw-mounts are ro as well. 
> This can be worked around by making the rw mount first.

This has been explained over and over again on the various lists. The
behaviour of NFS now mirrors that of local filesystems. If you want to
be able to mount the same filesystem as rw in one place and ro in
another, then you will need to add VFS support for per-mountpoint
read-only flags.

Trond



More information about the NFSv4 mailing list