From owner-freebsd-questions@FreeBSD.ORG Wed Sep 8 01:58:51 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 32DD316A4CE for ; Wed, 8 Sep 2004 01:58:51 +0000 (GMT) Received: from ozlabs.org (ozlabs.org [203.10.76.45]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9DCAD43D2F for ; Wed, 8 Sep 2004 01:58:50 +0000 (GMT) (envelope-from grog@lemis.com) Received: from blackwater.lemis.com (blackwater.lemis.com [192.109.197.80]) by ozlabs.org (Postfix) with ESMTP id 565CD2BDB0 for ; Wed, 8 Sep 2004 11:58:48 +1000 (EST) Received: by blackwater.lemis.com (Postfix, from userid 1004) id 563A3511FA; Wed, 8 Sep 2004 11:28:46 +0930 (CST) Date: Wed, 8 Sep 2004 11:28:46 +0930 From: Greg 'groggy' Lehey To: Stijn Hoop , freebsd-questions@freebsd.org Message-ID: <20040908015846.GO82881@wantadilla.lemis.com> References: <20040825083123.GD17106@pcwin002.win.tue.nl> <86pt5f1qdm.fsf@borg.borderworlds.dk> <20040827093352.GB965@pcwin002.win.tue.nl> <86isb4py41.fsf@borg.borderworlds.dk> <20040829142657.GE7435@pcwin002.win.tue.nl> <20040902101700.GL65336@pcwin002.win.tue.nl> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="kVcb4xucqmsYUpQy" Content-Disposition: inline In-Reply-To: <20040902101700.GL65336@pcwin002.win.tue.nl> User-Agent: Mutt/1.4.1i Organization: The FreeBSD Project Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 9A1B 8202 BCCE B846 F92F 09AC 22E6 F290 507A 4223 Subject: Re: 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: Wed, 08 Sep 2004 01:58:51 -0000 --kVcb4xucqmsYUpQy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thursday, 2 September 2004 at 12:17:01 +0200, Stijn Hoop wrote: > Hi, > > back with another episode in this continuing saga: > > On Sun, Aug 29, 2004 at 04:26:57PM +0200, Stijn Hoop wrote: >> 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) >> >> vinum -> vinum[46863]: local.p0.s0 is up >> >> 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 dur= ing >> the revive. If that were the case, the parity would be incorrect at offset 0. Yes, it is recalculated. >> Greg, can you tell me if this is correct behaviour? Sorry for the slow response. I was at a conference last week. No, it's not correct. > While not having heard back yet, I had to rebuild another subdisk, > but I decided to do it off-line this time. Turns out the parity was > rebuilt ok.=20 Yes, this is what I recommended. > Might there be a bug in the online rebuild code? Looks like it. The current version of Vinum is on its last legs. Lukas Ertl is rewriting it, so don't expect much change in this version. For the time being, just accept that you should umount before rebuilding a plex. Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html Note: I discard all HTML mail unseen. Finger grog@FreeBSD.org for PGP public key. See complete headers for address and phone numbers. --kVcb4xucqmsYUpQy Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.0 (FreeBSD) iD8DBQFBPmdWIubykFB6QiMRAlzXAKCwspUhmsqbj2CbBjm2ZbUkIEOtpgCfTqCO uHs9kReHaqhxcrSDZswZNIY= =Spz+ -----END PGP SIGNATURE----- --kVcb4xucqmsYUpQy--