Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Jun 1999 07:22:23 +0930
From:      Greg Lehey <grog@lemis.com>
To:        Christopher Michaels <ChrisMic@clientlogic.com>
Cc:        FreeBSD Questions <questions@FreeBSD.ORG>
Subject:   Re: What would happen if a vinum drive failed?
Message-ID:  <19990617072223.C7933@freebie.lemis.com>
In-Reply-To: <6C37EE640B78D2118D2F00A0C90FCB4401105998@site2s1>; from Christopher Michaels on Wed, Jun 16, 1999 at 12:26:35PM -0400
References:  <6C37EE640B78D2118D2F00A0C90FCB4401105998@site2s1>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday, 16 June 1999 at 12:26:35 -0400, Christopher Michaels wrote:
>> -----Original Message-----
>> From:	Greg Lehey [SMTP:grog@lemis.com]
>> Sent:	Tuesday, June 15, 1999 9:28 PM
>> To:	Christopher Michaels
>> Cc:	FreeBSD Questions
>> Subject:	Re: What would happen if a vinum drive failed?
>>
>> On Tuesday, 15 June 1999 at 16:46:35 -0400, Christopher Michaels wrote:
>>> Hello,
>>> I have a simple question... I have a vinum volume that consists of 3
>>> concatenated drives.  If say.. the 3rd drive were to fail, is the whole
>>> volume trashed? or just the information on the 3rd drive?
>>
>> Is this your configuration?
>>
> 	yes
>
>> drive 1 device /dev/da1h
>> drive 2 device /dev/da2h
>> drive 3 device /dev/da3h
>> volume foo
>>   plex org concat
>>     sd size 4g drive 1
>>     sd size 4g drive 2
>>     sd size 4g drive 3
>>
>> And you're asking what happens if drive 3 (subdisk foo.p0.s2) dies?
>>
> 	yes
>
>> In this case, your drive stays up, your plex (foo.p0) is degraded, and
>> your subdisk is obviously down.  If you're very lucky, you can access
>> some data on the drive, but effectively this is not a good way to do
>> things, since you can't control the layout of files in a ufs file
>> system.
>>
> 	Ok, that's what I wanted to know.  I was under the impression that
> if drive 3 failed the whole volume was then be unavailable.  But if the
> volume would still be available, I assume I could recover what was on drive
> 1 and drive 2 and then, work from there.

Not really.  As I said above, you can't control the layout of files in
a ufs file system.  It's unlikely that you would be able to recover
much.

>> If you want protection against drive failure, you have two choices:
>> RAID-1 or RAID-5.  Corresponding configurations would be:
>>
> 	Nah, not at this point, it's not mission critical.  And
> unfortunately my drives are of different sizes otherwise I would have setup
> striping.  Thanks for the info though.

Striping may improve performance, but it won't make the volume more
resilient.

> 	Thanks again for the info, and thanks for vinum, it really has made
> life a little easier on me.

You're welcome.

Greg
--
See complete headers for address, home page and phone numbers
finger grog@lemis.com for PGP public key


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?19990617072223.C7933>