public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Accessing the same disk via multiple channels
@ 2003-02-13 19:49 Jurjen Oskam
  2003-02-13 22:45 ` Bernd Eckenfels
  0 siblings, 1 reply; 9+ messages in thread
From: Jurjen Oskam @ 2003-02-13 19:49 UTC (permalink / raw)
  To: linux-kernel

Hi everybody,

here's something I've been wondering about. On my work, we have
an EMC2 Symmetrix in a SAN environment, with (until now) only
AIX boxes attached to the SAN.

Each server is equipped with 2 FibreChannel cards. The SAN is
configured to present the same disk (which is in fact a virtual
Symmetrix device) over two channels. This means the host sees
two physical devices (as far as that host's concerned) which is
in fact really only one device. In linux terms: /dev/sda and /dev/sdc
are exactly the same disks, but the (standard) OS doesn't know this.

EMC2 provide a piece of software called PowerPath, which takes advantage of
this situation. It provides yet another device (let's say /dev/powersda), which
uses the (identical) native devices /dev/sda and /dev/sdc. If one of those
two would disappear, access to powersda would still be possible.

How does linux as it is now handle the situation of one physical device
presented via multiple paths (without extra software)?

-- 
Jurjen Oskam

PGP Key available at http://www.stupendous.org/

^ permalink raw reply	[flat|nested] 9+ messages in thread
* Re: Accessing the same disk via multiple channels
@ 2003-02-14  3:20 steve cameron
  2003-02-14 16:27 ` Lars Marowsky-Bree
  0 siblings, 1 reply; 9+ messages in thread
From: steve cameron @ 2003-02-14  3:20 UTC (permalink / raw)
  To: linux-kernel


Lars Marowsky-Bree (lmb@suse.de) wrote:

> SuSE (Jens Axboe and myself) have also done work on the md multipathing,
> supporting failover and load balancing and in general giving the code a rinse;
> as well as extensions to mdadm to make them work.
> 
Yay!  We noticed that if a controller fails in such a way that
no interrupts are generated then md driver doesn't notice anything is 
wrong.  Commands don't fail, but don't complete either.  I played around with
feature in the low level driver to periodically send a no-op command
down to the controller and fail all outstanding commands and disable
the controller if that command didn't come back pretty quickly, that 
seemed to work pretty well in a failover type situation. 
(Better than putting a timeout on every command.)  Also, md multipath 
doesn't notice if the backup path has failed, to warn the user that 
redundancy is no longer in effect.  (Though if you set up things so i/o 
is going down both paths, not such a big deal, as md will notice.
Probably you know all this already.

> The patches currently live at http://lars.marowsky-bree.de/dl/md-mp/
> 
> (And are included in SuSE's kernel release, of course ;-)
> 
> Currently, for 2.5 / 2.6, I think I really like the SCSI midlayer stuff. In
> the past, I didn't, because it constrains everything to SCSI. But then,
> everything so far _has_ been SCSI, except for weird arch stuff like s390(x)
> DASDs ;-)

Well, the cciss driver is not a SCSI driver (except for purpsoes of 
tape drives & tape changers) and HP/Compaq has sold more than one 
million of those controllers (does popularity mean they aren't 
"weird"? :-), and we have mulitpath capable storage boxes they 
can connect to.

-- steve


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

end of thread, other threads:[~2003-02-17  9:44 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-13 19:49 Accessing the same disk via multiple channels Jurjen Oskam
2003-02-13 22:45 ` Bernd Eckenfels
2003-02-14 10:03   ` Lars Marowsky-Bree
2003-02-14 22:01     ` Tim Pepper
2003-02-14 23:37       ` Patrick Mansfield
2003-02-17  9:52         ` Lars Marowsky-Bree
  -- strict thread matches above, loose matches on Subject: below --
2003-02-14  3:20 steve cameron
2003-02-14 16:27 ` Lars Marowsky-Bree
2003-02-14 18:17   ` Patrick Mansfield

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox