Re: [linux-lvm] LVM with multi-path disks?

From: Luca Berra <bluca comedia it>

To: linux-lvm sistina com

Subject: Re: [linux-lvm] LVM with multi-path disks?

Date: Sun, 5 Aug 2001 09:12:01 +0200

On Sun, Aug 05, 2001 at 02:28:01AM +0200, Ragnar Kjørstad wrote:
> On Sat, Aug 04, 2001 at 05:40:49PM +0200, Luca Berra wrote:
> > John, there is an addition for multi-path to the md driver
> > you can fetch it from the redhat source kernel rpm.
> > you can then stack lvm on top of md to achieve your goal
>
> E.g. you have a md0 device consisting of sda and sdb - would not lvm
> find three different paths to the same data (sda, sdb, md0) when
> scanning for physical volumes? Will that not cause problems?
there is an (*horrible*) piece of code in pv_read_all_pv.c
that deals with multiple entries for the same PV, so all duplicate
PV are skipped, so the md will be the obly one detected.
what probably happened to John is, that his PV was killed by
this routine (they were duplicate and not md devices)
regards
L.
--
Luca Berra -- bluca comedia it
Communication Media & Services S.r.l.
/"\
\ / ASCII RIBBON CAMPAIGN
X AGAINST HTML MAIL
/ \