From owner-freebsd-stable Sun Mar 16 15: 8:39 2003 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1C39437B401 for ; Sun, 16 Mar 2003 15:08:36 -0800 (PST) Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.80]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2BACA43FAF for ; Sun, 16 Mar 2003 15:08:34 -0800 (PST) (envelope-from grog@lemis.com) Received: by wantadilla.lemis.com (Postfix, from userid 1004) id 4FDF751A58; Mon, 17 Mar 2003 09:38:32 +1030 (CST) Date: Mon, 17 Mar 2003 09:38:32 +1030 From: Greg 'groggy' Lehey To: Guus der Kinderen Cc: stable@freebsd.org Subject: Re: Vinum Question Message-ID: <20030316230832.GA92716@wantadilla.lemis.com> References: <20030316214151.GA15646@leviathan.inethouston.net> <5.2.0.9.0.20030316224954.00add738@pop.planet.nl> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="UugvWAfsgieZRqgk" Content-Disposition: inline In-Reply-To: <5.2.0.9.0.20030316224954.00add738@pop.planet.nl> User-Agent: Mutt/1.4i 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 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --UugvWAfsgieZRqgk Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable [Format recovered--see http://www.lemis.com/email/email-format.html] Incorrect quotation. On Sunday, 16 March 2003 at 22:54:53 +0100, Guus der Kinderen wrote: > At 15:41 16-3-2003 -0600, David W. Chapman Jr. wrote: > >> I had a drive crash on a vinum stripeset, so I put two new drives in and >> decided to setup a mirror >> >> I noticed that only one drive was actively being used according to systat >> -iostat >> >> doing a vinum dumpconfig it appears one of the disks was not set up >> properly >> >> What do I need to do to get the other drive back online? >> >> volume mirror state up >> plex name mirror.p0 state up org concat vol mirror >> plex name mirror.p1 state faulty org concat vol mirror >> sd name mirror.p0.s0 drive d1 plex mirror.p0 len 71684096s driveoffset >> 265s state up plexoffset 0s >> sd name mirror.p1.s0 drive d2 plex mirror.p1 len 71684096s driveoffset >> 265s state empty plexoffset 0s > > I did a little experimenting with vinum on my own, and used a > (corrected) howto for vinum" > > After these operations, the configuration will not be correct. It's > possible you'd miss it if you abuse dumpconfig to display the > configuration, but the subdisks usr.p1.s0 and var.p1.s0 will be in > empty state, and the plexes usr.p1 and var.p1 will be faulty: This appears to be a partial message. I'm not sure what you're trying to say.=20 > If I'm right, that's simmilar as what's happening to you. To fix > this, do this (for the disks in the example given in that howto) > >> To start them, use the init command. No, that writes zeroes to the plex, hardly what you want. >> Alternatively, modify your configuration to: >> >> volume usr setupstate >> plex org concat >> sd length 14887091s drive drive1 >> plex org concat >> sd length 14887091s drive drive2 >> >> to indicate that any discrepancies in the content can be ignored, >> since you will be doing a newfs on the volume. David doesn't appear to want to run newfs. > Look at this page for the entire howto: > http://www.lemis.com/grog/vinum-mirrored-corrected.html - it worked > for me IIRC this is a draft. I've removed it. The correct documentation is at http://www.vinumvm.org/vinum/replacing-drive.html. Greg -- When replying to this message, please take care not to mutilate the original text. =20 For more information, see http://www.lemis.com/email.html See complete headers for address and phone numbers --UugvWAfsgieZRqgk Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.0 (FreeBSD) iD8DBQE+dQPwIubykFB6QiMRAmbXAJ9Pd7xO3GrHiohaG/V2Z+jb4ie1ugCdHIAQ 0qdWrrxuDeNcgmDxmjX9l0k= =FhK+ -----END PGP SIGNATURE----- --UugvWAfsgieZRqgk-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message