Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Nov 2008 00:53:31 -0800 (PST)
From:      My Myself <avasek@yahoo.com>
To:        John Nielsen <lists@jnielsen.net>, freebsd-questions@freebsd.org, freebsd-geom@freebsd.org
Cc:        Ganesh kamath <ganbi@yahoo.com>
Subject:   Re: Geom multipath
Message-ID:  <225776.3467.qm@web46108.mail.sp1.yahoo.com>
References:  <877581.16197.qm@web31702.mail.mud.yahoo.com> <200811061006.13445.lists@jnielsen.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Thanks!. I did know that there would be only one active path, but path switching doesnt seem to happen when one path fails. The behaviour is intermittent, so i was wondering if there are any kernel tunables that i could play with, like timeout variables etc.




________________________________
From: John Nielsen <lists@jnielsen.net>
To: freebsd-questions@freebsd.org
Cc: Ganesh kamath <ganbi@yahoo.com>
Sent: Thursday, November 6, 2008 8:36:13 PM
Subject: Re: Geom multipath

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

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"



      



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