Date: Sun, 29 Aug 2004 16:26:57 +0200 From: Stijn Hoop <stijn@win.tue.nl> To: freebsd-questions@freebsd.org Subject: vinum revive does not rebuild parity (was vinum rebuildparity, when?) Message-ID: <20040829142657.GE7435@pcwin002.win.tue.nl> In-Reply-To: <86isb4py41.fsf@borg.borderworlds.dk> References: <20040825083123.GD17106@pcwin002.win.tue.nl> <86pt5f1qdm.fsf@borg.borderworlds.dk> <20040827093352.GB965@pcwin002.win.tue.nl> <86isb4py41.fsf@borg.borderworlds.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
--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 <stijn@win.tue.nl> 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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040829142657.GE7435>