[dm-devel] multipath: rdac on IBM 1746 (SAS connection to DS3512)

Peter Volkov peter.volkov at gmail.com
Wed Feb 9 10:08:55 UTC 2011


Thank you for detailed answer Christophe.

В Срд, 09/02/2011 в 10:49 +0100, Christophe Varoqui пишет:
> On your ubuntu setup, multipath tools picked the default hardware
> handler (none, ie 0) whereas on your gentoo setup the hardware handler
> is explicitely set for use with your storage device.
> 
> Now 2 choices :
> 1/ upgrade multipath-tools
> or
> 2/ set up your device definition in multipath.conf to override internal
> defaults

I'll try to upgrade multipath-tools, but as for second choice it looks
like following configuration should work:

root at btv1:~# cat /etc/multipath.conf 
defaults {
	path_checker	rdac
}

blacklist {
	devnode "^sd[a-b]"
}

multipaths {
	multipath {
		wwid			360080e50001baa46000025834d501798
		alias			vod
		path_checker    rdac
	}
}

I even think that rdac definition in inside multipath is redundant but
if I remove it nothing changes. And looking at verbose output it looks
like it reads configfile (at least sda and sdb devices are blacklisted
and it tells that I have rdac defined in configfile).

root at btv1:~# multipath -v3 -ll
ram0: device node name blacklisted
[...snip...]
ram15: device node name blacklisted
loop0: device node name blacklisted
[...snip...]
loop7: device node name blacklisted
sda: device node name blacklisted
sdb: device node name blacklisted
sdc: not found in pathvec
sdc: mask = 0x5
sdc: dev_t = 8:32
sdc: size = 27341848576
sdc: subsystem = scsi
sdc: vendor = IBM     
sdc: product = 1746      FAStT 
sdc: rev = 1070
sdc: h:b:t:l = 0:0:2:1
sdd: not found in pathvec
sdd: mask = 0x5
sdd: dev_t = 8:48
sdd: size = 27341848576
sdd: subsystem = scsi
sdd: vendor = IBM     
sdd: product = 1746      FAStT 
sdd: rev = 1070
sdd: h:b:t:l = 0:0:3:1
md0: device node name blacklisted
dm-0: device node name blacklisted
===== paths list =====
uuid hcil    dev dev_t pri dm_st  chk_st  vend/prod/rev            
     0:0:2:1 sdc 8:32  -1  [undef][undef] IBM     ,1746      FAStT 
     0:0:3:1 sdd 8:48  -1  [undef][undef] IBM     ,1746      FAStT 
params = 0 0 2 1 round-robin 0 1 1 8:32 1000 round-robin 0 1 1 8:48
1000 
status = 2 0 0 0 2 1 A 0 1 0 8:32 A 0 E 0 1 0 8:48 A 0 
sdc: mask = 0x4
sdc: path checker = rdac (config file default)
sdc: state = 2
sdc: mask = 0x8
sdc: getprio = NULL (internal default)
sdc: prio = 1
sdd: mask = 0x4
sdd: path checker = rdac (config file default)
sdd: state = 4
sdd: mask = 0x8
sdd: getprio = NULL (internal default)
sdd: prio = 1
vod (360080e50001baa46000025834d501798) dm-0 IBM     ,1746      FASt
[size=13T][features=0][hwhandler=0]
\_ round-robin 0 [prio=1][active]
 \_ 0:0:2:1 sdc 8:32  [active][ready]
\_ round-robin 0 [prio=1][enabled]
 \_ 0:0:3:1 sdd 8:48  [active][ghost]


-- 
Peter.




More information about the dm-devel mailing list