I am trying to get a NFS share on a Solaris 10 branded zone. I have read that this is not possible...but I was hoping someone here could tell me different.
share -F nfs -o ro,anon=0 /dir
This would really surprise me that you cannot do this.
Thanks
I had a similar issue in trying to configure a NFS server on a non-global zone (in this case a legacy Solaris 8) and had to use lofs to allow the global zone to publish the NFS handle.
Here's the thread................
NFS server on Legacy Container? - The UNIX and Linux Forums
You can also pass through the 11 kernel by referencing:
share -o ro /etc/zones/[zonename]/root/[filesystem]
. On the global zone only.
On the non-global zone:
mount -F nfs [globalzone]:/etc/zones/[zonename]/root/[filesystem] /dir
The reason you cannot do what you want is because nfs mounts can only occur in the global zone. share/unshare only works there.
lofs mounts work well also. I prefer them.
1 Like