On Sat, 12 Sep 2009, Thomas Burgess wrote:

This is because with ZFS the directories aren't REALLY there.
You need to either use NFSv4 or you need to export each ZFS filesystem
independently

It should be sufficient to use an appropriate automount rule on the client so that the "subordinate" filesystem gets mounted. That is what I do here. The problem is usually the mount from the client rather than the NFS export from the server.

For example, under OS X Leopard this is what I do to access home directories exported under "freddy:/home":

% cat /etc/auto_home
#
# Automounter map for /home
#
#+auto_home     # Use directory service
*       freddy:/home/&

And for FreeBSD I use this gobbly-gook:

% cat /etc/home.map
* type:=nfs;rhost:=freddy;rfs:=/home/${key};fs:=${autodir}/${rhost}${rfs};opts:=rw,grpid,resvport,vers=3,proto=tcp,nosuid,nodev

Bob
--
Bob Friesenhahn
bfrie...@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to