linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* NFSv4 client restriction
@ 2012-02-22 19:24 Peter Horvath
  2012-02-23  1:01 ` J. Bruce Fields
  0 siblings, 1 reply; 9+ messages in thread
From: Peter Horvath @ 2012-02-22 19:24 UTC (permalink / raw)
  To: linux-nfs

Hi,

We are using Ubuntu LTS 10.04 servers and clients.
NFS version is the following:
nfs-common                     1.2.0-4ubuntu4.2
nfs-kernel-server               1.2.0-4ubuntu4.2

My exports looks like this:

/srv 10.66.3.0/24(fsid=0,ro,no_subtree_check,sync)
/srv/www/project1 10.66.3.101(rw,no_root_squash,no_subtree_check,sync)
/srv/www/project2 10.66.3.102(rw,no_root_squash,no_subtree_check,sync)
/srv/www/project3 10.66.3.103(rw,no_root_squash,no_subtree_check,sync)

My problem is that in this case clients have only read-only access. If
i set the pseudofilesystem root to RW it is working but in that case
all the clients would be able to mount the root and access other
projects too.
How can i achieve the same results as it was in NFSv3 with this config.

/srv/www/project1 10.66.3.101(rw,no_root_squash,no_subtree_check,sync)
/srv/www/project2 10.66.3.102(rw,no_root_squash,no_subtree_check,sync)
/srv/www/project3 10.66.3.103(rw,no_root_squash,no_subtree_check,sync)

I wasn't able to find any solution on the net and forums so far.

All help would be appreciated.

Thank you

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

end of thread, other threads:[~2012-02-29 22:32 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-22 19:24 NFSv4 client restriction Peter Horvath
2012-02-23  1:01 ` J. Bruce Fields
2012-02-23  1:24   ` Peter Horvath
2012-02-23  1:45     ` J. Bruce Fields
2012-02-23  7:09   ` steve
2012-02-23 10:25     ` Peter Horvath
2012-02-23 14:16     ` Daniel Kahn Gillmor
2012-02-23 15:42       ` steve
2012-02-29 22:32         ` J. Bruce Fields

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).