Hi,
I have done a clean OpenSUSE 11.4 Xen minimal text system install with multipath selected during install.
Once booted, the mulitpath bits had disappeared. I thought I had corrected this, but I obviously haven’t…
The two issues I have are:
- multipathd fails to start at boot time, and
- the system disk is not multipathed, but the four data disks are (from multipath -l).
I have 5 dual pathed LUN’s connected to a CX CLARiiON.
LUN0 is the system disk - MBR boot, swap and root partitions.
LUN1-4 are for data.
I have added multipath back into the kernel:
INITRD_MODULES=“thermal lpfc ata_generic processor fan dm-multipath”
I have edited the device.map file to:
(hd0) /dev/disk/by-id/scsi-36006016087a011009ed36876ba53e011
(hd1) /dev/disk/by-id/scsi-36006016087a0110024a08303bb53e011
(hd2) /dev/disk/by-id/scsi-36006016087a011005c6c8df0ba53e011
(hd3) /dev/disk/by-id/scsi-36006016087a01100def2353abb53e011
(hd4) /dev/disk/by-id/scsi-36006016087a01100f406812ebb53e011
I ran mkinitrd to re-enable multipath.
The menu.lst file uses the /dev/disk/by-id disk names.
I have no multipath.conf file at the moment, as it seems to be in addition to the built in rules that I’m happy with.
Although multipathd fails to start it can be manually started via “multipathd -d &”.
The boot.multipath and multipath services are enabled:
chkconfig -l multipathd
multipathd 0:off 1:off 2:off 3:on 4:off 5:on 6:off
chkconfig -l boot.multipath
boot.multipath 0:off 1:off 2:off 3:off 4:off 5:off 6:off B:on
service boot.multipath status
Checking multipath targets: (4 multipath devices) running
service multipathd status
Checking for multipathd: unused
multipath -l shows (these are the data disks):
36006016087a0110024a08303bb53e011 dm-1 DGC,RAID 5
size=249G features=‘1 queue_if_no_path’ hwhandler=‘1 emc’ wp=rw
|-± policy=‘round-robin 0’ prio=-1 status=active
| - 3:0:0:2 sdi 8:128 active undef running
-± policy=‘round-robin 0’ prio=-1 status=enabled
- 2:0:0:2 sdc 8:32 active undef running 36006016087a01100def2353abb53e011 dm-2 DGC,RAID 5 size=250G features='1 queue_if_no_path' hwhandler='1 emc' wp=rw |-+- policy='round-robin 0' prio=-1 status=active |
- 3:0:0:4 sdk 8:160 active undef running
-+- policy='round-robin 0' prio=-1 status=enabled
- 2:0:0:4 sde 8:64 active undef running
36006016087a01100f406812ebb53e011 dm-3 DGC,RAID 5
size=238G features=‘1 queue_if_no_path’ hwhandler=‘1 emc’ wp=rw
|-± policy=‘round-robin 0’ prio=-1 status=active
| - 2:0:0:3 sdd 8:48 active undef running
-± policy=‘round-robin 0’ prio=-1 status=enabled
- 3:0:0:3 sdj 8:144 active undef running 36006016087a011005c6c8df0ba53e011 dm-0 DGC,RAID 5 size=236G features='1 queue_if_no_path' hwhandler='1 emc' wp=rw |-+- policy='round-robin 0' prio=-1 status=active |
- 2:0:0:1 sdb 8:16 active undef running
-+- policy='round-robin 0' prio=-1 status=enabled
- 3:0:0:1 sdh 8:112 active undef running
multipath -v2 -d shows (this would be the system disk):
create: 36006016087a011009ed36876ba53e011 undef DGC,RAID 5
size=36G features=‘1 queue_if_no_path’ hwhandler=‘1 emc’ wp=undef
|-± policy=‘round-robin 0’ prio=3 status=undef
| - 2:0:0:0 sda 8:0 undef ready running
-± policy=‘round-robin 0’ prio=2 status=undef
`- 3:0:0:0 sdg 8:96 undef ready running
I have googled a number of solutions, but they all seem to be what I have done so far.
On starting multipathd the logfile /var/log/messages contains the following error (repeated 4 times):
device-mapper: table: 253:4: multipath: error getting device
device-mapper: ioctl: error adding target to table
Any help appreciated.
Thanks,
George