From owner-freebsd-questions@FreeBSD.ORG Mon Jan 27 13:46:26 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 65736220 for ; Mon, 27 Jan 2014 13:46:26 +0000 (UTC) Received: from relaygateway02.edpnet.net (relaygateway02.edpnet.net [212.71.1.211]) by mx1.freebsd.org (Postfix) with ESMTP id 0532E19AB for ; Mon, 27 Jan 2014 13:46:25 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ao8GAPZh5lLV04zG/2dsb2JhbABZgww4g1O5CU+BDBd0giUBAQEEAQEBICsIGBsLGAICBQwHDgICDwUTAQkILAcEARwEh2gJq0WXXIR/F4EpjRMBAVYKDIJZgUkElVSCUgGBMpBsgy47MYEE X-IPAS-Result: Ao8GAPZh5lLV04zG/2dsb2JhbABZgww4g1O5CU+BDBd0giUBAQEEAQEBICsIGBsLGAICBQwHDgICDwUTAQkILAcEARwEh2gJq0WXXIR/F4EpjRMBAVYKDIJZgUkElVSCUgGBMpBsgy47MYEE X-IronPort-AV: E=Sophos;i="4.95,729,1384297200"; d="scan'208";a="224791868" Received: from 213.211.140.198.dyn.edpnet.net (HELO mordor.lan) ([213.211.140.198]) by relaygateway02.edpnet.net with ESMTP/TLS/DHE-RSA-AES256-SHA; 27 Jan 2014 14:26:06 +0100 Date: Mon, 27 Jan 2014 14:45:14 +0100 From: Julien Cigar To: freebsd-questions@freebsd.org Subject: Re: stupid question about NFSV4 Message-ID: <20140127134514.GJ2136@mordor.lan> References: <20140127130059.GG2136@mordor.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20140127130059.GG2136@mordor.lan> User-Agent: Mutt/1.5.22 (2013-10-16) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Jan 2014 13:46:26 -0000 OK it seems to work with: vfs.nfsd.server_min_nfsvers=4 vfs.nfsd.server_max_nfsvers=4 and: V4: /exports -sec=sys -network 192.168.0.0/24 /exports/home -maproot=root: -network=192.168.0.0/24 I hope it's the way to go.. :) On Mon, Jan 27, 2014 at 02:00:59PM +0100, Julien Cigar wrote: > Hello, > > We're busy to upgrade some machines from 8.2-RELEASE to 10-RELEASE. > I take this opportunity to migrate from NFSV3 to NFSV4. > > Let's say I would like to allow NFSV4 _only_, in /etc/exports: > - is a single V4: line enough ? > - can I have multiple V4: lines ? > - are lines that don't begin with V4: also taken into account for NFSV4? > > For the moment I have the following: https://dpaste.de/gLeZ but it > doesn't seems to work with that single V4: line ... (the mount works, > but ls returns nothing) > > So basically I would like to export /usr/home with a V4: /exports and > /usr/home nullfs mounted under /exports/home > > Any idea ? :) > > Thanks, > Julien > > -- > No trees were killed in the creation of this message. > However, many electrons were terribly inconvenienced. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- No trees were killed in the creation of this message. However, many electrons were terribly inconvenienced.