* iSCSI device / error getting device, error adding target to table
@ 2016-07-08 23:16 scar
2016-07-11 16:51 ` scar
0 siblings, 1 reply; 2+ messages in thread
From: scar @ 2016-07-08 23:16 UTC (permalink / raw)
To: dm-devel-H+wXaHxf7aLQT0dZR+AlfA
We have a DotHill iSCSI device which i've already setup with one volume.
The device has two controllers each with two network ports, so the
volume is accessible via four different IP addresses. On the initiator,
the volume thus shows up as four disks, /dev/sde thru /dev/sdh. I
already created a partition and currently i just mount one of the
partitions, but would like to setup multipath instead so if something
fails, the multipath device will continue working without having to
remount anything.
I used scsi_id to find the WWID of sde thru sdh, they all have the same
WWID. I thought a multipath.conf like this would work:
blacklist {
wwid "*"
}
blacklist_exceptions {
wwid "3600c0ff00012400bdb0e485701000000"
}
defaults {
selector "round-robin 0"
path_grouping_policy multibus
getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
user_friendly_names yes
}
multipaths {
multipath {
wwid 3600c0ff00012400bdb0e485701000000
}
}
devices {
device {
vendor "DotHill"
product "R/Evo 2330-2R"
no_path_retry "queue"
}
}
but when i start multipathd i see a bunch of errors and no successes:
Jul 8 16:02:42 initiator kernel: device-mapper: table: 253:3:
multipath: error getting device
Jul 8 16:02:42 initiator kernel: device-mapper: ioctl: error adding
target to table
[previous 2 lines repeated several times]
Jul 8 16:02:42 initiator multipathd: path checkers start up
Jul 8 16:02:46 initiator kernel: device-mapper: table: 253:3:
multipath: error getting device
Jul 8 16:02:46 initiator kernel: device-mapper: ioctl: error adding
target to table
Jul 8 16:02:46 initiator multipathd: dm-3: remove map (uevent)
Jul 8 16:02:46 initiator multipathd: dm-3: devmap not registered, can't
remove
[previous 4 lines repeated several times]
and 'multipath -v2' command doesn't print anything. The
initiator/server is running RHEL5.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: iSCSI device / error getting device, error adding target to table
2016-07-08 23:16 iSCSI device / error getting device, error adding target to table scar
@ 2016-07-11 16:51 ` scar
0 siblings, 0 replies; 2+ messages in thread
From: scar @ 2016-07-11 16:51 UTC (permalink / raw)
To: dm-devel-H+wXaHxf7aLQT0dZR+AlfA
I noticed i could use a higher level than 2 with 'multipath -v' and it
would print more information, so that provided some useful information
that was used to fix the problem! My original configuration file is
working...
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-07-11 16:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-08 23:16 iSCSI device / error getting device, error adding target to table scar
2016-07-11 16:51 ` scar
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.