From owner-freebsd-questions@FreeBSD.ORG Tue Oct 26 07:44:04 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 018B5106566C for ; Tue, 26 Oct 2010 07:44:04 +0000 (UTC) (envelope-from canevet@embl.fr) Received: from emblmta1.embl.fr (emblmta1.embl.fr [193.49.43.176]) by mx1.freebsd.org (Postfix) with ESMTP id 87AD28FC0C for ; Tue, 26 Oct 2010 07:44:03 +0000 (UTC) X-IronPort-AV: E=Sophos;i="4.58,240,1286143200"; d="asc'?scan'208";a="524869" Received: from unknown (HELO [172.26.15.11]) ([172.26.15.11]) by emblmta1.embl.fr with ESMTP/TLS/DHE-RSA-CAMELLIA256-SHA; 26 Oct 2010 09:44:00 +0200 From: =?ISO-8859-1?Q?Micka=EBl_Can=E9vet?= To: David Brodbeck In-Reply-To: References: <1288018699.4404.5.camel@pc286.embl.fr> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-pJT5JjKlZ1G2z1lbuay1" Date: Tue, 26 Oct 2010 09:44:00 +0200 Message-ID: <1288079040.2862.4.camel@pc286.embl.fr> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 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: Tue, 26 Oct 2010 07:44:04 -0000 --=-pJT5JjKlZ1G2z1lbuay1 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, 2010-10-25 at 12:15 -0700, David Brodbeck wrote: > On Mon, Oct 25, 2010 at 7:58 AM, Micka=C3=ABl Can=C3=A9vet 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=3Don 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 mountin= g > > every volume ? >=20 > 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. >=20 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=C3=ABl --=-pJT5JjKlZ1G2z1lbuay1 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEABECAAYFAkzGhsAACgkQZjBmN5Hi/YZI4ACePycqD+wsgk/3Aa8Y4IC6Fkyy 7E8AoJsAlOQ2ZbAhqN40pDsxd0ZvwpyC =7531 -----END PGP SIGNATURE----- --=-pJT5JjKlZ1G2z1lbuay1--