From owner-freebsd-questions Wed Jun 16 14:52:26 1999 Delivered-To: freebsd-questions@freebsd.org Received: from allegro.lemis.com (allegro.lemis.com [192.109.197.134]) by hub.freebsd.org (Postfix) with ESMTP id BAF4714ED7 for ; Wed, 16 Jun 1999 14:52:19 -0700 (PDT) (envelope-from grog@freebie.lemis.com) Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by allegro.lemis.com (8.9.1/8.9.0) with ESMTP id HAA01099; Thu, 17 Jun 1999 07:22:18 +0930 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.9.3/8.9.0) id HAA08175; Thu, 17 Jun 1999 07:22:23 +0930 (CST) Date: Thu, 17 Jun 1999 07:22:23 +0930 From: Greg Lehey To: Christopher Michaels Cc: FreeBSD Questions Subject: Re: What would happen if a vinum drive failed? Message-ID: <19990617072223.C7933@freebie.lemis.com> References: <6C37EE640B78D2118D2F00A0C90FCB4401105998@site2s1> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i In-Reply-To: <6C37EE640B78D2118D2F00A0C90FCB4401105998@site2s1>; from Christopher Michaels on Wed, Jun 16, 1999 at 12:26:35PM -0400 WWW-Home-Page: http://www.lemis.com/~grog X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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