From owner-freebsd-scsi@FreeBSD.ORG Mon May 23 21:28:54 2011 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C7DA11065675 for ; Mon, 23 May 2011 21:28:54 +0000 (UTC) (envelope-from mj@feral.com) Received: from ns1.feral.com (ns1.feral.com [192.67.166.1]) by mx1.freebsd.org (Postfix) with ESMTP id 702C68FC12 for ; Mon, 23 May 2011 21:28:54 +0000 (UTC) Received: from ns1.feral.com (localhost [127.0.0.1]) by ns1.feral.com (8.14.4/8.14.4) with ESMTP id p4NLSrj1072437 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 23 May 2011 14:28:53 -0700 (PDT) (envelope-from mj@feral.com) Received: from localhost (mjacob@localhost) by ns1.feral.com (8.14.4/8.14.4/Submit) with ESMTP id p4NLSqED072427; Mon, 23 May 2011 14:28:52 -0700 (PDT) (envelope-from mj@feral.com) X-Authentication-Warning: ns1.feral.com: mjacob owned process doing -bs Date: Mon, 23 May 2011 14:28:52 -0700 (PDT) From: Matthew Jacob To: Toomas Aas In-Reply-To: <20110524000921.10862o7lpz7ezx8g@webmail.raad.tartu.ee> Message-ID: References: <20110524000921.10862o7lpz7ezx8g@webmail.raad.tartu.ee> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.6 (ns1.feral.com [127.0.0.1]); Mon, 23 May 2011 14:28:53 -0700 (PDT) Cc: freebsd-scsi@freebsd.org Subject: Re: iSCSI multipathing X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: mj@feral.com List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 May 2011 21:28:54 -0000 Oh, I suspect that this won't work because you're likely confusing the target as to which connection you're coming from. That is, multipathing and iSCSI needs network multipathing, not geom multipathing. On Tue, 24 May 2011, Toomas Aas wrote: > Now that I have basic iSCSI connection working with FreeBSD 7.3 (thanks > Danny!) I'm looking at multipathing. My server has two dedicated interfaces > for iSCSI traffic, each connected to a separate gigabit switch, and each > switch in turn connected to a separate interface on my iSCSI target (EMC > Celerra NX4). I can bring up either of the two connections with iscontrol, > mount the partition from the target and use it to my heart's content. But how > should I handle multipathing? > > My initial thought was to bring up both connections simultaneously and set up > gmultipath across da0 and da1. However, as soon as I bring up both > connections, it seems that they begin to constantly disconnecting and > reconnecting: > > # iscontrol -c /etc/iscsi.conf -n celerra_path1 > iscontrol[14277]: running > iscontrol[14277]: (pass0:iscsi0:0:0:2): tagged openings now 0 > > # iscontrol -c /etc/iscsi.conf -n celerra_path2 > iscontrol[14277]: trapped signal 30 > trapped signal 30 > iscontrol: supervise going down > iscontrol[14277]: sess flags=2000040d > iscontrol[14277]: Reconnect > iscontrol[14309]: running > iscontrol[14309]: (pass1:iscsi1:0:0:2): tagged openings now 0 > iscontrol[14309]: trapped signal 30 > trapped signal 30 > iscontrol: supervise going down > iscontrol[14309]: sess flags=2000040d > iscontrol[14309]: Reconnect > iscontrol[14277]: trapped signal 30 > trapped signal 30 > iscontrol: supervise going down > iscontrol[14277]: sess flags=2000040d > iscontrol[14277]: Reconnect > iscontrol[14309]: trapped signal 30 > trapped signal 30 > iscontrol: supervise going down > iscontrol[14309]: sess flags=2000040d > iscontrol[14309]: Reconnect > iscontrol[14277]: trapped signal 30 > trapped signal 30 > iscontrol: supervise going down > iscontrol[14277]: sess flags=2000040d > iscontrol[14277]: Reconnect > > Is there a way to avoid this constant disconnect/reconnect? How are other > people handling multipathing on iSCSI? > > -- > Toomas Aas > > _______________________________________________ > freebsd-scsi@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-scsi > To unsubscribe, send any mail to "freebsd-scsi-unsubscribe@freebsd.org"