Message ID | 1426509425-15978-25-git-send-email-hare@suse.de (mailing list archive) |
---|---|
State | Not Applicable, archived |
Delegated to: | christophe varoqui |
Headers | show |
diff --git a/multipath/multipath.rules b/multipath/multipath.rules index 5bc5068..56056bf 100644 --- a/multipath/multipath.rules +++ b/multipath/multipath.rules @@ -4,7 +4,7 @@ SUBSYSTEM!="block", GOTO="end_mpath" ENV{MPATH_SBIN_PATH}="/sbin" TEST!="$env{MPATH_SBIN_PATH}/multipath", ENV{MPATH_SBIN_PATH}="/usr/sbin" -SUBSYSTEM=="block", ACTION=="add|change", KERNEL!="dm-*", \ +SUBSYSTEM=="block", ACTION=="add|change", KERNEL=="sd*[!0-9]|dasd*[!0-9]", \ ENV{DM_MULTIPATH_DEVICE_PATH}!="1", \ PROGRAM=="$env{MPATH_SBIN_PATH}/multipath -u %k", \ ENV{DM_MULTIPATH_DEVICE_PATH}="1" \
Currently multipath runs only on SCSI and DASD devices (and cciss, but they are no longer supported). So we can as well whitelist them and avoid the curious warning about 'multipath -u /dev/loop failed'. Signed-off-by: Hannes Reinecke <hare@suse.de> --- multipath/multipath.rules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)