Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Oct 2010 12:15:40 -0700
From:      David Brodbeck <gull@gull.us>
To:        =?ISO-8859-1?Q?Micka=EBl_Can=E9vet?= <canevet@embl.fr>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: ZFS and NFS, can't see subvolumes.
Message-ID:  <AANLkTimV-CL8DDnxtzER=1RGjgNFs9PCM=-9E1a_dUL_@mail.gmail.com>
In-Reply-To: <1288018699.4404.5.camel@pc286.embl.fr>
References:  <1288018699.4404.5.camel@pc286.embl.fr>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Oct 25, 2010 at 7:58 AM, Micka=EBl Can=E9vet <canevet@embl.fr> wrot=
e:
> 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=3Don data) and showmount shows all my
> exports:
>
> /data =A0 Everyone
> /data/user =A0 =A0 =A0Everyone
> /data/user/foo =A0Everyone
> /data/user/bar =A0Everyone
> /data/group =A0 =A0 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTimV-CL8DDnxtzER=1RGjgNFs9PCM=-9E1a_dUL_>