Teaching gmultipath about path cost/priority

Alexander Motin mav at FreeBSD.org
Thu May 10 15:41:47 UTC 2012


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.

-- 
Alexander Motin


More information about the freebsd-geom mailing list