From owner-freebsd-questions Mon Aug 5 19:57: 1 2002 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 AAD8A37B400 for ; Mon, 5 Aug 2002 19:56:59 -0700 (PDT) Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.80]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1D2D743E42 for ; Mon, 5 Aug 2002 19:56:58 -0700 (PDT) (envelope-from grog@lemis.com) Received: by wantadilla.lemis.com (Postfix, from userid 1004) id BD18981470; Tue, 6 Aug 2002 12:26:55 +0930 (CST) Date: Tue, 6 Aug 2002 12:26:55 +0930 From: Greg 'groggy' Lehey To: Stephen Hoover Cc: freebsd-questions@freebsd.org Subject: Re: Questions about vinum and failure of root partition Message-ID: <20020806025655.GH86771@wantadilla.lemis.com> References: <023801c23cc0$61cbaa80$320210ac@dcicorp.com> <20020806010049.GP83171@wantadilla.lemis.com> <002f01c23cf3$ccc2c070$6602a8c0@swbell.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <002f01c23cf3$ccc2c070$6602a8c0@swbell.net> User-Agent: Mutt/1.3.99i 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-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Monday, 5 August 2002 at 21:48:52 -0500, Stephen Hoover wrote: > Greg Lehey wrote: >>> Could some give me a brief rundown of how to recover the data from a >>> mirrored drive (partition) if the primary drive fails and the >>> FreeBSD config is lost? >> >> It's automatic. >> >> You don't need to do anything. The configuration is stored on the >> drives themselves. When Vinum starts, it checks what it has left and >> what it can do with it. If you lose one half of your mirror, then it >> will continue with the other. > > Hmmm ok, I must be missing something here. Let's say I had /usr > and /home mirrored. Now the root partition (that is the boot partition) > is NOT mirrored and the first drive fails. (wiping out the FreeBSD > config altogether.) What do you mean by "FreeBSD config"? > Assuming that I have installed a new disk, partitioned it to match > the partitions on the second drive, reinstall FreeBSD and run vinum > - it will see the vinum volume on the second drive Yes. > and automatically rebuild the mirror? No. You have to do that manually. You also need to identify the new disk as containing the other Vinum drive. > I guess I am confused because I thought all the config was saved to > /dev/vinum on the first drive? The drive that died? The config is saved to every drive. That's why you shouldn't have more than one drive per spindle. Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply. For more information, see http://www.lemis.com/questions.html See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message