Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Nov 2008 10:06:13 -0500
From:      John Nielsen <lists@jnielsen.net>
To:        freebsd-questions@freebsd.org
Cc:        Ganesh kamath <ganbi@yahoo.com>
Subject:   Re: Geom multipath
Message-ID:  <200811061006.13445.lists@jnielsen.net>
In-Reply-To: <877581.16197.qm@web31702.mail.mud.yahoo.com>
References:  <877581.16197.qm@web31702.mail.mud.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200811061006.13445.lists>