Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Aug 2002 12:26:55 +0930
From:      Greg 'groggy' Lehey <grog@FreeBSD.org>
To:        Stephen Hoover <shooverfbn@442spot.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Questions about vinum and failure of root partition
Message-ID:  <20020806025655.GH86771@wantadilla.lemis.com>
In-Reply-To: <002f01c23cf3$ccc2c070$6602a8c0@swbell.net>
References:  <023801c23cc0$61cbaa80$320210ac@dcicorp.com> <20020806010049.GP83171@wantadilla.lemis.com> <002f01c23cf3$ccc2c070$6602a8c0@swbell.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020806025655.GH86771>