[dm-devel] Help with MPIO assigning / blacklisting

Chandra Seetharaman sekharan at us.ibm.com
Thu Oct 8 22:50:44 UTC 2009


Hi Lucas,

You can setup multipath only for block devices and not "partitions". You
will be able to setup multipathing to sdb and use the multipathed
partition corresponding to sdb1 for your purposes.

You will not be able to setup multipathing to sdb1 and not sdb2.

chandra
On Fri, 2009-10-09 at 00:15 +0200, j.Lucas wrote:
> I apologize if this is a simple question but I have tried in every
> place I can google to resolve this before posting this.  The problem I
> have (and hoping someone will help resolve) is:
> 
> Setting up a MPIO SAS configuration it is important to me that I have
> multiple paths to a partition on each drive.. each drive has two
> partitions, but only one is of interest.  So we normal have eg sdb,
> sdb1 and sdb2.  However we only want to MPIO to sdb1.
> 
> Manually this would maybe seem easy, but there is likely to be many
> many drives and hot-plugged in and out etc… so it seems sensible to
> use the option of black listing and exclusions from black lists so
> that DM only addresses sdx1….. but this is where my problems start and
> my hair fails out.
> 
> I have tried reading everything I can find on this, and tried all
> options I can think of… but I cannot get it work like this.  In fact I
> cannot seem to get it to by default see any of the partitions (without
> having to manually run something).
> 
> I have even tried to blacklist ALL sd[a-z]  (which seems to work) but
> exclude i.e. sdb1 which doesn’t seem to work.
> 
> I really would appreciate any advice as I am sure that to someone who
> has the experience here will probably be able to resolve this in a
> couple of lines as opposed to my couple of years!
> 
> Thank you
> 
> -- 
> Lucas
> --
> dm-devel mailing list
> dm-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/dm-devel




More information about the dm-devel mailing list