All of lore.kernel.org
 help / color / mirror / Atom feed
* Setting up a multipath device
@ 2006-05-04 14:08 Erez Zilber
  2006-05-04 14:49 ` Christophe Varoqui
  0 siblings, 1 reply; 6+ messages in thread
From: Erez Zilber @ 2006-05-04 14:08 UTC (permalink / raw)
  To: dm-devel

Hi,

I'm new to device mapper and trying to set a multipath target:

I'm connected to the same LUN over iSCSI in 2 paths:

Here's the output of sg_map:
sg_map -i -x
/dev/sg0 3 0 0 0 0 /dev/sda DotHill SANnet II FC 411I
/dev/sg1 4 0 0 0 0 /dev/sdb DotHill SANnet II FC 411I

I ran the following command:
multipath 2 round-robin 1 0 /dev/sda round-robin 1 0 /dev/sdb

If I understand correctly, the 1st priority group contains /dev/sda. The 
2nd priority group contains /dev/sdb. If /dev/sda fails, traffic should 
automatically move to /dev/sdb. Is that right?

Here's the out put of multipath -l:

3600c0ff00000000007c1d121c397f503
[size=10 GB][features=0][hwhandler=0]
\_ round-robin 0 [prio=0][active]
\_ 3:0:0:0 sda 8:0 [active][undef]
\_ round-robin 0 [prio=0][enabled]
\_ 4:0:0:0 sdb 8:16 [active][undef]

What does 8:0 & 8:16 mean? What is 3600c0ff00000000007c1d121c397f503?

Now, assuming that what I did so far is ok, how do I use the multipath 
device? Do I use /dev/sda (or /dev/sdb)?

Thanks in advance
-- 

____________________________________________________________

Erez Zilber | 972-9-971-7689

Software Engineer, Storage Team

Voltaire – _The Grid Backbone_

__

www.voltaire.com <http://www.voltaire.com/>

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

end of thread, other threads:[~2006-05-08 21:33 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-04 14:08 Setting up a multipath device Erez Zilber
2006-05-04 14:49 ` Christophe Varoqui
2006-05-04 15:28   ` Erez Zilber
2006-05-04 18:55     ` Christophe Varoqui
2006-05-07 14:01       ` Erez Zilber
2006-05-08 21:33         ` Christophe Varoqui

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.