Subject: Re: RAID in NetBSD-1.4.2
To: Rakhesh Sasidharan <rakhesh@cse.iitd.ernet.in>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: netbsd-help
Date: 09/05/2000 17:01:28
On Tue, Sep 05, 2000 at 04:03:27PM +0530, Rakhesh Sasidharan wrote:
> 
> Suppose I want to set up two hard-disks with RAID 1 (mirroring), is it
> possbile ?  I went through the ccd manpage, and it gives an option called
> mirroring -- is it the same as what I am asking ?

I think you could also use RAIDFrame for this (see raid(4)).
But if you plan to use raid 1 for something serious I would recommend
1.5_ALPHA instead. ccd is'nt gread at mirroring (it can't recover without
external intervention when a disk dies), and several problems with RAIDFrame
have been corrected since 1.4.2.

> 
> And another doubt: suppose I use wd0e and wd1e as mirrors -- then, is it
> possible that I can access the data of wd0e separately ?  That is, if I
> make ccd0 with mirror options using wd0e and wd1e; can I mount wd0e alone
> read-only (so that I won't put the mirrors out of sync)  and access the
> data in it ?

It should be possible, but you need to declare a new partition. ccd
reserves some place for its own stuff at the beggining of the disk.
The best way of doing this would be to use a ccd with only one componnent.

--
Manuel Bouyer, LIP6, Universite Paris VI.           Manuel.Bouyer@lip6.fr
--