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/07/2000 14:25:35
On Thu, Sep 07, 2000 at 02:23:33PM +0530, Rakhesh Sasidharan wrote:
>
> Yes, I think I shall wait for NetBSD-1.5. BTW, I tried using raid myself
> on NetBSD-1.4.2 -- but I was confused abt "arrays" and "rows" and
> "columns" etc. which I was supposed to fill up in the configuration file.
> I had two primary partitions of 4 MB each (made just for this purpose) --
> which were wd0g and wd0h, and so I gave the number of rows as 1, nor of
> columns as 2 (after reading the manpage), and RAID 1, and tried
> configuring it. But, the kernel just gave a whole screenful of error
> messages (abt the columns and rows being wrong or something like that). I
> left it after that.
>
> But, I went through an bsdtoday article pointed out to me by a
> fellow-poster, and in that it says I should first mark the partitions I
> want to use for RAID1 as "RAID." I haven't checked up to see it it works,
> but if that's how we are to do things, how come the manpage doesn't
> mention it. (Coz as far as I think, the steps I took and what the article
> says are ditto except on this point). I hope you would advise me on this
> point.
>
> I can pass along the errors that I got (if syslogd has recorded it), and
> also my config files if you need.
Well, try again with partition type 'RAID' and see if it works :)
>
> Err, I think I made a mistake. Does ccd support mirroring ? ccd for
> OpenBSD has this option in its manpage; ccd for NetBSD-1.4.2 does not.
No, mirroring was removed from ccd when RAIDframe was integrated, because
ccd's mirroring was broken and RAIDframe does a much better job.
> I guess my question should have been abt RAID 1, instead of ccd. But
> still, I am not clear as to what you have suggested. What do you mean
> declare a new partition ? Make a disklabel entry for it, or what ... ?
If you already have the prartitions you want to mirror, just edit the
disklabel (disklabel -e) and change the type to RAID.
--
Manuel Bouyer, LIP6, Universite Paris VI. Manuel.Bouyer@lip6.fr
--