From owner-freebsd-questions@FreeBSD.ORG Mon Oct 25 19:15:42 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4F687106564A for ; Mon, 25 Oct 2010 19:15:42 +0000 (UTC) (envelope-from gull@gull.us) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id E26858FC0A for ; Mon, 25 Oct 2010 19:15:41 +0000 (UTC) Received: by eyb7 with SMTP id 7so1726791eyb.13 for ; Mon, 25 Oct 2010 12:15:40 -0700 (PDT) MIME-Version: 1.0 Received: by 10.216.157.13 with SMTP id n13mr6612510wek.35.1288034140617; Mon, 25 Oct 2010 12:15:40 -0700 (PDT) Received: by 10.216.235.129 with HTTP; Mon, 25 Oct 2010 12:15:40 -0700 (PDT) X-Originating-IP: [69.91.158.74] In-Reply-To: <1288018699.4404.5.camel@pc286.embl.fr> References: <1288018699.4404.5.camel@pc286.embl.fr> Date: Mon, 25 Oct 2010 12:15:40 -0700 Message-ID: From: David Brodbeck To: =?ISO-8859-1?Q?Micka=EBl_Can=E9vet?= Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: ZFS and NFS, can't see subvolumes. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Oct 2010 19:15:42 -0000 On Mon, Oct 25, 2010 at 7:58 AM, Micka=EBl Can=E9vet 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.