On May 21, 2008, at 1:43 PM, Will Murnane wrote:

> I'm looking at implementing home directories on ZFS.  This will be
> about 400 users, each with a quota.  The ZFS way of doing this AIUI is
> create one filesystem per user, assign them a quota and/or
> reservation, and set sharenfs=on.  So I tried it:
> # zfs create local-space/test
> # zfs set sharenfs=on local-space/test
> # zfs create local-space/test/foo
> # zfs create local-space/test/foo/bar
> # share
> -               /export/local-space/test   rw   ""
> -               /export/local-space/test/foo   rw   ""
> -               /export/local-space/test/foo/bar   rw   ""
> All good so far.  Now, I understand that with nfs in general, the
> child filesystems will not be mounted, and I do see this behavior on
> Linux.  If I specify nfs4, the children are mounted as I expected:
> # mount -t nfs4 server:/export/local-space/test /mnt/
> # cd /mnt/
> # ls
> foo
> # ls foo
> bar
> Okay, all is well.  Try the same thing on a Solaris client, though,
> and it doesn't work:
> # mount -o vers=4 ds3:/export/local-space/test /mnt/
> # cd mnt
> # ls
> foo
> # ls foo
> <nothing>

This behavior was a recent addition to the Solaris client and therefore
are seeing this lack of functionality.  Any recent Solaris Express or
OpenSolaris install will have the functionality you desire.

Spencer

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

Reply via email to