[ovirt-users] LocalOnHost Multipath Blacklist Fails
Duckworth, Douglas C
duckd at tulane.edu
Thu Dec 10 16:57:22 UTC 2015
Putting "blacklist" above "devices" seems to work:
defaults {
polling_interval 5
getuid_callout "/sbin/scsi_id --whitelisted
--replace-whitespace --device=/dev/%n"
no_path_retry fail
user_friendly_names no
flush_on_last_del yes
fast_io_fail_tmo 5
dev_loss_tmo 30
max_fds 4096
}
blacklist {
wwid "*"
devnode "^sd(a|b)[0-9]"
}
devices {
device {
vendor "COMPELNT"
product "Compellent Vol"
no_path_retry fail
}
}
multipathd restart:
Dec 10 16:32:19 tulhv2p01 multipathd: --------shut down-------
Dec 10 16:32:19 tulhv2p01 multipathd: path checkers start up
No more syslog pollution!
Best
Doug
--
Thanks
Douglas Charles Duckworth
Unix Administrator
Tulane University
Technology Services
1555 Poydras Ave
NOLA -- 70112
E: duckd at tulane.edu
O: 504-988-9341
F: 504-988-8505
On 12/10/2015 10:51 AM, Duckworth, Douglas C wrote:
> Hello
>
> I have a Host with LocalOnHost storage only.
>
> Trying to blacklist the local disks from multipath:
>
> PV VG Fmt Attr PSize PFree
> /dev/sda1 HostVG lvm2 a-- 8.18t 0
> /dev/sdb4 HostVG lvm2 a-- 1.64t 24.00m
>
> As you can see we need to blacklist these devices:
>
> 36b8ca3a0ea18e4001a95ba4832bcb7ea
> 36b8ca3a0ea18e4001a95b9f82df5609b
>
> scsi-36b8ca3a0ea18e4001a95b9f82df5609b -> ../../sda
> scsi-36b8ca3a0ea18e4001a95b9f82df5609b-part1 -> ../../sda1
> scsi-36b8ca3a0ea18e4001a95ba4832bcb7ea -> ../../sdb
> scsi-36b8ca3a0ea18e4001a95ba4832bcb7ea-part1 -> ../../sdb1
> scsi-36b8ca3a0ea18e4001a95ba4832bcb7ea-part2 -> ../../sdb2
> scsi-36b8ca3a0ea18e4001a95ba4832bcb7ea-part3 -> ../../sdb3
> scsi-36b8ca3a0ea18e4001a95ba4832bcb7ea-part4 -> ../../sdb4
>
> After making blacklist changes, you can see in "syslog_errors,"
> multipathd does not like my blacklist syntax.
>
> Do you see errors in the multipath.conf file?
>
> Thanks
> Doug
>
More information about the Users
mailing list