From owner-freebsd-geom@FreeBSD.ORG Fri Jan 26 23:54:58 2007 Return-Path: X-Original-To: freebsd-geom@FreeBSD.ORG Delivered-To: freebsd-geom@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 807AA16A404 for ; Fri, 26 Jan 2007 23:54:58 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.freebsd.org (Postfix) with ESMTP id 18C1B13C484 for ; Fri, 26 Jan 2007 23:54:57 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 225E2487F7; Sat, 27 Jan 2007 00:54:56 +0100 (CET) Received: from localhost (154.81.datacomsa.pl [195.34.81.154]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id ABED745685; Sat, 27 Jan 2007 00:54:51 +0100 (CET) Date: Sat, 27 Jan 2007 00:54:09 +0100 From: Pawel Jakub Dawidek To: "Rick C. Petty" Message-ID: <20070126235409.GB64218@garage.freebsd.pl> References: <20070126055929.GA56183@keira.kiwi-computer.com> <915325.15953.qm@web30303.mail.mud.yahoo.com> <20070126191413.GA70473@keira.kiwi-computer.com> <20070126195429.GA64218@garage.freebsd.pl> <20070126211246.GA72967@keira.kiwi-computer.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="BwCQnh7xodEAoBMC" Content-Disposition: inline In-Reply-To: <20070126211246.GA72967@keira.kiwi-computer.com> X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 User-Agent: mutt-ng/devel-r804 (FreeBSD) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-2.6 required=3.0 tests=BAYES_00 autolearn=ham version=3.0.4 Cc: freebsd-geom@FreeBSD.ORG Subject: Re: clear metadata using dd? 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: Fri, 26 Jan 2007 23:54:58 -0000 --BwCQnh7xodEAoBMC Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jan 26, 2007 at 03:12:46PM -0600, Rick C. Petty wrote: > On Fri, Jan 26, 2007 at 08:54:30PM +0100, Pawel Jakub Dawidek wrote: > > On Fri, Jan 26, 2007 at 01:14:14PM -0600, Rick C. Petty wrote: > > > On Fri, Jan 26, 2007 at 05:57:23AM -0800, R. B. Riddick wrote: > > > However, I'm not a big fan of the priority placed on the I/O to sync = the > > > disks. Pretty much during a resync, the box is unusable for file/dis= k I/O > > > for a number of hours. Apps using GNOME/GTK are almost non-responsiv= e, and > > > forget about even using java/eclipse. I haven't found a good way to = tune > > > gmirror's sync. [...] > >=20 > > Have you tried setting kern.geom.mirror.sync_requests to 1? >=20 > I've fiddled with all of kern.geom.mirror.* knobs. I have no idea what > these knobs do (although I've made educated guesses), and the man page is > quite lacking. Maybe we should also introduce some delay between sync operation when there are other requests in the queue... > > > [...] I also wish you could pause the sync, restart, and unpause > > > it where it left off. [...] > >=20 > > It should just work. When you reboot during the sync process it should > > continue after the reboot from the place it stopped. >=20 > I have *never* seen this behavior, and I have restarted mid-sync a number > of times. After each time, "gmirror status" reports 0% complete. I've > tried this on 5.4, 5.5, 6.0, 6.1, but not 6.2 yet. Works just fine here: # gmirror label foo ad4d # gmirror insert foo ad6d # gmirror status Name Status Components mirror/foo DEGRADED ad4d ad6d (10%) # reboot # gmirror load # gmirror status Name Status Components mirror/foo DEGRADED ad4d ad6d (11%) --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --BwCQnh7xodEAoBMC Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFFupShForvXbEpPzQRAjVjAKDB40K9SEx1WS7EvDGShE5YiLSc/wCeMmA9 D33wOKaMX6cENI8eKZkckGQ= =RMNR -----END PGP SIGNATURE----- --BwCQnh7xodEAoBMC--