Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Apr 2001 09:05:24 +0930
From:      Greg Lehey <grog@lemis.com>
To:        "Orville R. Weyrich.Jr" <orville@weyrich.com>
Cc:        Vallo Kallaste <vallo@matti.ee>, questions@FreeBSD.ORG
Subject:   Re: RAID
Message-ID:  <20010430090524.B47188@wantadilla.lemis.com>
In-Reply-To: <Pine.LNX.4.10.10104291553440.27150-100000@dopey.weyrich.com>; from orville@weyrich.com on Sun, Apr 29, 2001 at 03:55:51PM -0700
References:  <20010403142812.A80970@myhakas.matti.ee> <Pine.LNX.4.10.10104291553440.27150-100000@dopey.weyrich.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sunday, 29 April 2001 at 15:55:51 -0700, Orville R. Weyrich.Jr wrote:
> On Tue, 3 Apr 2001, Vallo Kallaste wrote:
>
>> On Tue, Apr 03, 2001 at 01:16:10AM -0700, "Orville R. Weyrich, JR." <orville@weyrich.com> wrote:
>>
>>> I happen to have come by six identical 4.3 GB SCSI hard drives, and was
>>> wondering about an inexpensive way to make a FreeBSD server that uses
>>> them.  My manual on FreeBSD covers version 3.2 -- I realize there are
>>> newer versions, but my search of the FreeBSD web site doesn't turn up my
>>> answer.
>>>
>>> Is there a way to implement RAID-5 with a couple standard SCSI
>>> controllers (the kind at eBay for under $100) or do I need to buy a
>>> specialized RAID-5 controller card?
>>>
>>> Am I asking for too much?  :-)  If it isn't too much, where do I go from
>>> here?
>>
>> You can use vinum volume manager, look at
>> http://www.vinumvm.org/
>>
>> Use recent -stable for implementing vinum and beware that RAID-5 is
>> considered somewhat buggy, at least that's what I gather from
>> postings in the lists. Use two controllers, three disks each.
>
> Thanks for the pointer, but I have a new problem:  The man pages say:
>
>      vinum drives are UNIX disk partitions and must have the
> partition type vinum. This is different from ccd, which expects
> partitions of type 4.2BSD.
>
> How do I create a partition type vinum?  FreeBSD fdisk seems to want
> a number not a name (e.g FreeBSD = 165).  What number do I use for
> vinum?

You use fdisk to create slices.  You use disklabel to create
partitions.

This is all described in the man page you quote:

     vinum drives are currently BSD disk partitions.  They must be of type
     vinum in order to avoid overwriting data used for other purposes.  Use
     disklabel -e to edit a partition type definition.  The following display
     shows a typical partition layout as shown by disklabel:

     8 partitions:
     #        size   offset    fstype   [fsize bsize bps/cpg]
       a:    81920   344064    4.2BSD        0     0     0   # (Cyl.  240*- 297*)
       b:   262144    81920      swap                        # (Cyl.   57*- 240*)
       c:  4226725        0    unused        0     0         # (Cyl.    0 - 2955*)
       e:    81920        0    4.2BSD        0     0     0   # (Cyl.    0 - 57*)
       f:  1900000   425984    4.2BSD        0     0     0   # (Cyl.  297*- 1626*)
       g:  1900741  2325984     vinum        0     0     0   # (Cyl. 1626*- 2955*)

     In this example, partition g may be used as a vinum partition.  Parti-
     tions a, e and f may be used as UFS file systems or ccd partitions.  Par-
     tition b is a swap partition, and partition c represents the whole disk
     and should not be used for any other purpose.

People, I'm getting a *lot* of questions which indicate that you
haven't read the documentation.  There's a lot of stuff in the man
pages, but if you're confused and you haven't read the entire man
page, it's really your own problem.

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
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




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