From owner-freebsd-questions@FreeBSD.ORG Sun Aug 29 14:26:59 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 84F1216A4CE; Sun, 29 Aug 2004 14:26:59 +0000 (GMT) Received: from pcwin002.win.tue.nl (pcwin002.win.tue.nl [131.155.71.72]) by mx1.FreeBSD.org (Postfix) with ESMTP id F406043D39; Sun, 29 Aug 2004 14:26:58 +0000 (GMT) (envelope-from stijn@pcwin002.win.tue.nl) Received: from pcwin002.win.tue.nl (orb_rules@localhost [127.0.0.1]) by pcwin002.win.tue.nl (8.12.11/8.12.11) with ESMTP id i7TEQvI2034617; Sun, 29 Aug 2004 16:26:57 +0200 (CEST) (envelope-from stijn@pcwin002.win.tue.nl) Received: (from stijn@localhost) by pcwin002.win.tue.nl (8.12.11/8.12.11/Submit) id i7TEQvRn034616; Sun, 29 Aug 2004 16:26:57 +0200 (CEST) (envelope-from stijn) Date: Sun, 29 Aug 2004 16:26:57 +0200 From: Stijn Hoop To: freebsd-questions@freebsd.org Message-ID: <20040829142657.GE7435@pcwin002.win.tue.nl> Mail-Followup-To: Stijn Hoop , freebsd-questions@freebsd.org, Greg Lehey References: <20040825083123.GD17106@pcwin002.win.tue.nl> <86pt5f1qdm.fsf@borg.borderworlds.dk> <20040827093352.GB965@pcwin002.win.tue.nl> <86isb4py41.fsf@borg.borderworlds.dk> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="n/aVsWSeQ4JHkrmm" Content-Disposition: inline In-Reply-To: <86isb4py41.fsf@borg.borderworlds.dk> User-Agent: Mutt/1.4.2.1i X-Bright-Idea: Let's abolish HTML mail! Subject: vinum revive does not rebuild parity (was vinum rebuildparity, when?) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Aug 2004 14:26:59 -0000 --n/aVsWSeQ4JHkrmm Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Aug 27, 2004 at 02:24:46PM +0200, Christian Laursen wrote: > Stijn Hoop writes: > > On Wed, Aug 25, 2004 at 12:08:53PM +0200, Christian Laursen wrote: > > > When reviving a disk the data on that disk is calculated from the data > > > and the parity on the other disks. > >=20 > > Yes, but the parity should be recalculated at the same time, right? >=20 > Yes. Witness this (after yet another fake disk crash): %%% vinum -> ls -v local.p0.s0 Subdisk local.p0.s0: Size: 31457129472 bytes (29999 MB) State: reviving Plex local.p0 at offset 0 (0 B) Reviver PID: 46863 Revive pointer: 22 GB (77%) Revive blocksize: 64 kB Revive interval: 0 seconds Drive ren (/dev/ad6s1e) at offset 135680 (132 kB) =20 vinum -> vinum[46863]: local.p0.s0 is up =20 vinum -> checkparity local.p0.s0 local.p0.s0 is not a plex vinum -> checkparity local.p0 Parity incorrect at offset 0x2020 vinum -> rebuildparity -V local.p0 Parity incorrect at offset 0x2020 Rebuilding at 2703 kB (0%) Parity incorrect at offset 0x2a6664 Rebuilding at 139 MB (0%) %%% which indicates that the parity surely is not correctly recalculated during the revive. Greg, can you tell me if this is correct behaviour? --Stijn --=20 Q: Why is Batman better than Bill Gates? A: Batman was able to beat the Penguin. --n/aVsWSeQ4JHkrmm Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFBMeexY3r/tLQmfWcRArWDAJ90PQekvPR7lvJrvgZiFNyZxWjkMwCglEaG 6jyjyJ4FPdjnu+vK+fFnohY= =NQt7 -----END PGP SIGNATURE----- --n/aVsWSeQ4JHkrmm--