Re: can you (theoretically) run only NFSv4 (without earlier versions)?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 12/24/13 07:16, Robert P. J. Day wrote:
> Quoting Tom H <tomh0665@xxxxxxxxx>:
>
>> On Fri, Dec 20, 2013 at 2:34 PM, Robert P. J. Day <rpjday@xxxxxxxxxxxxxx> wrote:
>>>
>>> a long, long time ago, i reported an apparent glitch with NFS on
>>> fedora:
>>>
>>> https://lists.fedoraproject.org/pipermail/users/2010-January/097465.html
>>>
>>> in that, at the time, it *appeared* that you couldn't set up
>>> NFS so that *only* version 4 was running. before i start messing
>>> with this again, anyone know whether that's changed? that is,
>>> is it possible to set up a network in which only NFSv4 is running,
>>> and no earlier versions are supported? thanks.
>>
>> It's been possible to run nfsv4-only nfs for a long time, with only
>> port 2049 being let through the firewall. It only appears that you
>> can't because because rpc.mountd has to run on the server but it's
>> only involved in the exporting and not the mounting.
>
>   how does one configure fedora 20 to support only NFSv4? i'm used to
> mucking with /etc/sysconfig/nfs in earlier versions of RH, and tweaking
> the variables MOUNTD_NFS_V* and RPCNFSDARGS. i don't see those vars
> in fedora 20 and, according to "rpcinfo -p", i'm currently supporting
> NFS versions both 3 and 4. so how does one turn off NFSv3? thanks.
>
>

In /etc/sysconfig/nfs

# Optional arguments passed to rpc.nfsd. See rpc.nfsd(8)
RPCNFSDARGS=""

man 8 rpc.nfsd

      -N  or  --no-nfs-version vers
              This option can be used to request that rpc.nfsd does  not  offer
              certain versions of NFS. The current version of rpc.nfsd can sup‐
              port NFS versions 2,3,4 and the newer version 4.1.

Would seem to be what you are searching.


-- 
Getting tired of non-Fedora discussions and self-serving posts
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux