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 SMTP id i23J3u827802 for ; Wed, 3 Mar 2004 14:03:56 -0500 Received: from web60910.mail.yahoo.com (web60910.mail.yahoo.com [216.155.196.86]) by mx1.redhat.com (8.11.6/8.11.6) with SMTP id i23J3ub19603 for ; Wed, 3 Mar 2004 14:03:56 -0500 Message-ID: <20040303190349.14912.qmail@web60910.mail.yahoo.com> From: =?iso-8859-1?q?Eduardo=20Dias?= MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-291843072-1078340629=:14046" Content-Transfer-Encoding: 8bit Subject: [linux-lvm] LVM Multi Path Support Sender: linux-lvm-admin@redhat.com Errors-To: linux-lvm-admin@redhat.com Reply-To: linux-lvm@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: LVM general discussion and development List-Unsubscribe: , List-Archive: Date: Wed Mar 3 17:33:02 2004 List-Id: To: linux-lvm@redhat.com --0-291843072-1078340629=:14046 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Dear All, I would like to know if LVM Linux has (or will) support to multi path links? Regards, Eduardo Dias --------------------------------- Yahoo! Mail - O melhor e-mail do Brasil. Abra sua conta agora! --0-291843072-1078340629=:14046 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit
Dear All,
 
I would like to know if LVM Linux has (or will) support to multi path links?
 
Regards,
 
Eduardo Dias



Yahoo! Mail - O melhor e-mail do Brasil. Abra sua conta agora! --0-291843072-1078340629=:14046-- From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from reti (vpn50-18.rdu.redhat.com [172.16.50.18]) by pobox.surrey.redhat.com (8.12.8/8.12.8) with ESMTP id i249Txuq017030 for ; Thu, 4 Mar 2004 09:29:59 GMT Received: from joe by reti with local (Exim 4.30) id 1AypBv-000708-0t for linux-lvm@redhat.com; Thu, 04 Mar 2004 09:30:55 +0000 From: Joe Thornber Subject: Re: [linux-lvm] LVM Multi Path Support Message-ID: <20040304093054.GS662@reti> References: <20040303190349.14912.qmail@web60910.mail.yahoo.com> Mime-Version: 1.0 Content-Disposition: inline In-Reply-To: <20040303190349.14912.qmail@web60910.mail.yahoo.com> Sender: linux-lvm-admin@redhat.com Errors-To: linux-lvm-admin@redhat.com Reply-To: linux-lvm@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: LVM general discussion and development List-Unsubscribe: , List-Archive: Date: Thu Mar 4 04:28:02 2004 List-Id: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-lvm@redhat.com On Wed, Mar 03, 2004 at 04:03:49PM -0300, Eduardo Dias wrote: > Dear All, > > I would like to know if LVM Linux has (or will) support to multi path links? There is a v. old patch kicking around that adds some sort of multipath support to LVM1. Search this list to find it. It hasn't ever been part of an official release. LVM2 doesn't support multipath but we're currently developing a multipath target for device-mapper, and Christophe Varoqui is writing a standalone userland tool to drive it. The current thinking is that the LVM2 tools will just use the devices that Christophes tool creates. - Joe 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 SMTP id i250DQ812850 for ; Thu, 4 Mar 2004 19:13:26 -0500 Received: from gw.mml.usyd.edu.au (client-101.mml.usyd.edu.au [129.78.188.101]) by mx1.redhat.com (8.11.6/8.11.6) with SMTP id i250DOb11445 for ; Thu, 4 Mar 2004 19:13:25 -0500 Received: from localhost (localhost.localdomain [127.0.0.1]) by gw.mml.usyd.edu.au (Postfix) with ESMTP id 0D16F465A for ; Fri, 5 Mar 2004 11:11:48 +1100 (EST) Received: from gw.mml.usyd.edu.au ([127.0.0.1]) by localhost (gw.mml.usyd.edu.au [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 04977-04 for ; Fri, 5 Mar 2004 11:11:47 +1100 (EST) Received: from cerebus.mml.usyd.edu.au (cerebus.mml.usyd.edu.au [192.168.1.82]) by gw.mml.usyd.edu.au (Postfix) with ESMTP id 808614651 for ; Fri, 5 Mar 2004 11:11:47 +1100 (EST) From: Franc Carter Subject: Re: [linux-lvm] LVM Multi Path Support References: <20040303190349.14912.qmail@web60910.mail.yahoo.com> <20040304093054.GS662@reti> In-Reply-To: <20040304093054.GS662@reti> MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200403051112.38529.franc@tech.sirca.org.au> Sender: linux-lvm-admin@redhat.com Errors-To: linux-lvm-admin@redhat.com Reply-To: linux-lvm@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: LVM general discussion and development List-Unsubscribe: , List-Archive: Date: Thu Mar 4 19:11:08 2004 List-Id: Content-Type: text/plain; charset="us-ascii" To: linux-lvm@redhat.com Hi, I have a related question. I have just set up LVM on the LUNS from a HDS-9570 with a qla-2300 driver in failover mode. This results in each LUN being exposed to the operating system twice, once for each controller. However when a controller fails the card transparently maps the requests to the secondary controller so that the original scsi target still works. LVM appears to do the 'right thing for me' in that it recognises that the the two PVs are one (I assume via the UUID) and ignore the second LUN. I'd like to know if this is just good luck, or if it's behaviour I can rely ? thanks On Thursday 04 March 2004 20:30, Joe Thornber wrote: > On Wed, Mar 03, 2004 at 04:03:49PM -0300, Eduardo Dias wrote: > > Dear All, > > > > I would like to know if LVM Linux has (or will) support to multi path links? > > There is a v. old patch kicking around that adds some sort of multipath > support to LVM1. Search this list to find it. It hasn't ever been > part of an official release. > > LVM2 doesn't support multipath but we're currently developing a > multipath target for device-mapper, and Christophe Varoqui is writing > a standalone userland tool to drive it. The current thinking is that > the LVM2 tools will just use the devices that Christophes tool > creates. > > - Joe > > _______________________________________________ > 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/ > > -- Franc Carter Ph:61-2-8374-5071 Fax: 61-2-8374-5070 Systems Manager, SIRCA Ltd http://www.sirca.org.au/ DISCLAIMER: The contents of this email, inclusive of attachments, may be legally privileged and confidential. Any unauthorised use of the contents is expressly prohibited. If you have received this message in error or are not the intended recipient, you should destroy the email message along with any attachment(s). Unintended recipients of this email are prohibited from retaining, disclosing, distributing or using any information contained herein. This email is also subject to copyright. No part of it should be reproduced, adapted or transmitted without the written consent of the copyright owner. From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from reti (vpn50-31.rdu.redhat.com [172.16.50.31]) by pobox.surrey.redhat.com (8.12.8/8.12.8) with ESMTP id i2596euq031786 for ; Fri, 5 Mar 2004 09:06:40 GMT Received: from joe by reti with local (Exim 4.30) id 1AzBIz-000114-R6 for linux-lvm@redhat.com; Fri, 05 Mar 2004 09:07:41 +0000 From: Joe Thornber Subject: Re: [linux-lvm] LVM Multi Path Support Message-ID: <20040305090741.GD744@reti> References: <20040303190349.14912.qmail@web60910.mail.yahoo.com> <20040304093054.GS662@reti> <200403051112.38529.franc@tech.sirca.org.au> Mime-Version: 1.0 Content-Disposition: inline In-Reply-To: <200403051112.38529.franc@tech.sirca.org.au> Sender: linux-lvm-admin@redhat.com Errors-To: linux-lvm-admin@redhat.com Reply-To: linux-lvm@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: LVM general discussion and development List-Unsubscribe: , List-Archive: Date: Fri Mar 5 04:05:00 2004 List-Id: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-lvm@redhat.com On Fri, Mar 05, 2004 at 11:12:38AM +1100, Franc Carter wrote: > LVM appears to do the 'right thing for me' in that it recognises > that the the two PVs are one (I assume via the UUID) and ignore > the second LUN. Yes, LVM writes a label to the start of a PV to identify it. > I'd like to know if this is just good luck, or if it's behaviour > I can rely ? I don't think it's defined which of the 2 devices LVM will choose, does this matter ? If so you could always set up a filter in lvm.conf to remove one (probably advisable anyway). - Joe 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 SMTP id i25ATY801720 for ; Fri, 5 Mar 2004 05:29:34 -0500 Received: from gw.mml.usyd.edu.au (client-101.mml.usyd.edu.au [129.78.188.101]) by mx1.redhat.com (8.11.6/8.11.6) with SMTP id i25ATWb17536 for ; Fri, 5 Mar 2004 05:29:33 -0500 Received: from localhost (localhost.localdomain [127.0.0.1]) by gw.mml.usyd.edu.au (Postfix) with ESMTP id EC401465F for ; Fri, 5 Mar 2004 21:27:55 +1100 (EST) Received: from gw.mml.usyd.edu.au ([127.0.0.1]) by localhost (gw.mml.usyd.edu.au [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 06916-04 for ; Fri, 5 Mar 2004 21:27:55 +1100 (EST) Received: from prog.mml.usyd.edu.au (prog.mml.usyd.edu.au [192.168.1.3]) by gw.mml.usyd.edu.au (Postfix) with ESMTP id 71E1B465A for ; Fri, 5 Mar 2004 21:27:55 +1100 (EST) From: Franc Carter Subject: Re: [linux-lvm] LVM Multi Path Support Message-ID: <20040305102755.GA16780@prog.mml.usyd.edu.au> References: <20040303190349.14912.qmail@web60910.mail.yahoo.com> <20040304093054.GS662@reti> <200403051112.38529.franc@tech.sirca.org.au> <20040305090741.GD744@reti> Mime-Version: 1.0 Content-Disposition: inline In-Reply-To: <20040305090741.GD744@reti> Sender: linux-lvm-admin@redhat.com Errors-To: linux-lvm-admin@redhat.com Reply-To: linux-lvm@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: LVM general discussion and development List-Unsubscribe: , List-Archive: Date: Fri Mar 5 16:35:01 2004 List-Id: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-lvm@redhat.com Ahh, that makes sense (the undefined first PV) and explains why the 'current-controller' is not the 'default-controller' for one of the LUNs It doesn't seem to matter if it uses the other device. I think it just causes the array to do a tresspass and swap controllers. The downside being that I can't reliably balance the I/O across the two controllers. But that's not catastrophic. I'm using lvm1, which I don't beleive has an lvm.conf - correct ? thanks On Fri, Mar 05, 2004 at 09:07:41AM +0000, Joe Thornber wrote: > On Fri, Mar 05, 2004 at 11:12:38AM +1100, Franc Carter wrote: > > LVM appears to do the 'right thing for me' in that it recognises > > that the the two PVs are one (I assume via the UUID) and ignore > > the second LUN. > > Yes, LVM writes a label to the start of a PV to identify it. > > > I'd like to know if this is just good luck, or if it's behaviour > > I can rely ? > > I don't think it's defined which of the 2 devices LVM will choose, > does this matter ? If so you could always set up a filter in lvm.conf > to remove one (probably advisable anyway). > > - Joe > > _______________________________________________ > 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/ -- Franc Carter Ph:61-2-8374-5071 Fax: 61-2-8374-5070 Systems Manager, SIRCA Ltd http://www.sirca.org.au/ DISCLAIMER: The contents of this email, inclusive of attachments, may be legally privileged and confidential. Any unauthorised use of the contents is expressly prohibited. If you have received this message in error or are not the intended recipient, you should destroy the email message along with any attachment(s). Unintended recipients of this email are prohibited from retaining, disclosing, distributing or using any information contained herein. This email is also subject to copyright. No part of it should be reproduced, adapted or transmitted without the written consent of the copyright owner. From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from reti (vpn50-34.rdu.redhat.com [172.16.50.34]) by pobox.surrey.redhat.com (8.12.8/8.12.8) with ESMTP id i289V6uq029152 for ; Mon, 8 Mar 2004 09:31:06 GMT Received: from joe by reti with local (Exim 4.30) id 1B0H7U-0003Fh-Dm for linux-lvm@redhat.com; Mon, 08 Mar 2004 09:32:20 +0000 From: Joe Thornber Subject: Re: [linux-lvm] LVM Multi Path Support Message-ID: <20040308093220.GH4872@reti> References: <20040303190349.14912.qmail@web60910.mail.yahoo.com> <20040304093054.GS662@reti> <200403051112.38529.franc@tech.sirca.org.au> <20040305090741.GD744@reti> <20040305102755.GA16780@prog.mml.usyd.edu.au> Mime-Version: 1.0 Content-Disposition: inline In-Reply-To: <20040305102755.GA16780@prog.mml.usyd.edu.au> Sender: linux-lvm-admin@redhat.com Errors-To: linux-lvm-admin@redhat.com Reply-To: linux-lvm@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: LVM general discussion and development List-Unsubscribe: , List-Archive: Date: Mon Mar 8 04:29:02 2004 List-Id: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-lvm@redhat.com On Fri, Mar 05, 2004 at 09:27:55PM +1100, Franc Carter wrote: > I'm using lvm1, which I don't beleive has an lvm.conf - correct ? Correct. - Joe 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 SMTP id i28CAG802530 for ; Mon, 8 Mar 2004 07:10:16 -0500 Received: from server6.hostpoint.ch (server6.hostpoint.ch [217.26.52.16]) by mx1.redhat.com (8.12.10/8.12.10) with SMTP id i28CAEST007349 for ; Mon, 8 Mar 2004 07:10:14 -0500 Received: from 62-2-186-249.sefanet.ch ([62.2.186.249] helo=markus.org) by server6.hostpoint.ch with asmtp (TLSv1:RC4-MD5:128) (Exim 4.24) id 1B0JaG-0004iQ-KV for linux-lvm@redhat.com; Mon, 08 Mar 2004 13:10:12 +0100 Message-ID: <404C628D.1030608@markus.org> From: Markus Baertschi MIME-Version: 1.0 Subject: Re: [linux-lvm] LVM Multi Path Support References: <20040303190349.14912.qmail@web60910.mail.yahoo.com> In-Reply-To: <20040303190349.14912.qmail@web60910.mail.yahoo.com> Content-Transfer-Encoding: quoted-printable Sender: linux-lvm-admin@redhat.com Errors-To: linux-lvm-admin@redhat.com Reply-To: linux-lvm@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: LVM general discussion and development List-Unsubscribe: , List-Archive: Date: Mon Mar 8 07:08:02 2004 List-Id: Content-Type: text/plain; charset="iso-8859-1"; format="flowed" To: linux-lvm@redhat.com I'd like to relate my experiences with multipath support and LVM. We have an installation with several DB servers connected with fiber to a SAN unit. All connections are doubled. - Two fiber cards (Qlogic) - Two switches - SAN unit with dual controller (IBM FAStT 700) We have tested the failover facilities provided by the qla2300-fo driver (p= ulled fibers) and they work. Each disk shows up once and the driver takes c= are of the failover facility. However, we had one very nasty experience last summer. After rebooting (for= an unrelated reason) the machines didn't came back up. The vgscan during b= oot dumped core. The reson was that somebody reconfigured the SAN unit and = the controllers now had different WWNames. As a result the disks showed up = twice and our (out of date) LVM could not handle it. Pulling one fiber/path= temporarily fixed our problem. Upgrading to the latest LVM code fixed the = coredump also. But we have not tested if failover would work that way. Markus --=20 Markus Baertschi Phone: ++41 (21) 807 1677 Bas du Ross=EF=BF=BD 14b Fax : ++41 (21) 807 1678 CH-1163, Etoy Email: markus@markus.org Switzerland Homepage: www.markus.org