From owner-freebsd-questions@FreeBSD.ORG Thu Nov 6 15:06:16 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 07667106567D for ; Thu, 6 Nov 2008 15:06:16 +0000 (UTC) (envelope-from lists@jnielsen.net) Received: from ns1.jnielsen.net (ns1.jnielsen.net [69.55.238.237]) by mx1.freebsd.org (Postfix) with ESMTP id DF1B88FC20 for ; Thu, 6 Nov 2008 15:06:15 +0000 (UTC) (envelope-from lists@jnielsen.net) Received: from [192.168.213.128] (jn@stealth.jnielsen.net [74.218.226.254]) (authenticated bits=0) by ns1.jnielsen.net (8.12.9p2/8.12.9) with ESMTP id mA6F6EFv003204; Thu, 6 Nov 2008 10:06:15 -0500 (EST) (envelope-from lists@jnielsen.net) From: John Nielsen To: freebsd-questions@freebsd.org Date: Thu, 6 Nov 2008 10:06:13 -0500 User-Agent: KMail/1.9.10 References: <877581.16197.qm@web31702.mail.mud.yahoo.com> In-Reply-To: <877581.16197.qm@web31702.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200811061006.13445.lists@jnielsen.net> X-Virus-Scanned: ClamAV version 0.88.4, clamav-milter version 0.88.4 on ns1.jnielsen.net X-Virus-Status: Clean Cc: Ganesh kamath Subject: Re: Geom multipath X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Nov 2008 15:06:16 -0000 On Thursday 06 November 2008 07:13:36 am Ganesh kamath wrote: > I am trying to get multipath running in freebsd version 7. Are there > any configuration files that i can tweak with geom multipath?. The > paths are active/passive to the storage array and i dont seem to have > control of what path the IO takes, so i was wondering if there are any > tweaks thati could do to control the flow of IO to a specific path. Read the manpage. Thoroughly. gmultipath(8). :) There is only one active path to any device, and it is the first in the list of devices. You specify the device list when you create the provider and it is updated if errors occur and when gmultipath labeled devices reappear. I would guess/hope that the order would be preserved across a reboot but I'm not sure. That type of question might be suitable for the freebsd-geom@ mailing list. > Also, the IO doesnt resume when i try to do some cable pulls and plug > them back. If you're not using an mpt or isp disk controller then you have to initiate a rescan manually for the device to reappear. See camcontrol and/or atacontrol. When the device _does_ reappear it will be inserted at the end of the list, so I/O will continue across the alternate path which is still first in the list. JN