Subject: Re: raidframe recovery
To: Patrick Welche <>
From: David Maxwell <>
List: netbsd-users
Date: 10/04/2004 10:16:08
On Mon, 04 Oct 2004, Patrick Welche wrote:
> We had one of those lovely powercuts which just killed 1 disk of a raidframe
> mirror. I was hoping it would all just come back up in degraded mode with
> component failed, but instead I don't have a raid0 device, so things like
> raidctl -s raid0 just give "device not configured".. Have you any pointers
> to documentation for recovery? (I find plenty on setup)

Sounds to me like:

a) You used to boot with a setup that manually configured the raid
device, and that was on a boot partition that's now gone


b) You had a kernel with 'options RAID_AUTOCONFIG', and the volume set
to autoconfig (raidctl -A yes), and you're now booting a kernel that


Do a 'raidctl -c raid0.conf raid0', where raid0.conf is the config file
you used to create the RF volume. If, due to your disk being removed,
your device names have changed, you'll need to update the conf file to
match their new names. Raidctl won't let you remap the volume with the
devices in the wrong order, it will give an error and stop the

David Maxwell,| --> Unless you have a solution
when you tell them things like that, most people collapse into a gibbering, 
unthinking mass.  This is the same reason why you probably don't tell your 
boss about everything you read on BugTraq!    - Signal 11