From owner-freebsd-fs@freebsd.org Sat Aug 1 12:23:20 2015 Return-Path: Delivered-To: freebsd-fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 884EF9AE83C for ; Sat, 1 Aug 2015 12:23:20 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from esa-annu.net.uoguelph.ca (esa-annu.mail.uoguelph.ca [131.104.91.36]) by mx1.freebsd.org (Postfix) with ESMTP id 30F641A34; Sat, 1 Aug 2015 12:23:19 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A2DWBAB4trxV/61jaINbGQEBAYQ7BoMdwScCgV0RAQEBAQEBAYEKhCQBAQQjVhACAQgYAgINFgMCAkYRAheILrJflXQBAQEBBgEBAQEBHYEiii2EPRc0BxeCUoFDBZR5phICJoI/gVoiMYFIgQQBAQE X-IronPort-AV: E=Sophos;i="5.15,591,1432612800"; d="scan'208";a="230243159" Received: from nipigon.cs.uoguelph.ca (HELO zcs1.mail.uoguelph.ca) ([131.104.99.173]) by esa-annu.net.uoguelph.ca with ESMTP; 01 Aug 2015 08:23:14 -0400 Received: from localhost (localhost [127.0.0.1]) by zcs1.mail.uoguelph.ca (Postfix) with ESMTP id 5312C15F542; Sat, 1 Aug 2015 08:23:13 -0400 (EDT) Received: from zcs1.mail.uoguelph.ca ([127.0.0.1]) by localhost (zcs1.mail.uoguelph.ca [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id nqBiyWMDdMFW; Sat, 1 Aug 2015 08:23:13 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by zcs1.mail.uoguelph.ca (Postfix) with ESMTP id E6F3B15F55D; Sat, 1 Aug 2015 08:23:12 -0400 (EDT) X-Virus-Scanned: amavisd-new at zcs1.mail.uoguelph.ca Received: from zcs1.mail.uoguelph.ca ([127.0.0.1]) by localhost (zcs1.mail.uoguelph.ca [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id BBhcyWIaRSUq; Sat, 1 Aug 2015 08:23:12 -0400 (EDT) Received: from zcs1.mail.uoguelph.ca (zcs1.mail.uoguelph.ca [172.17.95.18]) by zcs1.mail.uoguelph.ca (Postfix) with ESMTP id CBCC915F542; Sat, 1 Aug 2015 08:23:12 -0400 (EDT) Date: Sat, 1 Aug 2015 08:23:12 -0400 (EDT) From: Rick Macklem To: lev@FreeBSD.org Cc: FreeBSD FS Message-ID: <2119966434.7262831.1438431792809.JavaMail.zimbra@uoguelph.ca> In-Reply-To: <1593307781.20150801143052@serebryakov.spb.ru> References: <795246861.20150801140429@serebryakov.spb.ru> <1363497421.7238055.1438428070047.JavaMail.zimbra@uoguelph.ca> <1593307781.20150801143052@serebryakov.spb.ru> Subject: Re: NFS & ZFS: how to export whole FS hierarhy to mount it with one command on client? MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [172.17.95.11] X-Mailer: Zimbra 8.0.9_GA_6191 (ZimbraWebClient - FF34 (Win)/8.0.9_GA_6191) Thread-Topic: NFS & ZFS: how to export whole FS hierarhy to mount it with one command on client? Thread-Index: 3Sgkcebswv6R1Muz/sQX/Wo3ZGYvhA== X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Aug 2015 12:23:20 -0000 Lev wrote: > Hello Rick, > > Saturday, August 1, 2015, 2:21:10 PM, you wrote: > > > To mount multiple file systems as one mount, you'll need to use NFSv4. I > > believe > > you will have to have a separate export entry in the server for each of the > > file > > systems. > So, /etc/exports needs to have BOTH v3-style exports & V4: root of tree > line? > Yes, if you are doing it in /etc/exports. (The V4: line does not export any file systems.) I know nothing about ZFS or the sharenfs property it has, so others will have to clime in on that. rick > -- > Best regards, > Lev mailto:lev@FreeBSD.org > >