Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Jan 2007 00:54:09 +0100
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        "Rick C. Petty" <rick-freebsd@kiwi-computer.com>
Cc:        freebsd-geom@FreeBSD.ORG
Subject:   Re: clear metadata using dd?
Message-ID:  <20070126235409.GB64218@garage.freebsd.pl>
In-Reply-To: <20070126211246.GA72967@keira.kiwi-computer.com>
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>

next in thread | previous in thread | raw e-mail | index | archive | help

--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
	<wait a bit>
	# 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070126235409.GB64218>