Subject: Re: Booting from and dumping to RAID 1
To: Paul Mather <>
From: Manuel Bouyer <>
List: port-alpha
Date: 12/17/2002 22:54:11
On Tue, Dec 17, 2002 at 11:39:30AM -0500, Paul Mather wrote:
> I have a root partition on a RAID 1 setup, and I would like to
> boot from it.  I've flagged it as root using "raidctl -A root raid0"
> but my attempt to install boot blocks onto that RAID doesn't seem
> to yield a bootable device.
> The RAID 1 consists of sd0a and sd3a arranged as a RAID 1 on device
> raid0.  I installed boot blocks using:
> 	installboot -v /dev/rraid0c /usr/mdec/bootxx_ffs

Don't install it on the raid device, but on each disk of the raid1:
installboot -v /dev/rsd0c /usr/mdec/bootxx_ffs
installboot -v /dev/rsd1c /usr/mdec/bootxx_ffs

> So, I'm guessing that when installing boot blocks onto bootable RAIDs,
> you have to install them onto each underlying drive of the RAID
> individually.


> Can someone confirm that this is in fact the case, and that it won't
> damage the RAID component labels by doing so?  (I believe the component
> labels reserve space for disklabels, so it should be okay, but I
> thought I'd best confirm.)

Yes, it's OK.

> Finally, is there any way of specifying the dump device at boot other
> than interactively, or do you always have to do it by wiring it into
> the kernel config file using "config netbsd root on ? type ? dumps on

In fstab:
/dev/sd0b none dp dp 0 0

Manuel Bouyer <>
     NetBSD: 23 ans d'experience feront toujours la difference