[dm-devel] Sun StorageTek 2530 and dm?

Chandra Seetharaman sekharan at us.ibm.com
Mon Aug 24 23:07:22 UTC 2009


On Mon, 2009-08-24 at 23:53 +0200, Jakov Sosic wrote:
> On Mon, 24 Aug 2009 14:41:56 -0700
> Chandra Seetharaman <sekharan at us.ibm.com> wrote:
> 
> > These messages are seen because there is no support for this device
> > in-built in the scsi_dh_rdac module.
> > 
> > These will disappear when youadded the device support to scsi_dh_rdac
> > module and include the module in your initrd image.
> 
> Now if I understand correctly - because my device is not
> supported by scsi_dh_rdac - RDAC is not functional at all? Because

If your device was in the list, then you wouldn't seen multiples of
those error messages and would have seen the following message at boot
time itself.

> later in the dmesg, it shows 
> 
> sd 1:0:1:0: rdac: LUN 0 (owned)
> sd 1:0:0:0: rdac: LUN 0 (unowned)

scsi_dh_rdac modules is insmodded by multipath when multipathd is
started (by virtue of you having hardware_handler "1 rdac" in
your /etc/muliutpath.conf file.

So, it is effective when multipath starts.
> 
> which suggests that RDAC is working after all? 

> 
> 
> 
> 
> 
> Here is my current multipath.conf (Sbeaf_11 and Sbeaf_21 are iSCSI
> targets that work flawlessly):
> 
> defaults {
> 	user_friendly_names yes
> }
> defaults {
> 	udev_dir		/dev
> 	polling_interval 	10
> 	selector		"round-robin 0"
> 	path_grouping_policy	multibus
> 	getuid_callout		"/sbin/scsi_id -g -u -s /block/%n"
> 	prio_callout		/bin/true
> 	path_checker		readsector0
> 	rr_min_io		100
> 	max_fds			8192
> 	rr_weight		priorities
> 	failback		immediate
> 	no_path_retry		fail
> 	user_friendly_names	yes
> }
> blacklist {
> 	devnode "^(ram|raw|loop|fd|md|dm-|sr|scd|st)[0-9]*"
> 	devnode "^hd[a-z]"
> }
> multipaths {
> 	multipath {
> 		wwid			S_beaf11
> 		alias			controller0
> 		path_grouping_policy	failover
> 		path_checker		readsector0
> 		path_selector		"round-robin 0"
> 		failback		immediate
> 		no_path_retry		queue
> 	}
> 	multipath {
> 		wwid			S_beaf21
> 		alias			controller1
> 		path_grouping_policy	failover
> 		path_checker		readsector0
> 		path_selector		"round-robin 0"
> 		failback		immediate
> 		no_path_retry		queue
> 	}
> 	multipath {
> 		wwid
> 3600a0b80002fcd18000014544a9166fb
> 		alias			sas-xen
> 	}
> 	multipath {
> 		wwid
> 3600a0b80003abc5c00000b654a916617
> 		alias			sas-mysql
> 	}
> 	multipath {
> 		wwid
> 3600a0b80002fcd18000014514a9165b4
> 		alias			qd
> 	}
> }
> 
> 
> devices {
> 	device {
> 		vendor			"SUN"
> 		product			"LCSM100_S"
> 		getuid_callout		"/sbin/scsi_id -g -u
> -s /block/%n"
> 		prio_callout            "/sbin/mpath_prio_tpc /dev/%n"
> 		hardware_handler	"1 rdac"
> 		path_grouping_policy	group_by_prio
> 		path_checker		rdac
> 		failback		immediate
> 		rr_weight		uniform
> 		no_path_retry		queue
> 		rr_min_io		1000
> 	}
> }
> 
> 
> 
> 
> And here is the multipath -ll:
> 
> # multipath -ll
> qd (3600a0b80002fcd18000014514a9165b4) dm-0 SUN,LCSM100_S
> [size=100M][features=1 queue_if_no_path][hwhandler=1 rdac][rw]
> \_ round-robin 0 [prio=3][active]
>  \_ 1:0:1:0  sde 8:64  [active][ready]
> \_ round-robin 0 [prio=0][enabled]
>  \_ 1:0:0:0  sdb 8:16  [active][ghost]
> controller1 (S_beaf21) dm-4 IET,VIRTUAL-DISK
> [size=3.4T][features=1 queue_if_no_path][hwhandler=0][rw]
> \_ round-robin 0 [prio=0][active]
>  \_ 8:0:0:1  sdk 8:160 [active][ready]
> \_ round-robin 0 [prio=0][enabled]
>  \_ 9:0:0:1  sdj 8:144 [active][ready]
> controller0 (S_beaf11) dm-3 IET,VIRTUAL-DISK
> [size=3.4T][features=1 queue_if_no_path][hwhandler=0][rw]
> \_ round-robin 0 [prio=0][active]
>  \_ 10:0:0:1 sdh 8:112 [active][ready]
> \_ round-robin 0 [prio=0][enabled]
>  \_ 11:0:0:1 sdi 8:128 [active][ready]
> sas-mysql (3600a0b80003abc5c00000b654a916617) dm-1 SUN,LCSM100_S
> [size=115G][features=1 queue_if_no_path][hwhandler=1 rdac][rw]
> \_ round-robin 0 [prio=3][active]
>  \_ 1:0:1:1  sdf 8:80  [active][ready]
> \_ round-robin 0 [prio=0][enabled]
>  \_ 1:0:0:1  sdc 8:32  [active][ghost]
> sas-xen (3600a0b80002fcd18000014544a9166fb) dm-2 SUN,LCSM100_S
> [size=21G][features=1 queue_if_no_path][hwhandler=1 rdac][rw]
> \_ round-robin 0 [prio=3][active]
>  \_ 1:0:0:2  sdd 8:48  [active][ready]
> \_ round-robin 0 [prio=0][enabled]
>  \_ 1:0:1:2  sdg 8:96  [active][ghost]
> 
> 
> 
> 
> 
> 
> 




More information about the dm-devel mailing list