Bug 167442 - devnode_blacklist regex for IDE drives is wrong in supplied multipath.conf
Summary: devnode_blacklist regex for IDE drives is wrong in supplied multipath.conf
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: device-mapper-multipath
Version: 4.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: Ben Marzinski
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-09-02 17:40 UTC by Stoo Davies
Modified: 2010-01-12 02:21 UTC (History)
3 users (show)

Fixed In Version: U3
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-03-08 15:46:03 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Stoo Davies 2005-09-02 17:40:38 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.9) Gecko/20050715 Firefox/1.0.5

Description of problem:
If you're running a server that doesn't have any IDE drives multipath[d] will fail to startup because the regex intended to blacklist those drives is wrong.
 
The errors messages given will be...
 
[root@dl380-02 ~]# multipath -v 3
fd0 blacklisted
path hda not found in pathvec
 
===== path hda =====
bus = 2
dev_t = 3:0
size = 8388604
failed to open /dev/hda
 
 
 
The regex in the supplied config file is....
        devnode "^hd[a-z][[0-9]*]"
I've changed it to
        devnode "^hd[a-z][0-9]*"
which works in our environment.

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
On a server with no IDE drives, run multipath -v 3

I was using a HP DL380

Additional info:

Comment 1 Ben Marzinski 2005-10-11 03:52:16 UTC
I changed the multipath.conf blacklist values to match the compiled in values
for the multipath-tools. These are

"^(ram|raw|loop|fd|md|dm-|sr|scd|st)[0-9]*"
"^hd[a-z]"
"^cciss!c[0-9]d[0-9]*"

If you could verify that your problem is fixed with these values, that would be
very helpful.

Comment 2 Stoo Davies 2005-10-11 17:14:43 UTC
Yup that works fine.  Thanks



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