linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* md and multipathing
@ 2004-10-29  0:25 Phy Prabab
  2004-10-30 17:48 ` Lars Marowsky-Bree
  0 siblings, 1 reply; 3+ messages in thread
From: Phy Prabab @ 2004-10-29  0:25 UTC (permalink / raw)
  To: linux-kernel

Hello everyone!

I have a question concerning md driver: is there a way
to have a multipath md that is mulitplexed?  That is I
have seen that when I create a multipath device, the
device only uses on channel, always seems to be the
first channel I use in the command line, to drive path
even if I do not specify the second channel as a spare
device?

I am using mdadm with 2.6.9 kernel.

mdadm --create --force -lmp -n2 /dev/md0 /dev/sda
/dev/sdc

iostat always shows data flowing across only one
channel as if the second device is in passive mode
waiting for failover.

Thank you for your time.

Phy


		
__________________________________
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: md and multipathing
  2004-10-29  0:25 md and multipathing Phy Prabab
@ 2004-10-30 17:48 ` Lars Marowsky-Bree
  2004-10-30 19:08   ` Phy Prabab
  0 siblings, 1 reply; 3+ messages in thread
From: Lars Marowsky-Bree @ 2004-10-30 17:48 UTC (permalink / raw)
  To: Phy Prabab, linux-kernel

On 2004-10-28T17:25:02, Phy Prabab <phyprabab@yahoo.com> wrote:

> I have a question concerning md driver: is there a way
> to have a multipath md that is mulitplexed?

With 2.6, use the Device-Mapper multipath module.


Sincerely,
    Lars Marowsky-Brée <lmb@suse.de>

-- 
High Availability & Clustering
SUSE Labs, Research and Development
SUSE LINUX AG - A Novell company


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: md and multipathing
  2004-10-30 17:48 ` Lars Marowsky-Bree
@ 2004-10-30 19:08   ` Phy Prabab
  0 siblings, 0 replies; 3+ messages in thread
From: Phy Prabab @ 2004-10-30 19:08 UTC (permalink / raw)
  To: Lars Marowsky-Bree, linux-kernel

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=us-ascii, Size: 2137 bytes --]

Lars et all,

This what I am doing I believe.  Here is the command:

mdadm --create --force -lmp -n2 /dev/md0 /dev/sda
/dev/sdc

First controller is /dev/sda /dev/sdb (channel a and b
respective) and the second controller is /dev/sdc
/dev/sdd (again, channel a and b respecitve).

Here I am using multipath (enabled in kernel,
268,269,2610rc1) with the two paths to the FC volume.
I have found that it only drives one channel of the md
device as reported by vmstat.  More over, the traffic
appears to only go to the first device listed e.g. if
I change the ordering and use channel "b" first, than
all traffic to the md is driven on that channel.

Put another way, this is what I believe I have done:
device 0:0:0:0 + 1:0:0:0 = md0
device 0:0:0:1 + 1:0:0:1 = md1

scsi dev sda + sdc = md0
scsi dev sdb + sdd = md1

So have I done something wrong with the setup?  Am I
to question mdadm or md device?  

I get the exact same behavior as if I were to make the
device have a sprae path i.e. mdadm --create --force
-lmp -n1 -x1 /dev/md0 /dev/sda /dev/sdc,  but without
the failover device.  What I would want is to have
traffice be "exqually balanced" across both channels
(e.g. device paths /dev/sda /dev/sdc) with hopes that
this will improve my throughput.

Thanks!
Phy
--- Lars Marowsky-Bree <lmb@suse.de> wrote:

> On 2004-10-28T17:25:02, Phy Prabab
> <phyprabab@yahoo.com> wrote:
> 
> > I have a question concerning md driver: is there a
> way
> > to have a multipath md that is mulitplexed?
> 
> With 2.6, use the Device-Mapper multipath module.
> 
> 
> Sincerely,
>     Lars Marowsky-Brée <lmb@suse.de>
> 
> -- 
> High Availability & Clustering
> SUSE Labs, Research and Development
> SUSE LINUX AG - A Novell company
> 
> -
> To unsubscribe from this list: send the line
> "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at 
> http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
> 



		
__________________________________
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail 

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-10-30 19:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-29  0:25 md and multipathing Phy Prabab
2004-10-30 17:48 ` Lars Marowsky-Bree
2004-10-30 19:08   ` Phy Prabab

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).