<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2657.73">
<TITLE>RE: [linux-lvm] LVM and multiple HBA ports</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2>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.</FONT></P>

<P><FONT SIZE=2>-Fred</FONT>
</P>

<P><FONT SIZE=2>-----Original Message-----</FONT>
<BR><FONT SIZE=2>From: linux-lvm-bounces@redhat.com [<A HREF="mailto:linux-lvm-bounces@redhat.com">mailto:linux-lvm-bounces@redhat.com</A>] On Behalf Of Chris Croswhite</FONT>
<BR><FONT SIZE=2>Sent: Wednesday, April 21, 2004 12:17 PM</FONT>
<BR><FONT SIZE=2>To: LVM general discussion and development</FONT>
<BR><FONT SIZE=2>Subject: Re: [linux-lvm] LVM and multiple HBA ports</FONT>
</P>

<P><FONT SIZE=2>Is this a multipathed device?  I first create an MD device of a particular lun like this:</FONT>
<BR><FONT SIZE=2>mdadm -C -f -l mp -n 1 -x 1 /dev/md0 /dev/sd<x> /dev/sd<y></FONT>
</P>

<P><FONT SIZE=2>where x is channel A of the device and y is channel B.</FONT>
</P>

<P><FONT SIZE=2>You can then verify it by:</FONT>
<BR><FONT SIZE=2>mdadm --detail /dev/md0</FONT>
</P>

<P><FONT SIZE=2>Does this help?</FONT>
</P>

<P><FONT SIZE=2>On Wed, 2004-04-21 at 09:04, Dan Bar Dov wrote:</FONT>
<BR><FONT SIZE=2>> I have a problem using two (or more) ports connected to the same storage.</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> Linux does not identify that the two LUNs it discovers is actually the same.</FONT>
<BR><FONT SIZE=2>> When I create a PV all is well. </FONT>
<BR><FONT SIZE=2>> The PV gets created and is ACTIVE. However, through the other port, </FONT>
<BR><FONT SIZE=2>> the PV is also discovered, but is marked INACTIVE in the LVM database.</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> When I try to create a VG using the active path, LVM scans all PVs in order.</FONT>
<BR><FONT SIZE=2>> If it finds the INACTIVE instance first, the VG creation fails.</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> I'm using LVM 1.0.3, please let mw know if such a situation </FONT>
<BR><FONT SIZE=2>> (connecting storage through multiple ports) is handled better in </FONT>
<BR><FONT SIZE=2>> another version, or suggest how to overcome the problem.</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> Thanks,</FONT>
<BR><FONT SIZE=2>> Dan</FONT>
<BR><FONT SIZE=2>> _______________________________________________</FONT>
<BR><FONT SIZE=2>> linux-lvm mailing list</FONT>
<BR><FONT SIZE=2>> linux-lvm@redhat.com</FONT>
<BR><FONT SIZE=2>> <A HREF="https://www.redhat.com/mailman/listinfo/linux-lvm" TARGET="_blank">https://www.redhat.com/mailman/listinfo/linux-lvm</A></FONT>
<BR><FONT SIZE=2>> read the LVM HOW-TO at <A HREF="http://tldp.org/HOWTO/LVM-HOWTO/" TARGET="_blank">http://tldp.org/HOWTO/LVM-HOWTO/</A></FONT>
</P>

<P><FONT SIZE=2>_______________________________________________</FONT>
<BR><FONT SIZE=2>linux-lvm mailing list</FONT>
<BR><FONT SIZE=2>linux-lvm@redhat.com</FONT>
<BR><FONT SIZE=2><A HREF="https://www.redhat.com/mailman/listinfo/linux-lvm" TARGET="_blank">https://www.redhat.com/mailman/listinfo/linux-lvm</A></FONT>
<BR><FONT SIZE=2>read the LVM HOW-TO at <A HREF="http://tldp.org/HOWTO/LVM-HOWTO/" TARGET="_blank">http://tldp.org/HOWTO/LVM-HOWTO/</A></FONT>
</P>

</BODY>
</HTML>