gmirror: Any way to speed mirror build?

Eric Anderson anderson at centtech.com
Thu Dec 22 08:32:30 PST 2005


Mark Bucciarelli wrote:

>I have to build three boxes with the same configuration (same kernel, 
>same disk size, RAID1 gmirror).
>
>Is there any way to build the mirrors more quickly?
>
>For example if I dump the file system on disk1 then newfs and restore 
>the dump to disk2 will adding disk2 to the mirror go faster?
>
>If not, is there anyway to make it faster?
>  
>

I believe these sysctl's will do the trick for you:

kern.geom.mirror.syncs_per_sec: Number of synchronizations requests per 
second
kern.geom.mirror.reqs_per_sync: Number of regular I/O requests per 
synchronization request


Eric


-- 
------------------------------------------------------------------------
Eric Anderson        Sr. Systems Administrator        Centaur Technology
Anything that works is better than anything that doesn't.
------------------------------------------------------------------------



More information about the freebsd-geom mailing list