From owner-freebsd-geom@FreeBSD.ORG Thu Dec 22 16:32:30 2005 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 182C816A41F for ; Thu, 22 Dec 2005 16:32:30 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from mh1.centtech.com (moat3.centtech.com [207.200.51.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 87A1043D5F for ; Thu, 22 Dec 2005 16:32:29 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [10.177.171.220] (neutrino.centtech.com [10.177.171.220]) by mh1.centtech.com (8.13.1/8.13.1) with ESMTP id jBMGWSam096348; Thu, 22 Dec 2005 10:32:28 -0600 (CST) (envelope-from anderson@centtech.com) Message-ID: <43AAD516.9020100@centtech.com> Date: Thu, 22 Dec 2005 10:32:22 -0600 From: Eric Anderson User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051204) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Mark Bucciarelli References: <20051222162821.GA2836@rabbit> In-Reply-To: <20051222162821.GA2836@rabbit> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.87.1/1213/Mon Dec 19 08:48:34 2005 on mh1.centtech.com X-Virus-Status: Clean Cc: freebsd-geom@freebsd.org Subject: Re: gmirror: Any way to speed mirror build? X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Dec 2005 16:32:30 -0000 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. ------------------------------------------------------------------------