[linux-lvm] LVM and multiple HBA ports

Chris Croswhite csc at cadence.com
Mon Apr 26 15:53:40 UTC 2004


How are you setting up the md device?  My issues is how to reclaim a
failed path on the md device?  So I set mine up like this:

mdadm --create -f -l mp -n 1 x 1 /dev/md0 /dev/sdx /dev/sdy

(assuming x and y are the two paths into the one lun).

On testing fail over, it takes about 12s to fail over.  Checking the md
device shows this, however, how does one re-enable the failed lun?

TIA
 
On Sun, 2004-04-25 at 18:14, Franc Carter wrote:
> They way I have handled this is to use an md multipath device to combine the
> two luns that are seen in to one md device, and then put lvm on top of
> that.
> 
> Seems to work well - however testing 'real' failures rather than capable
> pulling is somewhat more difficult/risky
> 
> On Wed, Apr 21, 2004 at 07:04:13PM +0300, Dan Bar Dov wrote:
> > I have a problem using two (or more) ports connected to the same storage.
> > 
> > Linux does not identify that the two LUNs it discovers is actually the same.
> > When I create a PV all is well. 
> > The PV gets created and is ACTIVE. However, through the other port, the PV
> > is also discovered, but is marked INACTIVE in the LVM database.
> > 
> > When I try to create a VG using the active path, LVM scans all PVs in order.
> > If it finds the INACTIVE instance first, the VG creation fails.
> > 
> > I'm using LVM 1.0.3, please let mw know if such a situation (connecting
> > storage through multiple ports) is handled better in another version, or
> > suggest how to overcome the problem.
> > 
> > Thanks,
> > Dan
> > _______________________________________________
> > 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/




More information about the linux-lvm mailing list