Setting up gmirror

Carl k0802647 at telus.net
Wed Oct 22 21:30:00 PDT 2008


Wojciech Puchar wrote:
> 
>>>>     disk will be overwritten).  Add another disk to this mirror, so 
>>>> it will
>>>>     be synchronized with existing disk:
>>>>
>>>>        gmirror label -v -b round-robin data da0
>>>
>>> add -s <very large value> like -s 1048576 to prevent splitting one 
>>> request on 2 disks.
>>
>> I thought the -s option was only applicable when using "-b split" for 
>> the balancing algorithm. Does "round-robin" not mean simply 
>> alternating between the two disks without ever splitting requests?
> 
> no. it means for example with -s 65536 and 1MB request - it will split 
> this request on 2 disks
> 

So there is no difference between "split" and "round-robin" algorithms then?

Carl                                             / K0802647


More information about the freebsd-questions mailing list