Bug 458539 - man nfs : wrong information about nfs version used
Summary: man nfs : wrong information about nfs version used
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: util-linux
Version: 4.7
Hardware: All
OS: Linux
low
low
Target Milestone: rc
: ---
Assignee: Karel Zak
QA Contact: BaseOS QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-08-09 14:35 UTC by Antoine Brenner
Modified: 2009-05-18 19:02 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-05-18 19:02:11 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2009:0981 0 normal SHIPPED_LIVE Low: util-linux security and bug fix update 2009-05-18 13:45:19 UTC

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


Note You need to log in before you can comment on or make changes to this bug.