Port-i386 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Broken 6.0.1 RAIDframe



On Thu, Apr 25, 2013 at 08:49:07PM +1000, Ray Phillips wrote:
> [...]
> It won't allow me to add wd1a as a spare Manuel:
> 
> # raidctl -a /dev/wd1a raid0
> raidctl: ioctl (RAIDFRAME_ADD_HOT_SPARE) failed: Device busy

that may be because the kernel autoconfigured it as another raid device
(2 disks with autoconfigure=YES and non-matching or out of sync raid
informations may be configured as different raid devices)

what raid devices do you have configured ?
sysctl hw.disknames
should give you the list

> [...]
> I wonder if the next step might be to try to unconfigure the array
> and configure it again like this:
> 
> # raidctl -u raid0
> # raidctl -c raid0.conf raid0
> 
> Would that cause the filesystems in the array to be erased?

I'm not sure what drive will be considered up to date by the kernel then ...

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index