[dm-devel] How to filter local disks that should not be managed by multipathd?
Xose Vazquez Perez
xose.vazquez at gmail.com
Wed Jul 20 14:06:46 UTC 2016
On 07/18/2016 01:59 PM, Xieyingtai wrote:
> Hi,
>
> Recently I encountered a problem, In certain scenarios that a new local disk was hot plugged, I have no way
>
> to obtain the wwn of the disk in advance, so I can not filter that disk by adding it to blacklists. Actually there
>
> is no need for multipathd to take over local disks in the hot-plugged sceno. And find_multipaths param seems not to be
>
> a perfect way to solve this problem. Is there any way to provide a param in /etc/multipath.conf for mulitpathd to manage
>
> only ISCSI or FC bus disks? In that configuration, path_discovery() will only scan devices which were underline ISCSI bus
>
> or FC bus in sysfs.
Add a rule in the "blacklist section" to exclude ALL,
and then fill the "blacklist_exceptions section" with
the desired devices.
More information about the dm-devel
mailing list