All of lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Volkov <peter.volkov@gmail.com>
To: christophe.varoqui@opensvc.com,
	device-mapper development <dm-devel@redhat.com>
Subject: Re: multipath: rdac on IBM 1746 (SAS connection to DS3512)
Date: Wed, 09 Feb 2011 13:08:55 +0300	[thread overview]
Message-ID: <1297246135.13836.6.camel@tablet> (raw)
In-Reply-To: <1297244976.29348.9.camel@zezette>

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@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@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.

--
dm-devel mailing list
dm-devel@redhat.com
https://www.redhat.com/mailman/listinfo/dm-devel

  reply	other threads:[~2011-02-09 10:08 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-09  9:37 multipath: rdac on IBM 1746 (SAS connection to DS3512) Peter Volkov
2011-02-09  9:49 ` Christophe Varoqui
2011-02-09 10:08   ` Peter Volkov [this message]
2011-02-09 17:58     ` Malahal Naineni
     [not found]     ` <1297246940.29348.11.camel@zezette>
2011-02-12  9:12       ` multipath: partitions are not created " Peter Volkov
2011-02-12 11:12         ` Christophe Varoqui

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1297246135.13836.6.camel@tablet \
    --to=peter.volkov@gmail.com \
    --cc=christophe.varoqui@opensvc.com \
    --cc=dm-devel@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.