> no, it is not a subdirectory it is a filesystem mounted on top of the
> subdirectory.
> So unless you use NFSv4 with mirror mounts or an automounter other NFS
> version will show you contents of a directory and not a filesystem. It
> doesn't matter if it is a zfs or not.

Ok, I learned something here, that I want to share:

If you create a new zfs filesystem as a subdir of a zfs filesystem which is
exported via nfs and shared via cifs ...

The cifs clients see the contents of the child zfs filesystems.
But, as Robert said above, nfs clients do not see the contents of the child
zfs filesystem.

So, if you nest zfs filesystems inside each other (I don't) then the
sharenfs property of a parent can be inherited by a child, and if that's
your desired behavior, it's a cool feature.

For that matter, even if you do set the property, and you create a new child
filesystem with inheritance, that only means the server will auto-export the
filesystem.  It doesn't mean the client will auto-mount it, right?  So
what's the 2nd half of the solution?  Assuming you want the clients to see
the subdirectories as the server does.

_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to