From owner-freebsd-fs@freebsd.org Sat Aug 1 20:49:58 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 769C29B196C for ; Sat, 1 Aug 2015 20:49:58 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from esa-jnhn.mail.uoguelph.ca (esa-jnhn.mail.uoguelph.ca [131.104.91.44]) by mx1.freebsd.org (Postfix) with ESMTP id 1BBBA102; Sat, 1 Aug 2015 20:49:57 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A2B8BQAUML1V/61jaINbGQEBAYQ7BoMduTCHfQKBXBIBAQEBAQEBgQqEJAEBBCNWEAIBCBgCAg0WAwICRhECF4gusSKVUQEBAQEGAQEBAQEdgSKKLYQ9FzQHF4JSgUMFlHmmEgImgj+BWiIxgUiBBAEBAQ X-IronPort-AV: E=Sophos;i="5.15,592,1432612800"; d="scan'208";a="228651601" Received: from nipigon.cs.uoguelph.ca (HELO zcs1.mail.uoguelph.ca) ([131.104.99.173]) by esa-jnhn.mail.uoguelph.ca with ESMTP; 01 Aug 2015 16:49:56 -0400 Received: from localhost (localhost [127.0.0.1]) by zcs1.mail.uoguelph.ca (Postfix) with ESMTP id 81C8515F542; Sat, 1 Aug 2015 16:49:56 -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 4GWp3DsvAPgK; Sat, 1 Aug 2015 16:49:56 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by zcs1.mail.uoguelph.ca (Postfix) with ESMTP id 2AEF915F55D; Sat, 1 Aug 2015 16:49:56 -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 Ai8APUDe7ue5; Sat, 1 Aug 2015 16:49:56 -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 1015D15F542; Sat, 1 Aug 2015 16:49:56 -0400 (EDT) Date: Sat, 1 Aug 2015 16:49:56 -0400 (EDT) From: Rick Macklem To: lev@FreeBSD.org Cc: FreeBSD FS Message-ID: <2088541681.7479791.1438462196036.JavaMail.zimbra@uoguelph.ca> In-Reply-To: <704572885.20150801210620@serebryakov.spb.ru> References: <795246861.20150801140429@serebryakov.spb.ru> <1363497421.7238055.1438428070047.JavaMail.zimbra@uoguelph.ca> <1593307781.20150801143052@serebryakov.spb.ru> <2119966434.7262831.1438431792809.JavaMail.zimbra@uoguelph.ca> <704572885.20150801210620@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.10] 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: tr03g5rF5YCV96wZ9gep96QK4sDSLg== 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 20:49:58 -0000 Lev wrote: > Hello Rick, > > Saturday, August 1, 2015, 3:23:12 PM, you wrote: > > > 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. > And how to disable NFSv3 on server in such case? > sysctl vfs.nfsd.server_min_nfsvers=4 set before the nfsd daemon is started. The FreeBSD client will require an explicit "vers=4" option (or "nfsv4" option) on the mount. I don't know what Linux does by default. "nfsstat -m" on the client tells you what it is actually using. rick > -- > Best regards, > Lev mailto:lev@FreeBSD.org > >