Teaching gmultipath about path cost/priority

Matthew Jacob mj at feral.com
Thu May 10 16:38:28 UTC 2012


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



More information about the freebsd-geom mailing list