Bug 320151

Summary: bindings file location is problematic for certain configurations
Product: Red Hat Enterprise Linux 4 Reporter: Josef Bacik <jbacik>
Component: device-mapper-multipathAssignee: Ben Marzinski <bmarzins>
Status: CLOSED ERRATA QA Contact: Corey Marthaler <cmarthal>
Severity: high Docs Contact:
Priority: urgent    
Version: 4.0CC: agk, berthiaume_wayne, bmarzins, christophe.varoqui, dwysocha, egoggin, james.brown, junichi.nomura, kueda, lmb, mbroz, prockai, rkenna, tranlan, viggiani
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: RHEA-2007-0808 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-11-15 16:16:33 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: 357331    
Attachments:
Description Flags
patch that resolves the problem none

Description Josef Bacik 2007-10-05 13:57:58 UTC
Some customers are using the /var/lib/multipath/bindings file to make sure 
they have consistent device naming across a cluster.  Their cluster nodes 
however are setup with /var on a separate partition.  The way our init scripts 
work, /var isn't mounted until after the multipathing setup has occurred, so 
the bindings file is never read.  You can only specify a different bindings 
file location via the command line, which in this case would require that the 
customer hand edit the rc.sysinit script in order to change the location of 
the bindings file.  This is not an acceptable solution.  This patch allows 
these customers to specify their own bindings file location in the defaults{} 
section of the multipath.conf.

Comment 1 Josef Bacik 2007-10-05 13:57:58 UTC
Created attachment 217361 [details]
patch that resolves the problem

Comment 5 Joshua Jensen 2007-10-10 18:42:06 UTC
All customers using multipath use /var/lib/multipath/bindings :-)

multipath uses this file, as you know, for multipath cache... which doesn't take
on reboot on many many servers because /var isn't yet mounted.

Thats the problem.  rc.sysinit could call multipath with the "-b" option to
specify a different location for the bindings file, but doen't.

Comment 7 Josef Bacik 2007-10-11 17:56:04 UTC
changing summary as this isnt really an RFE

Comment 8 Ben Marzinski 2007-10-11 21:45:22 UTC
Patch applied.  I will move the bindings file to /etc for RHEL6.

Comment 15 Ben Marzinski 2007-10-26 22:35:48 UTC
*** Bug 324971 has been marked as a duplicate of this bug. ***

Comment 17 errata-xmlrpc 2007-11-15 16:16:33 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/RHEA-2007-0808.html