From owner-freebsd-fs@freebsd.org Wed Jan 18 16:44:24 2017 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 255ADCB60D9 for ; Wed, 18 Jan 2017 16:44:24 +0000 (UTC) (envelope-from maware@ucsc.edu) Received: from mail-oi0-x231.google.com (mail-oi0-x231.google.com [IPv6:2607:f8b0:4003:c06::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DD66E128C for ; Wed, 18 Jan 2017 16:44:23 +0000 (UTC) (envelope-from maware@ucsc.edu) Received: by mail-oi0-x231.google.com with SMTP id u143so9897356oif.3 for ; Wed, 18 Jan 2017 08:44:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ucsc.edu; s=ucsc-google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=P4sEHea5tmmira0JtsUcNLVsTl1BLLI19i661JnE2Lo=; b=bP3zJmEeuGEroCdc9GHGTPBqaSOtwRE0vOXvFJS0/PFPVS260wqp96qiWl9ZltoLaD AgcLsAq6vcWFgMXqgjwic3CG9avJaoQPSWQUEM4xGE0CynD3T3Ozy5/XdwsCeVN2S1mW 5Sc6VhiKWrpeQwBYte819IbTY8JEkLpnW8UUw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=P4sEHea5tmmira0JtsUcNLVsTl1BLLI19i661JnE2Lo=; b=S/FY5yJ0+V4JroStiid/dXzjYEJI+kmA8bFQuY+p061y4jsQwxrxl5j3B92UqQZyt6 8H78DntHFOWrHr7auJlLTa36DVshBHcf9K98UoC/vcqHIgRY83oXY1Br80U/teYqYRcz DiILkDj6URZMS0Oiu2lVx+HMOjyad1MLoF4uQKMxzeGRIQkV8Kp3vWyOsG9EEnWqZA+z CN75ifmQhWdGAdB9XvjnzvzlefSdVlQhubU22uEUdVBW0iP1PAPCI1aFek0wLprx9auS XVkXngdyBsu7sLx2xfb7LVl5NeaBoWLEgxq3shayId/SNG0nNkJkBDp/fIN1dvtNTxIn 93mA== X-Gm-Message-State: AIkVDXLDnB2sA81n5vyX4v1hEP+6FQZ6kQpFOwt3GarJYPBdYOKU9ZUDXU/NE1cXMRypludugs9OKzaZgbM4IegN X-Received: by 10.202.175.68 with SMTP id y65mr2241321oie.187.1484757863111; Wed, 18 Jan 2017 08:44:23 -0800 (PST) MIME-Version: 1.0 Received: by 10.74.59.136 with HTTP; Wed, 18 Jan 2017 08:44:22 -0800 (PST) In-Reply-To: References: From: Michael Ware Date: Wed, 18 Jan 2017 08:44:22 -0800 Message-ID: Subject: Re: NFS 4.1 exports To: Ronald Klop Cc: Rick Macklem , "freebsd-fs@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jan 2017 16:44:24 -0000 Just to give more info: rc.conf I have nfsv4_server_enable="yes" in /etc/exports V4: / -sec=sys -network 172.20.8.0/24 /export/vmimages -maproot=root -network 172.20.8.0/24 Is there a minor revision option for the v4 export line I'm missing? If so 11 has no documentation on it On Wed, Jan 18, 2017 at 1:35 AM, Ronald Klop wrote: > The original question was not posted by me, so I cc this answer back into > the mailinglist as Rick is quite knowledgeable in the NFS stuff of FreeBSD. > > Ronald. > > On Tue, 17 Jan 2017 23:35:38 +0100, Rick Macklem > wrote: > > The server supports both NFSv4.0 and NFSv4.1 and the exports are the same >> for both. >> `man exports` is confusing, but you need the same lines as you would have >> to export >> the file systems for NFSv3 + a line that defines where the root of the >> NFSv4 directory tree is. >> This additional line does not export any file systems, so you still need >> all the lines for the >> file systems. This additional line starts with ``V4: ...``. >> (FreeBSD9 only supported NFSv4.0, but 10,11,current support 4.1 as well.) >> >> rick >> >> ________________________________________ >> From: owner-freebsd-fs@freebsd.org on >> behalf of Ronald Klop >> Sent: Tuesday, January 17, 2017 2:28:03 PM >> To: Michael Ware; Malte Graebner >> Cc: freebsd-fs@freebsd.org >> Subject: Re: NFS 4.1 exports >> >> >> Hello, >> >> 'man nfsv4' gives some information (on 12-STABLE). I don't know if it is >> 4.0 or 4.1 or what the exact difference is. I don't run it myself >> currently. >> >> Regards, >> Ronald. >> >> >> On Fri, 13 Jan 2017 19:51:51 +0100, Malte Graebner >> wrote: >> >> Hi Micheal, >>> >>> are you looking for this ? >>> >>> https://www.freebsd.org/cgi/man.cgi?query=nfsv4&sektion=4 >>> >>> # man nfsd >>> >>> As described in the man page nfsd is using nfs4 isn't it ? >>> >>> >>> br, >>> >>> malte >>> >>> Am 01/13/17 um 19:42 schrieb Michael Ware: >>> >>>> Hi Malte, >>>> Thanks for the reply. I have seen this previously although I am running >>>> a standard nfs daemon at this point. There doesn't seem to be a way to >>>> set the version of export through. >>>> Mike >>>> >>>> On Fri, Jan 13, 2017 at 10:21 AM, Malte Graebner >>> > wrote: >>>> >>>> Take a look at zfs share / zfs export >>>> >>>> https://docs.oracle.com/cd/E23824_01/html/821-1448/gayne.html >>>> >>>> >>>> br, >>>> malte >>>> >>>> Am 01/13/17 um 18:49 schrieb Michael Ware: >>>> >>>> I just installed freebsd 11 and am looking to set up an NFS >>>> 4.1 server on >>>> it. I have not been able to find any documentation on this. Is >>>> this feature >>>> not available yet? >>>> >>>> Thanks >>>> Mike >>>> >>>> >>>> >>>> >>>> -- Michael Ware >>>> UCSC Baskin Engineering >>>> Unix, Network and Security >>>> 406-210-4725 >>>> >>> >>> _______________________________________________ >>> freebsd-fs@freebsd.org mailing list >>> https://lists.freebsd.org/mailman/listinfo/freebsd-fs >>> To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org" >>> >> _______________________________________________ >> freebsd-fs@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-fs >> To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org" >> > _______________________________________________ > freebsd-fs@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-fs > To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org" > -- Michael Ware UCSC Baskin Engineering Unix, Network and Security 406-210-4725