Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 4 product line. The current stable release is 4.9. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 458539

Summary: man nfs : wrong information about nfs version used
Product: Red Hat Enterprise Linux 4 Reporter: Antoine Brenner <brenner+bugzilla>
Component: util-linuxAssignee: Karel Zak <kzak>
Status: CLOSED ERRATA QA Contact: BaseOS QE <qe-baseos-auto>
Severity: low Docs Contact:
Priority: low    
Version: 4.7   
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-05-18 19:02:11 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Antoine Brenner 2008-08-09 14:35:08 UTC
Description of problem:

According to the 'man nfs' page, default nfs mount will use nfs V2:
"""
Version 2 is the default protocol version for the nfs file system type when nfsvers= is not specified on the mount command.
"""

This is not true according to my tests. The default is nfs V3 on RHEL 4
( This can be checked with 'cat /proc/mounts |grep v3' after an nfs mount without nfsvers= )

http://www.redhat.com/docs/manuals/enterprise/RHEL-5-manual/Deployment_Guide-en-US/s1-nfs-client-config-options.html says:

If no version is specified, NFS uses the highest supported version by the kernel and mount command.

I think that is what happens as well with RHEL 4



Version-Release number of selected component (if applicable):
util-linux-2.12a-20.el4


How reproducible:
Always


Steps to Reproduce:
1. create an nfs export from a RHEL4 servre
2. mount the nfs from a RHEL4 server
3. Check that NFS version used is 3 not 2 with 
cat /proc/mounts |grep v3
4. This is not what the man page says
  
Actual results:
v3 is used, but man page says v2 will be used instead

Expected results:
"man nfs" should probably says that if no version is specified, NFS uses the highest supported version by the kernel and mount command.


Additional info:

Comment 3 Steve Dickson 2009-03-06 11:15:58 UTC
Fixed in util-linux-2.12a-24.el4 (since that's where the man
page lives)

Comment 9 errata-xmlrpc 2009-05-18 19:02:11 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2009-0981.html