|
Re: EMC Cx300 multipath seems to work: msg#00017linux.kernel.device-mapper.devel
Hi Nicola, Nicola Murino wrote: Hi, After rebooting my system, I see only one path always: testhalde2 ~ # multipath -l 150gb () [size=150 GB][features="0"][hwhandler="0"] \_ round-robin 0 [active] \_ 0:0:0:1 sda 8:0 [active] I have to run multipath again: testhalde2 ~ # multipath /dev/sda reload: 150gb (3600508b40010079d0001900000460000) [size=150 GB][features="0"][hwhandler="0"] \_ round-robin 0 \_ 0:0:0:1 sda 8:0 [active][ready] \_ 1:0:0:1 sdb 8:16 [ready] I experienced a kernel oops with kernel-2.6.12 (both vanilla-sources and I'm using a HP DL-380 G3 Proliant + Qlogic QLA 2340 (qla2300) with 2.6.12.5 (vanilla). No kernel oops here. P.S. for gistolero, I haven't your problem with multipathd (or so seems) The same behavior with udev-068-r1. I don't think that this is a gentoo bug, because distributions differ in udev _startup_ scripts only. I know that I have to run udevstart after creating a new udev.rules in /etc/udev/rules/. But after this, udev should parse this rule after every change: After reboot... testhalde2 ~ # ls -lF /dev/mapper/ brw------- 1 root root 254, 0 Sep 13 2005 150gb brw------- 1 root root 254, 1 Sep 13 2005 150gb1 brw------- 1 root root 254, 2 Sep 13 2005 150gb2 crw-rw---- 1 root root 10, 63 Sep 13 2005 control testhalde2 ~ # ls -lF /dev/1* lrwxrwxrwx 1 root root 4 Sep 13 2005 /dev/150gb2 -> dm-2 testhalde2 ~ # udevstart testhalde2 ~ # ls -lF /dev/1* lrwxrwxrwx 1 root root 4 Sep 13 13:00 /dev/150gb -> dm-0 lrwxrwxrwx 1 root root 4 Sep 13 13:00 /dev/150gb1 -> dm-1 lrwxrwxrwx 1 root root 4 Sep 13 13:00 /dev/150gb2 -> dm-2 Ok, udev knows the multipath udev-rule and creates this links. Deleting the multipath-table... testhalde2 ~ # dmsetup table 150gb1: 0 64197 linear 254:0 63 150gb: 0 314572800 multipath 0 0 1 1 round-robin 0 2 1 8:0 1000 8:16 1000 150gb2: 0 314504505 linear 254:0 64260 testhalde2 ~ # dmsetup remove 150gb1 testhalde2 ~ # dmsetup remove 150gb2 testhalde2 ~ # dmsetup remove 150gb testhalde2 ~ # dmsetup table No devices found testhalde2 ~ # ls -lF /dev/mapper/ total 0 crw-rw---- 1 root root 10, 63 Sep 13 2005 control testhalde2 ~ # ls -lF /dev/1* ls: /dev/1*: No such file or directory Creating the multipath-table... testhalde2 ~ # multipath /dev/sda create: 150gb (3600508b40010079d0001900000460000) [size=150 GB][features="0"][hwhandler="0"] \_ round-robin 0 \_ 0:0:0:1 sda 8:0 [ready] \_ 1:0:0:1 sdb 8:16 [ready] testhalde2 ~ # ls -lF /dev/mapper/ total 0 brw------- 1 root root 254, 0 Sep 13 13:04 150gb brw------- 1 root root 254, 1 Sep 13 13:04 150gb1 brw------- 1 root root 254, 2 Sep 13 13:04 150gb2 crw-rw---- 1 root root 10, 63 Sep 13 2005 control testhalde2 ~ # ls -lF /dev/1* ls: /dev/1*: No such file or directory No links in /dev/... I don't understand this, because udev should read the multipath udev-rule again. Perhaps I'm mistaken? Simon |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Problems with multipathd: 00017, gistolero |
|---|---|
| Next by Date: | How about shortening SCSI timeout value dynamically?: 00017, 김재열 |
| Previous by Thread: | EMC Cx300 multipath seems to worki: 00017, Nicola Murino |
| Next by Thread: | Re: Re: EMC Cx300 multipath seems to work: 00017, Nicola Murino |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |