[dm-devel] iSCSI device / error getting device, error adding target to table

scar scar at drigon.com
Fri Jul 8 23:16:08 UTC 2016


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.





More information about the dm-devel mailing list