From: Yang, Fred [mailto:FYang nshs edu]
Sent: Wednesday, April 21, 2004 7:36 PM
To: 'csc cadence com'; 'LVM general discussion and development'
Subject: RE: [linux-lvm] LVM and multiple HBA ports
What storage you are using? Most storage vendor has their own multi path software, e.g. EMC's powerpath, IBM's SDD. We are using IBM ESS, and we just use the vpath device to create PV, the SDD actually do the load balancing&failover between multiple path.
From: linux-lvm-bounces redhat com [mailto:linux-lvm-bounces redhat com] On Behalf Of Chris Croswhite
Sent: Wednesday, April 21, 2004 12:17 PM
To: LVM general discussion and development
Subject: Re: [linux-lvm] LVM and multiple HBA ports
Is this a multipathed device? I first create an MD device of a particular lun like this:
mdadm -C -f -l mp -n 1 -x 1 /dev/md0 /dev/sd<x> /dev/sd<y>
where x is channel A of the device and y is channel B.
You can then verify it by:
mdadm --detail /dev/md0
Does this help?
On Wed, 2004-04-21 at 09:04, 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.
> linux-lvm mailing list
> linux-lvm redhat com
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
linux-lvm mailing list
linux-lvm redhat com
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/