ZFS and NFS, can't see subvolumes.
David Brodbeck
gull at gull.us
Mon Oct 25 19:15:42 UTC 2010
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.
More information about the freebsd-questions
mailing list