[linux-lvm] Does LVM have any multipath failover capabilities?

brem belguebli brem.belguebli at gmail.com
Wed Sep 2 13:26:52 UTC 2009


Or you could simply use dm-multipath in round-robin fashion without having
to manage priorities etc...

This would bring you :

      - More performance if the device at the other side can take the load
      - Native failover, if on path dies you'll still have the second path
active.

On LVM point of view, you just have to pvcreate the mutilpath device
(/dev/mapper/mpathX if friendly_user_name true or /dev/mapper/<your disk
UUID>)

Brem


2009/9/2, Chandra Seetharaman <sekharan at us.ibm.com>:
>
>
> On Tue, 2009-09-01 at 17:27 -0600, Chris Worley wrote:
> > For example, two iSCSI drives are actually the same drive provided via
> > two different subnets: if one of the drives becomes unresponsive, I
> > need LVM to seamlessly failover to the other one.
> >
> > Otherwise, what's the right way to handle this?
>
> Build lvm on top of a multipathed device (which comprises of the two
> paths), with a priority callout that gives higher priority to one path
> than the other.
> >
> > Thanks,
> >
> > Chris
> >
> > _______________________________________________
> > linux-lvm mailing list
> > linux-lvm at redhat.com
> > https://www.redhat.com/mailman/listinfo/linux-lvm
> > read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm at redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/linux-lvm/attachments/20090902/4e6032fc/attachment.htm>


More information about the linux-lvm mailing list