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

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

 



Quoting Ed Greshko <Ed.Greshko@xxxxxxxxxxx>:

On 12/24/13 21:24, Robert P. J. Day wrote:
  just to explain where this all came from, i was working off of what
i was seeing on a RHEL (actually CentOS) 6.5 system, where the config
file /etc/sysconfig/nfs had helpful comments which allowed me to
tweak that file thusly:

# Define which protocol versions mountd
# will advertise. The values are "no" or "yes"
# with yes being the default
MOUNTD_NFS_V2="no"
MOUNTD_NFS_V3="no"
... snip ...
# Optional arguments passed to rpc.nfsd. See rpc.nfsd(8)
# Turn off v2 and v3 protocol support
RPCNFSDARGS="-N 2 -N 3"

  if i make the above changes and restart NFS (on the RHEL system),
the *only* NFS-related entries i see in the output of "rpcinfo -p" are:

    100003    4   tcp   2049  nfs
    100003    4   udp   2049  nfs

and that's *it*, nothing more, which is what i expected.

  sadly, i don't have access to my fedora 20 box at the moment,
but all i was doing was trying to produce the same result --
only those two lines in the output of "rpcinfo -p". i can see
that the *effect* of the earlier suggestions is the same, in
that only NFSv4 is supported, but there is still that crud in
the output of "rpcinfo -p" that seems irrelevant.

  oh, and on the RHEL 6.5 system, the contents of the file
/proc/fs/nfsd/versions correctly contains:

-2 -3 +4 -4.1

OK.....

In any event, I think the original question has been answered. Yes, you can configure nfs on Fedora to allow only NFSv4. Agreed?

  yup, agreed.

rday



--
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