Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 May 2012 09:38:21 -0700
From:      Matthew Jacob <mj@feral.com>
To:        freebsd-geom@freebsd.org
Subject:   Re: Teaching gmultipath about path cost/priority
Message-ID:  <4FABEEFD.90009@feral.com>
In-Reply-To: <4FABE1A8.4000609@FreeBSD.org>
References:  <4FABE1A8.4000609@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 5/10/2012 8:41 AM, Alexander Motin wrote:
> Hi.
>
> > It'd be ideal if there was a way of teaching gmultipath about a path
> > cost/priority, so that it can make an informed decision about which
> > path to choose a) when first initializing, and b) during failover.
>
> The problem with this is how to store that in metadata. As soon as all 
> paths have exactly the same metadata and provider names are not 
> mentioned there, separate paths properties are not possible at this 
> moment.
>
> As dirty workaround, you may periodically run some script to enforce 
> active path on your specific preference.
>
That is in fact exactly how we did this at Panasas




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