From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx1.redhat.com (mx1.redhat.com [172.16.48.31]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i5AM7G019362 for ; Thu, 10 Jun 2004 18:07:16 -0400 Received: from localhost.localdomain (app.clientdynamics.net [66.45.103.235] (may be forged)) by mx1.redhat.com (8.12.10/8.12.10) with ESMTP id i5AM7Fi5004277 for ; Thu, 10 Jun 2004 18:07:16 -0400 Received: from [127.0.0.1] (localhost.localdomain [127.0.0.1]) by localhost.localdomain (8.12.11/8.12.8) with ESMTP id i5AM6GL4030239 for ; Thu, 10 Jun 2004 17:06:16 -0500 Message-ID: <40C8DB58.9090203@coremetrics.com> Date: Thu, 10 Jun 2004 17:06:16 -0500 From: Austin Gonyou MIME-Version: 1.0 Subject: Re: [linux-lvm] Multipath without round-robin? References: <20040610203309.GA18186@c9x.org> In-Reply-To: <20040610203309.GA18186@c9x.org> Content-Type: multipart/alternative; boundary="------------060102000600040105090602" Reply-To: LVM general discussion and development List-Id: LVM general discussion and development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , List-Id: To: LVM general discussion and development This is a multi-part message in MIME format. --------------060102000600040105090602 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit You could just use the qlogic hba driver failover. ql2xfailover=1 in your rmodules.conf Jedi/Sector One wrote: > Hello. > > I'm trying to get multipath working with LVM2 (2.6.7-rc2-udm2 > kernel) with > an LSI storage array. > > The array has two FC controllers, HBAs are two identical Qlogic 2340. > > On the array, "preferred" controllers are assigned to each LUN. > > Unfortunately, it looks like dm-multipath always does round-robin load > balancing. > > The result is that the array fills up the (SANtricity) error log with > messages like "LUN was accessed through the wrong controller". > > Is there any way to keep failover abilities without load balancing? > > Best regards, > > -Frank. > > _______________________________________________ > linux-lvm mailing list > linux-lvm@redhat.com > https://www.redhat.com/mailman/listinfo/linux-lvm > read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/ > --------------060102000600040105090602 Content-Type: text/html; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable You could just use the qlogic hba driver failover.

ql2xfailover=3D1 in your rmodules.conf

Jedi/Sector One wrote:
[linux-lvm] Multipath without round-robin?

=EF=BF=BD Hello.
=EF=BF=BD
=EF=BF=BD I'm trying to get multipath working with LVM2 (2.6.7-rc2-udm2 kernel) with
an LSI storage array.

=EF=BF=BD The array has two FC controllers, HBAs are = two identical Qlogic 2340.
=EF=BF=BD
=EF=BF=BD On the array, "preferred" controllers are assi= gned to each LUN.
=EF=BF=BD
=EF=BF=BD Unfortunately, it looks like dm-multipath alwa= ys does round-robin load
balancing.

=EF=BF=BD The result is that the array fills up the (SANtricity) error log with
messages like "LUN was accessed through the wrong controller".

=EF=BF=BD Is there any way to keep failover abilities without load balancing?
=EF=BF=BD
=EF=BF=BD Best regards,
=EF=BF=BD
=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD -= Frank.
=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD <= /font>
_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.or= g/HOWTO/LVM-HOWTO/


--------------060102000600040105090602--