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 -- Thanks Douglas Charles Duckworth Unix Administrator Tulane University Technology Services 1555 Poydras Ave NOLA -- 70112 E: du...@tulane.edu O: 504-988-9341 F: 504-988-8505
# RHEV REVISION 1.1 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 } devices { device { vendor "HITACHI" product "DF.*" getuid_callout "/sbin/scsi_id --whitelisted --replace-whitespace --device=/dev/%n" } device { vendor "COMPELNT" product "Compellent Vol" no_path_retry fail } blacklist { devnode "^(ram|raw|loop|fd|md|dm-|sr|scd|st)[0-9]" devnode "^hd[a-z][[0-9]]" devnode "^cciss!c[0-9]d[0-9]" devnode "^sda[0-9]" devnode "^sdb[0-9]" } device { # multipath.conf.default vendor "DGC" product ".*" product_blacklist "LUNZ" path_grouping_policy "group_by_prio" path_checker "emc_clariion" hardware_handler "1 emc" prio "emc" failback immediate rr_weight "uniform" # vdsm required configuration getuid_callout "/sbin/scsi_id --whitelisted --replace-whitespace --device=/dev/%n" features "0" no_path_retry fail } }
[root@tulhv2p01 ~]# dmsetup info Name: HostVG-Logging State: ACTIVE Read Ahead: 1024 Tables present: LIVE Open count: 1 Event number: 0 Major, minor: 253, 3 Number of targets: 1 UUID: LVM-nDhOY9xDEcSqmAsMh69ye25Kbe5qmAWA0yoPQuWVSKfTYk60a55lj36L9uKhD4Jt Name: HostVG-Swap State: ACTIVE Read Ahead: 1024 Tables present: LIVE Open count: 1 Event number: 0 Major, minor: 253, 1 Number of targets: 1 UUID: LVM-nDhOY9xDEcSqmAsMh69ye25Kbe5qmAWA4EYoDR4qic0K1tyfyK9sRhDtIdbo1Hv1 Name: HostVG-Data State: ACTIVE Read Ahead: 1024 Tables present: LIVE Open count: 1 Event number: 0 Major, minor: 253, 4 Number of targets: 2 UUID: LVM-nDhOY9xDEcSqmAsMh69ye25Kbe5qmAWAiuZH1xJfhklzPBmeABSnIAp0y0FWKVbQ Name: HostVG-Config State: ACTIVE Read Ahead: 1024 Tables present: LIVE Open count: 1 Event number: 0 Major, minor: 253, 2 Number of targets: 1 UUID: LVM-nDhOY9xDEcSqmAsMh69ye25Kbe5qmAWAfkOxIT7Wl06EBzd45xNQNFaAnSQT2sdd Name: live-rw State: ACTIVE Read Ahead: 1024 Tables present: LIVE Open count: 1 Event number: 0 Major, minor: 253, 0 Number of targets: 1
Dec 10 16:05:36 tulhv2p01 root: RESTARTING MULTIPATH Dec 10 16:05:39 tulhv2p01 multipathd: force queue_without_daemon (operator) Dec 10 16:05:39 tulhv2p01 multipathd: --------shut down------- Dec 10 16:05:39 tulhv2p01 kernel: device-mapper: table: 253:5: multipath: error getting device Dec 10 16:05:39 tulhv2p01 kernel: device-mapper: ioctl: error adding target to table Dec 10 16:05:39 tulhv2p01 multipathd: multipath.conf line 26, invalid keyword: blacklist Dec 10 16:05:39 tulhv2p01 multipathd: multipath.conf line 27, invalid keyword: devnode Dec 10 16:05:39 tulhv2p01 multipathd: multipath.conf line 28, invalid keyword: devnode Dec 10 16:05:39 tulhv2p01 multipathd: multipath.conf line 29, invalid keyword: devnode Dec 10 16:05:39 tulhv2p01 multipathd: multipath.conf line 30, invalid keyword: devnode Dec 10 16:05:39 tulhv2p01 multipathd: multipath.conf line 31, invalid keyword: devnode Dec 10 16:05:39 tulhv2p01 multipathd: multipath.conf line 33, invalid keyword: device Dec 10 16:05:39 tulhv2p01 multipathd: multipath.conf line 35, invalid keyword: vendor Dec 10 16:05:39 tulhv2p01 multipathd: multipath.conf line 36, invalid keyword: product Dec 10 16:05:39 tulhv2p01 multipathd: multipath.conf line 37, invalid keyword: product_blacklist Dec 10 16:05:39 tulhv2p01 multipathd: multipath.conf line 38, invalid keyword: path_grouping_policy Dec 10 16:05:39 tulhv2p01 multipathd: multipath.conf line 39, invalid keyword: path_checker Dec 10 16:05:39 tulhv2p01 multipathd: multipath.conf line 40, invalid keyword: hardware_handler Dec 10 16:05:39 tulhv2p01 multipathd: multipath.conf line 41, invalid keyword: prio Dec 10 16:05:39 tulhv2p01 multipathd: multipath.conf line 42, invalid keyword: failback Dec 10 16:05:39 tulhv2p01 multipathd: multipath.conf line 43, invalid keyword: rr_weight Dec 10 16:05:39 tulhv2p01 multipathd: multipath.conf line 45, invalid keyword: getuid_callout Dec 10 16:05:39 tulhv2p01 multipathd: multipath.conf line 46, invalid keyword: features Dec 10 16:05:39 tulhv2p01 multipathd: multipath.conf line 47, invalid keyword: no_path_retry Dec 10 16:05:39 tulhv2p01 multipathd: unmatched '}' at line 48 of config file Dec 10 16:05:39 tulhv2p01 multipathd: multipath.conf line 48, invalid keyword: } Dec 10 16:05:39 tulhv2p01 multipathd: unmatched '}' at line 49 of config file Dec 10 16:05:39 tulhv2p01 multipathd: multipath.conf line 49, invalid keyword: } Dec 10 16:05:39 tulhv2p01 multipathd: 36b8ca3a0ea18e4001a95b9f82df5609b: ignoring map Dec 10 16:05:39 tulhv2p01 kernel: device-mapper: table: 253:5: multipath: error getting device Dec 10 16:05:39 tulhv2p01 kernel: device-mapper: ioctl: error adding target to table Dec 10 16:05:39 tulhv2p01 multipathd: 36b8ca3a0ea18e4001a95ba4832bcb7ea: ignoring map Dec 10 16:05:39 tulhv2p01 udevd-work[7721]: ressize 1024 too short Dec 10 16:05:39 tulhv2p01 multipathd: path checkers start up Dec 10 16:05:39 tulhv2p01 udevd-work[7716]: ressize 1024 too short Dec 10 16:10:00 tulhv2p01 rpc.statd[38775]: Version 1.2.3 starting Dec 10 16:10:00 tulhv2p01 rpc.statd[38775]: Flags: TI-RPC Dec 10 16:10:00 tulhv2p01 rpc.statd[38775]: failed to create RPC listeners, exiting Dec 10 16:10:02 tulhv2p01 kernel: device-mapper: table: 253:5: multipath: error getting device Dec 10 16:10:02 tulhv2p01 kernel: device-mapper: ioctl: error adding target to table Dec 10 16:10:02 tulhv2p01 kernel: device-mapper: table: 253:5: multipath: error getting device Dec 10 16:10:02 tulhv2p01 kernel: device-mapper: ioctl: error adding target to table Dec 10 16:10:02 tulhv2p01 udevd-work[7721]: ressize 1024 too short Dec 10 16:10:02 tulhv2p01 udevd-work[7716]: ressize 1024 too short
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users