[OpenIndiana-discuss] NFS4 users
Gabriele Bulfon
gbulfon at sonicle.com
Tue Jul 26 15:02:58 UTC 2011
Well, this sounds a bit odd to me, expecially in this world of virtualized environments running
on the same storage, where many VM may run completely different solutions with their own users,
and I can't imagine to have all those users into the storage.
To me, the storage should be anaware of client uids.
At last, what I want to achieve, is to have ZFS on any platform through storage sharing :)
----------------------------------------------------------------------------------
Da: Ignacio Marambio Catán
A: Discussion list for OpenIndiana
Data: 26 luglio 2011 17.01.24 CEST
Oggetto: Re: [OpenIndiana-discuss] NFS4 users
yes, no_root_squash is a linux setting, it is what you achieve with
root= in solaris.
As far as i know id mapping (uid to uid) was not really necessary in
nfs4 because nfs4 uses usernames instead of uids so it's just a matter
of having the same users created everywhere no matter the uid.
nacho
On Tue, Jul 26, 2011 at 11:50 AM, Gabriele Bulfon
wrote:
Thanx for your suggestion, but I think the no_root_squashing is achieved through the "root="
option on zfs.
Infact, my zfs share output is like this:
- at data/sonicle /data/sonicle/webtop sec=sys,rw=@192.168.222.198/32,root=@192.168.222.198/32 ""
- at data/sonicle /data/sonicle/www sec=sys,rw=@192.168.222.200/32,root=@192.168.222.200/32 ""
found no other way to disable root_squashing but this.
and actually, it's not squashing root, it's squashing any non existant uid on the server.
any way to disable this?
----------------------------------------------------------------------------------
Da: Alex Smith (K4RNT)
A: Discussion list for OpenIndiana
Data: 26 luglio 2011 16.40.40 CEST
Oggetto: Re: [OpenIndiana-discuss] NFS4 users
If you don't use a unifying authentication system such as LDAP or
NIS+, look up the root_squash and no_root_squash NFS share options.
I'm not sure if this will fix your problems, I've used pure NFSv4 most
of the time.
On Tue, Jul 26, 2011 at 10:29, Gabriele Bulfon
wrote:
Hi, is there any way to let NFS4 server not require the same users of the client to exist on the server??
I noticed that the root access on an NFS4 server, let me chmod on any user who's id exists on the server,
wether it is same name or not. Any chmod to a uid not existent on the server, is changed to nobody...
For example, I shared a filesystem, and filled it with an original filesystem, through NFS3.
If I mount it with vers=3, I get all the correct permissions from the client view, wether they exist or not
on the server.
If I mount the same share with vers=4, I get correct permissions only for files with uid existent on the
server (even if different names), all the others files get the user nobody............
I want to use NFS4, because I noticed that locking management is much better, and cyrus does not
complain. But this permission limitation is annoying.
Any idea?
Gabriele.
_______________________________________________
OpenIndiana-discuss mailing list
OpenIndiana-discuss at openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss
--
" ' With the first link, the chain is forged. The first speech
censured, the first thought forbidden, the first freedom denied,
chains us all irrevocably.' Those words were uttered by Judge Aaron
Satie as wisdom and warning... The first time any man's freedom is
trodden on we?re all damaged." - Jean-Luc Picard, quoting Judge Aaron
Satie, Star Trek: TNG episode "The Drumhead"
- Alex Smith (K4RNT)
- Sterling, Virginia USA
_______________________________________________
OpenIndiana-discuss mailing list
OpenIndiana-discuss at openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss
_______________________________________________
OpenIndiana-discuss mailing list
OpenIndiana-discuss at openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss
_______________________________________________
OpenIndiana-discuss mailing list
OpenIndiana-discuss at openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss
More information about the OpenIndiana-discuss
mailing list