RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 804218 - Cannot unmount NFS share if Mount version 2 is disabled.
Summary: Cannot unmount NFS share if Mount version 2 is disabled.
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: nfs-utils
Version: 6.2
Hardware: All
OS: Linux
low
medium
Target Milestone: rc
: ---
Assignee: Steve Dickson
QA Contact: Red Hat Kernel QE team
URL:
Whiteboard:
Depends On: 595675
Blocks: 804681
TreeView+ depends on / blocked
 
Reported: 2012-03-16 21:27 UTC by Orion Poplawski
Modified: 2012-03-19 15:12 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 595675
: 804681 (view as bug list)
Environment:
Last Closed: 2012-03-19 15:12:03 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Orion Poplawski 2012-03-16 21:27:40 UTC
Hopefully cloning this is useful.  On EL6 you cannot disable just version 1, but you can disable version 2 (which also disables version 1).  If you do, you get the same problem as before with EL5 and version 1.

+++ This bug was initially created as a clone of Bug #595675 +++

Reproducer:

On server:
edit /etc/sysconfig/nfs and set  MOUNTD_NFS_V2=no
restart nfs

On client: 
Mount a share from the server. This should be successful.
Now try to unmount it. This fails with an error.

# umount /mnt
umount.nfs: vm22:/exports: not found / mounted or server not reachable
umount.nfs: vm22:/exports: not found / mounted or server not reachable


The cause appears to be the fact that the client when mounting uses MOUNT version 3 protocol. However when unmounting, it appears to use version 1 of the MOUNT protocol. Since version 1 is disabled, the client cannot unmount.

--- Additional comment from steved on 2011-01-21 13:47:14 EST ---

Created attachment 474657 [details]
The patch that fixes the problem

--- Additional comment from errata-xmlrpc on 2011-07-21 07:35:22 EDT ---

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/RHBA-2011-1048.html

Comment 2 Orion Poplawski 2012-03-16 21:34:02 UTC
Oops, maybe this is just still an issue with EL5 clients and version 2 being disabled on the server.  Just tested with EL6 client and was able to unmount.

Comment 3 Orion Poplawski 2012-03-16 21:44:03 UTC
nfs-utils-1.0.9-60.el5

Comment 4 Steve Dickson 2012-03-19 12:01:09 UTC
(In reply to comment #2)
> Oops, maybe this is just still an issue with EL5 clients and version 2 being
> disabled on the server.  Just tested with EL6 client and was able to unmount.
A bit confused... Can close this bz or is there still a problem with RHEL6 (or even RHEL5)?

Comment 5 Orion Poplawski 2012-03-19 14:47:09 UTC
Sorry about that.  There does not appear to be a problem with RHEL6, but there is with RHEL5 client - can't unmount if the server has disabled version 2.  So this either needs to get reassign back to RHEL5 or closed if we can't do that.

Comment 6 Steve Dickson 2012-03-19 15:12:03 UTC
I just opened this clone:
   https://bugzilla.redhat.com/show_bug.cgi?id=804681


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