ZFS and NFS, can't see subvolumes.

Mickaël Canévet canevet at embl.fr
Tue Oct 26 07:44:04 UTC 2010


On Mon, 2010-10-25 at 12:15 -0700, David Brodbeck wrote:
> On Mon, Oct 25, 2010 at 7:58 AM, Mickaël Canévet <canevet at embl.fr> wrote:
> > Hi, I have a problem whith ZFS + NFS export.
> >
> > I have a zpool 'data' that contains subvolumes 'user' and 'group' that
> > also contains subvolumes.
> >
> > I share data (zfs set sharenfs=on data) and showmount shows all my
> > exports:
> >
> > /data   Everyone
> > /data/user      Everyone
> > /data/user/foo  Everyone
> > /data/user/bar  Everyone
> > /data/group     Everyone
> > /data/group/foo Everyone
> > /data/group/bar Everyone
> >
> > When I mount /data on my client, I see folders user and group, but not
> > user/foo, user/bar, group/foo, group/bar.
> >
> > Is there another way to see subvolumes on NFS client other then mounting
> > every volume ?
> 
> What NFS version are you using?  This works with NFSv4, assuming the
> client supports mirror mounts.  it will not work with NFSv3 or v2,
> unless you manually mount each subvolume or set up some kind of
> automounter.
> 

I am using NFSv3. Indeed, it is working with NFSv4, but I have some
stability issues in this configuration and I saw on the mailing list
that it is not mature yet, at least in 8.1-RELEASE.

I will try with an automounter. Thanks for the trick.

Cheers,
Mickaël
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20101026/0eff5bc6/attachment.pgp


More information about the freebsd-questions mailing list