jperkin provides a "works for me" example in <https://gist.github.com/jperkin/0e48e8bcd8d670eaf594a5fbf504a766>, but there is a notable difference: My zone is connecting to the GZ using a vnic+etherstub. I only have a public IP, used for the GZ. Zones reside in an internal etherstub.
On 07/11/16 15:33, Jesus Cea wrote: > Configuration: > > SmartOS 20161013. > > Global zone: vnic + etherstub. The IP in that vnic is 10.200.0.1. Shared > dataset with: > > zfs sharenfs="[email protected]/32,[email protected]/32" zones/xx > > (I have tried tons of combinations, same result) > > Zone: IP: 10.200.0.3 connected to the etherstub. Just installed stock > "base-64 16.3.1" zone. > > NFS mounted as "mount -F nfs 10.200.0.1:/zones/xx /tmp/nfs". > > Result: "root" files are seen as "nobody", even files created via the > global zone. This is interesting because I would expect files created in > the global zone to be visible as "root", not "nobody". Nobody should be > only for files created in the NGZ. > > Tried mounting in other directories outside "/tmp", just in case. Same > result. > > Testing the NFS share as "ro" provides readonly only, as expected. > Trying with other non "root" users works fine. > -- Jesús Cea Avión _/_/ _/_/_/ _/_/_/ [email protected] - http://www.jcea.es/ _/_/ _/_/ _/_/ _/_/ _/_/ Twitter: @jcea _/_/ _/_/ _/_/_/_/_/ jabber / xmpp:[email protected] _/_/ _/_/ _/_/ _/_/ _/_/ "Things are not so easy" _/_/ _/_/ _/_/ _/_/ _/_/ _/_/ "My name is Dump, Core Dump" _/_/_/ _/_/_/ _/_/ _/_/ "El amor es poner tu felicidad en la felicidad de otro" - Leibniz
signature.asc
Description: OpenPGP digital signature
------------------------------------------- smartos-discuss Archives: https://www.listbox.com/member/archive/184463/=now RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00 Modify Your Subscription: https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb Powered by Listbox: http://www.listbox.com
