Subject: Re: kern/14948: raidframe "raidctl -u" and raid-autoconfig misbehavior
To: None <wgstuken@nagler-company.com>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-bugs
Date: 12/14/2001 21:00:31
On Fri, Dec 14, 2001 at 01:11:32PM +0100, wgstuken@nagler-company.com wrote:
> 
> >Description:
> 	After unconfiguring a raid device with raidctl -u the raiddevice is removed from the kernel, but the config data
> 	in the disk partition is not cleared. So the raiddevice is configured again after reboot.
> >How-To-Repeat:
> 	Setup a raiddevice and a kernel with autoconfiguration, enable autoconfiguration for the raiddevice,
> 	unconfigure the raiddevice with raidctl -u and reboot the system.
> >Fix:
> 	Reset autoconfig information in the RAID partitions when unconfiguring a raiddevice.

uh, no ! If you want the raid to definitively go away, use 'raidctl -A no'
raidctl -u is really to just to delete the kernel state, not to
throw away the raid set.

--
Manuel Bouyer <bouyer@antioche.eu.org>
--