Multipath does not work with EMC 5300 Storage
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Expired
|
Medium
|
Unassigned |
Bug Description
Hi,
I setup one host installed Ubuntu 12.04 with kernel version 3.2.0.I connect the host with EMC Stroage of 5300 with FC directly.
I wanted use the feature of multipath, but it does not work.
The log is as below:
the syslog is :
Jan 4 15:32:29 cvknode133 kernel: [14788.818398] device-mapper: table: 252:2: multipath: error getting device
Jan 4 15:32:29 cvknode133 kernel: [14788.826062] device-mapper: ioctl: error adding target to table
Jan 4 15:32:29 cvknode133 multipathd: dm-2: remove map (uevent)
Jan 4 15:32:29 cvknode133 multipathd: dm-2: devmap not registered, can't remove
Jan 4 15:32:29 cvknode133 multipathd: dm-2: remove map (uevent)
Jan 4 15:32:29 cvknode133 multipathd: dm-2: devmap not registered, can't remove
Jan 4 15:32:29 cvknode133 kernel: [14788.828229] device-mapper: table: 252:2: multipath: error getting device
Jan 4 15:32:29 cvknode133 kernel: [14788.835525] device-mapper: ioctl: error adding target to table
Jan 4 15:32:29 cvknode133 multipathd: dm-2: remove map (uevent)
Jan 4 15:32:29 cvknode133 multipathd: dm-2: devmap not registered, can't remove
Jan 4 15:32:29 cvknode133 multipathd: dm-2: remove map (uevent)
Jan 4 15:32:29 cvknode133 multipathd: dm-2: devmap not registered, can't remove
Jan 4 15:32:29 cvknode133 kernel: [14788.839135] device-mapper: table: 252:2: multipath: error getting device
Jan 4 15:32:29 cvknode133 kernel: [14788.846118] device-mapper: ioctl: error adding target to table
Jan 4 15:32:29 cvknode133 multipathd: dm-2: remove map (uevent)
Jan 4 15:32:29 cvknode133 multipathd: dm-2: devmap not registered, can't remove
Jan 4 15:32:29 cvknode133 kernel: [14788.849331] device-mapper: table: 252:2: multipath: error getting device
Jan 4 15:32:29 cvknode133 kernel: [14788.855998] device-mapper: ioctl: error adding target to table
Jan 4 15:32:29 cvknode133 multipathd: dm-2: remove map (uevent)
Jan 4 15:32:29 cvknode133 multipathd: dm-2: devmap not registered, can't remove
Jan 4 15:32:29 cvknode133 udevd[19111]: inotify_
Jan 4 15:32:29 cvknode133 multipathd: dm-2: remove map (uevent)
Jan 4 15:32:29 cvknode133 multipathd: dm-2: devmap not registered, can't remove
Jan 4 15:32:29 cvknode133 kernel: [14788.859838] sd 0:0:0:16385: emc: Invalid information section length 128
Jan 4 15:32:29 cvknode133 kernel: [14788.859842] sd 0:0:0:16385: emc: detected Clariion FC (Legacy), flags 1
Jan 4 15:32:29 cvknode133 kernel: [14788.859939] sd 0:0:0:16385: emc: Invalid failover mode 2
Jan 4 15:32:29 cvknode133 kernel: [14788.859942] sd 0:0:0:16385: emc: not attached
Jan 4 15:32:29 cvknode133 kernel: [14788.866610] device-mapper: table: 252:2: multipath: error attaching hardware handler
Jan 4 15:32:29 cvknode133 multipathd: dm-2: remove map (uevent)
Jan 4 15:32:29 cvknode133 multipathd: dm-2: devmap not registered, can't remove
Jan 4 15:32:29 cvknode133 kernel: [14788.879802] device-mapper: ioctl: error adding target to table
Jan 4 15:32:29 cvknode133 multipathd: dm-2: remove map (uevent)
Jan 4 15:32:29 cvknode133 multipathd: dm-2: devmap not registered, can't remove
Jan 4 15:32:29 cvknode133 multipathd: dm-2: remove map (uevent)
Jan 4 15:32:29 cvknode133 multipathd: dm-2: devmap not registered, can't remove
Jan 4 15:32:29 cvknode133 kernel: [14788.882923] sd 0:0:0:16385: emc: Invalid information section length 128
Jan 4 15:32:29 cvknode133 kernel: [14788.882928] sd 0:0:0:16385: emc: detected Clariion FC (Legacy), flags 1
Jan 4 15:32:29 cvknode133 kernel: [14788.883019] sd 0:0:0:16385: emc: Invalid failover mode 2
Jan 4 15:32:29 cvknode133 kernel: [14788.883022] sd 0:0:0:16385: emc: not attached
Jan 4 15:32:29 cvknode133 kernel: [14788.889542] device-mapper: table: 252:2: multipath: error attaching hardware handler
Jan 4 15:32:29 cvknode133 kernel: [14788.903347] device-mapper: ioctl: error adding target to table
Jan 4 15:32:29 cvknode133 udevd[19111]: inotify_
Jan 4 15:32:29 cvknode133 multipathd: dm-2: remove map (uevent)
Jan 4 15:32:29 cvknode133 multipathd: dm-2: devmap not registered, can't remove
Jan 4 15:32:29 cvknode133 udevd[19111]: inotify_
Jan 4 15:32:29 cvknode133 multipathd: dm-2: remove map (uevent)
Jan 4 15:32:29 cvknode133 multipathd: dm-2: devmap not registered, can't remove
mutlipath -v3 informations:
Jan 04 15:32:29 | sda: state = 2
Jan 04 15:32:29 | sda: checker msg is "cciss_tur checker reports path is down"
Jan 04 15:32:29 | 3600508b1001c68
Jan 04 15:32:29 | 3600508b1001c68
Jan 04 15:32:29 | 3600508b1001c68
Jan 04 15:32:29 | 3600508b1001c68
Jan 04 15:32:29 | 3600508b1001c68
Jan 04 15:32:29 | 3600508b1001c68
Jan 04 15:32:29 | 3600508b1001c68
Jan 04 15:32:29 | 3600508b1001c68
Jan 04 15:32:29 | pg_timeout = NONE (internal default)
Jan 04 15:32:29 | 3600508b1001c68
Jan 04 15:32:29 | 3600508b1001c68
In the kernel source code, in the function: parse_sp_model;
I want to know the reason of that why multipath feature can not work.
Thanks
In the function, the log is recorded, is it helpful?
static char * parse_sp_ model(struct scsi_device *sdev, unsigned char *buffer)
{
unsigned char len = buffer[4] + 5;
char *sp_model = NULL;
unsigned char sp_len, serial_len;
if (len < 160) { printk( KERN_WARNING, sdev,
CLARIION_ NAME, len);
sdev_
"%s: Invalid information section length %d\n",