On 07/11/16 16:28, Jesus Cea wrote: > 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.
Well, being using a vnic+etherstub was actually VERY relevant. Using "snoop" and decoding the protocol by hand made the problem obvious. The problem is NFS4_DOMAIN. If not defined, it is generated from the DNS (reverse DNS mapping of the IP). The IP in the global zone is a public IP with reverse mapping. The IP of the internal zone (in the etherstub) is in the private range and has no reverse DNS. The result was a NFS4_DOMAIN mismatch. You can configure the NFS4_DOMAIN by hand using "sharectl". When both sides agree, the mapping works fine. Interestingly this was only an issue for "root", not for other users. "sharectl" is persistent in the NGZ. In the GZ, you can choose between keeping the DNS derived value (and you configure the NGZ to use it) or use "/opt/custom/svc/" trick. I think the NFS4_DOMAIN should be a value to be able to override in the "/usbkey". How can I request this for future releases of SmartOS? In this context I see a tiny bug when using "sharectl" inside a zone. Any use, for getting or setting, shows these errors: """ SMF Initialization problems..svc:/network/nfs/server:default SMF Initialization problems..svc:/network/nfs/server:default SMF Initialization problems..svc:/network/nfs/server:default SMF Initialization problems..svc:/network/nfs/server:default SMF Initialization problems..svc:/network/nfs/server:default SMF Initialization problems..svc:/network/nfs/server:default SMF Initialization problems..svc:/network/nfs/server:default SMF Initialization problems..svc:/network/nfs/server:default SMF Initialization problems..svc:/network/nfs/server:default SMF Initialization problems..svc:/network/nfs/server:default NFS plugin problem with SMF repository: unknown -1 """ There are no NFS server in the NGZ. Where can I report this?. -- 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
