Teaching gmultipath about path cost/priority

Trent Nelson trent at snakebite.org
Fri May 11 00:37:35 UTC 2012


On May 10, 2012, at 1:09 PM, Alexander Motin wrote:

> On 10.05.2012 19:36, Trent Nelson wrote:
>> 
>>     Something along the lines of:
>> 
>>     + # gmultipath active FRED /dev/da2
>>     + GEOM_MULTIPATH: da2 now active path in Fred
>> 
>>     ....would be perfect!  Don't care what it's called; active, failover,
>>     switch, select, activate.
> 
> It may be not very convenient, but there is a `gmultipath rotate` 
> command to change active path.

Ah, didn't even know that existed (it's not mentioned in gmultipath(8)).
I'll look into it, thanks. 

>>     (I presume gmultipath could affect the path switch in a cleaner fashion
>>      than forcing the disk to fail?  i.e. make sure all outstanding I/O is
>>      finished first, etc.)
> 
> Now path switching doesn't waits for running requests completion. Is it 
> a problem for you?
> 

Still building the fabric, so that's completely and utterly a phantom requirement
at the moment ;-)


	Trent.


More information about the freebsd-geom mailing list