On Tue, 06 Dec 2011 14:20:53 +0100, Jan Kryl <[email protected]> wrote:

do I have to shared all the zfs filesystem and it's sub-filesystem
individual?
such as:
share -F nfs -o xxx /tank/VMs
share -F nfs -o xxx /tank/VMs/linux
share -F nfs -o xxx /tank/VMs/windows
...

any possible to accomplish that by a single command, and inherit the parent filesystem's access right?

For sharing ZFS filesystem it's possible to use zfs property sharenfs:

 zfs set sharenfs=on|opts  <dataset>

If you share the filesystem this way, then the sharenfs property will
be perhaps inherited by subordinate filesystems. I say perhaps because
AFAIK there is currently a bug in Solaris, which is related to
inheriting sharenfs property. But you can give it a try and see if
it works for you.

nope, unlike with Solaris 10, tthis does not work currently the same
way on Solaris 11, ie. the share properties are not automatically inherited
that way. work to change this and bring this behavior back is ongoing.
_______________________________________________
nfs-discuss mailing list
[email protected]

Reply via email to