Date: 25 Aug 2004 12:08:53 +0200 From: Christian Laursen <xi@borderworlds.dk> To: freebsd-questions@freebsd.org Subject: Re: vinum rebuildparity, when? Message-ID: <86pt5f1qdm.fsf@borg.borderworlds.dk> In-Reply-To: <20040825083123.GD17106@pcwin002.win.tue.nl> References: <20040825083123.GD17106@pcwin002.win.tue.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
Stijn Hoop <stijn@win.tue.nl> writes: > I was wondering about the vinum 'rebuildparity' command, especially the > times when one needs to use this. I run rebuildparity if checkparity finds any errors after unclean shutdowns. > The problem is that I can't find anything in the vinum docs about this > command other than it's purpose. What I don't understand is the difference > between reviving a disk in a RAID-5 plex, and rebuilding the parity. When reviving a disk the data on that disk is calculated from the data and the parity on the other disks. I think rebuildparity only reads data and writes the parity calculated from that but for all disks. > When I start a degraded disk it starts to revive -- which led me to believe > that vinum was also recalculating the parity. Evidently it wasn't. > I'm therefore now updating my procedures to always run 'checkparity -v <plex>' > after a disk crash. That shouldn't be neccesary. > Does anyone know if this is supposed to be this way? I'm pretty sure, that it isn't. -- Christian Laursen
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86pt5f1qdm.fsf>