NFS 4.1 exports

Michael Ware maware at ucsc.edu
Wed Jan 18 16:44:24 UTC 2017


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 <ronald-lists at klop.ws> 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 <rmacklem at uoguelph.ca>
> 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 at freebsd.org <owner-freebsd-fs at freebsd.org> on
>> behalf of Ronald Klop <ronald-lists at klop.ws>
>> Sent: Tuesday, January 17, 2017 2:28:03 PM
>> To: Michael Ware; Malte Graebner
>> Cc: freebsd-fs at 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 <mg at maltedoc.de>
>> 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 <mg at maltedoc.de
>>>> <mailto:mg at maltedoc.de>> wrote:
>>>>
>>>>     Take a look at zfs share / zfs export
>>>>
>>>>     https://docs.oracle.com/cd/E23824_01/html/821-1448/gayne.html
>>>>     <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 at freebsd.org mailing list
>>> https://lists.freebsd.org/mailman/listinfo/freebsd-fs
>>> To unsubscribe, send any mail to "freebsd-fs-unsubscribe at freebsd.org"
>>>
>> _______________________________________________
>> freebsd-fs at freebsd.org mailing list
>> https://lists.freebsd.org/mailman/listinfo/freebsd-fs
>> To unsubscribe, send any mail to "freebsd-fs-unsubscribe at freebsd.org"
>>
> _______________________________________________
> freebsd-fs at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-fs
> To unsubscribe, send any mail to "freebsd-fs-unsubscribe at freebsd.org"
>



-- 
Michael Ware
UCSC Baskin Engineering
Unix, Network and Security
406-210-4725


More information about the freebsd-fs mailing list