From owner-freebsd-questions Mon Nov 1 10: 6:32 1999 Delivered-To: freebsd-questions@freebsd.org Received: from yana.lemis.com (yana.lemis.com [192.109.197.140]) by hub.freebsd.org (Postfix) with ESMTP id 8A4F615061 for ; Mon, 1 Nov 1999 10:06:19 -0800 (PST) (envelope-from grog@lemis.com) Received: from mojave.sitaranetworks.com ([199.103.141.157]) by yana.lemis.com (8.8.8/8.8.8) with ESMTP id EAA29834; Tue, 2 Nov 1999 04:36:03 +1030 (CST) (envelope-from grog@lemis.com) Message-ID: <19991101120338.43152@mojave.sitaranetworks.com> Date: Mon, 1 Nov 1999 12:03:38 -0500 From: Greg Lehey To: Greg Skouby , freebsd-questions@FreeBSD.ORG Subject: Re: vinum RAID-5 again Reply-To: Greg Lehey References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: ; from Greg Skouby on Mon, Nov 01, 1999 at 01:11:19AM -0500 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Monday, 1 November 1999 at 1:11:19 -0500, Greg Skouby wrote: > Hello, > I got this sample RAID-5 config off of lemis.com/vinum and it > seems over simplified to the point where I don't think I understand it. If > at any time in this message you think I need to go back and RTFM please > stop reading and let me know that. This is the sample config for RAID-5 > that I am referring to: > > drive e device /dev/da6h > volume raid5 > plex org raid5 512k > sd length 128m drive a > sd length 128m drive b > sd length 128m drive c > sd length 128m drive d > sd length 128m drive e OK, what you have here is a partial config, probably from the section which explains that we're building up on existing configs. You're missing the definitions for drives a to d, which were in earlier examples. > I have a couple of questions about this. Is this config only slicing up > one drive? No, it's slicing 5 drives. > That is what I gather from the config but the theory behind RAID-5 > is that you need at least 3 for there to be a point in using RAID-5. Correct. > So one of my many questions is that where do the drive a, drive b, > drive c, drive d, and drive e 's come from? Are there seperated > statements for those devices like there is for the drive e? Something such > as drive a devide /dev/da0h? When starting from scratch, the complete config file might be: drive a device /dev/da2h drive b device /dev/da3h drive c device /dev/da4h drive d device /dev/da5h drive e device /dev/da6h volume raid5 plex org raid5 512k sd length 128m drive a sd length 128m drive b sd length 128m drive c sd length 128m drive d sd length 128m drive e > I guess I am just confused. Let me hit you up with the scenario that I am > trying to use RAID-5 in. I have 4 external seagate drives of 23gigs each. > I want to use those 4 drives in a RAID-5 array. They are da0 through da3. > The drive where the OS sits is da4. I am wondering what I need to do to > get RAID-5 running across those four drives. Thanks for all of your help. > I appreciated it. Just change the numbers and remove a drive (since you only have 4 available): drive a device /dev/da0h drive b device /dev/da1h drive c device /dev/da2h drive d device /dev/da3h volume raid5 plex org raid5 512k sd length 128m drive a sd length 128m drive b sd length 128m drive c sd length 128m drive d Greg -- When replying to this message, please copy the original recipients. For more information, see http://www.lemis.com/questions.html Finger grog@lemis.com for PGP public key 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