On January 23, 2010 2:17:12 PM -0600 Bob Friesenhahn <bfrie...@simple.dallas.tx.us> wrote:
On Sat, 23 Jan 2010, Frank Cusack wrote:

I thought with NFS4 *on solaris* that clients would follow the zfs
filesystem hierarchy and mount sub-filesystems.  That doesn't seem
to be happening and I can't find any documentation on it (either way).

Did I only dream up this feature or does it actually exist?  I am
using s10_u8.

The Solaris 10 automounter should handle this for you:

% cat /etc/auto_home
# Home directory map for automounter
#
# +auto_home
*       myserver:/export/home/&

Notice that the referenced path is subordinate to the exported zfs
filesystem.

Well, assuming there is a single home zfs filesystem and not a
filesystem-per-user.  For filesystem-per-user your example simply
mounts the correct shared filesystem.  Even for a single home
filesystem, the above doesn't actually mount /export/home and
then also mount /export/home/USER, so it's not following the
zfs filesystem hierarchy.

So while your example doesn't demonstrate the behavior I'm asking
for, the automounter does indeed work as I want, at least for /net.

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

Reply via email to