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 155430

Summary: RHEL4: mount is unable to mount by label with multiple active paths to a device
Product: Red Hat Enterprise Linux 4 Reporter: Karel Zak <kzak>
Component: util-linuxAssignee: Karel Zak <kzak>
Status: CLOSED ERRATA QA Contact: Ben Levenson <benl>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.0CC: deshmukh.rakesh20, ogren_chris, tao
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: RHBA-2005-669 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-10-05 16:52:44 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:
Bug Depends On:    
Bug Blocks: 156322    

Description Karel Zak 2005-04-20 09:50:28 UTC
+++ This bug was initially created as a clone of Bug #116300 +++

Description of problem:
The new version of the mount command (mount-2.11y-31.1) 
checks /proc/partitions for duplicate listings of devices containing 
the same label. If multiple labels do exist, the mount will fail. 

from mount_one() in mount.c
nspec = get_spec_by_volume_label(spec+6);
if (nspec)
nspec2 = second_occurrence_of_vol_label(spec+6);
if (nspec2) {
if (verbose)
printf(_("mount: the label %s occurs on "
"both %s and %s\n"),
spec+6, nspec, nspec2);
die (EX_FAIL,
_("mount: %s duplicate - not mounted"),
spec, _PATH_FSTAB);
}

With PowerPath, there are multiple active paths to the same LUN.  
Since there are multiple active paths, the new version of mount does 
not allow the devices to be mounted by label.  
Request to modify this to allow for mounting of PowerPath devices by 
label.

Comment 8 Karel Zak 2005-09-12 15:13:35 UTC
*** Bug 168100 has been marked as a duplicate of this bug. ***

Comment 11 Red Hat Bugzilla 2005-10-05 16:52:44 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 the 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-2005-669.html


Comment 13 Mark Bradbury 2005-11-17 11:10:18 UTC
This also happens in AS 3 is there going to be a ERRATA released for AS 3 aswell ?

Comment 14 Karel Zak 2005-11-18 10:24:29 UTC
Yes. Fixed also in RHEL3-U6. See bug #116300 and Errata 2005:626.