Bug 460284 - Feature request: Make DM Multipath Blacklists / Whitelists behave like iptables or postfix
Summary: Feature request: Make DM Multipath Blacklists / Whitelists behave like iptabl...
Alias: None
Product: Fedora
Classification: Fedora
Component: device-mapper-multipath
Version: rawhide
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Ben Marzinski
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2008-08-27 11:45 UTC by Arno
Modified: 2019-08-29 16:26 UTC (History)
14 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Last Closed: 2019-08-29 16:26:14 UTC
Type: ---

Attachments (Terms of Use)

Description Arno 2008-08-27 11:45:23 UTC
Hello DM multipath developers,

I've been messing quite a while today with getting my blacklisting for a system right. The current solution works; blacklisting all internal disks by wwid, but I still think its sub-optimal.

Wouldn't it be easier to make the blacklist and whitelist behave just like IPtables or PostFix ? That is as soon as the first decision is made its done. I think it would also be easier to code as it would be a list of regular expressions which need to be matched and the first one triggering wins.

With that solution the config for most setups would be something like:

whitelist {
       device {
               vendor  "My SAN vendor"
               product "My SAN product"

blacklist {
        devnode "*"

This would make configuration alot easier than it is right now when I have to blacklist all the 'non multipath' devices.

Kind regards,


Comment 2 Ben Marzinski 2010-05-04 17:13:55 UTC
This non-optimal setup still exists, and proposals for a better whitelist/blacklist have been discussed on dm-devel, but no work has been done on it yet.

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