Subject: Re: hot spares for RAID 1 sets?
To: Malcolm Herbert <firstname.lastname@example.org>
From: Greg Oster <email@example.com>
Date: 08/15/2005 08:57:03
Malcolm Herbert writes:
> I have a host with three 120G internal disks and have a RAID 1 mirror
> set up which autoconfigures at boot to be the root device.
> I've added the third disk as a hot spare but I find that this
> information isn't retained if the machine is rebooted for any reason and
> I have to manually add it again.
> If it were not an autoconfig RAID set I'd fix the problem by tweaking
> my /etc/raid0.conf, but I'm not sure how to do it in this case ... any
RAIDframe doesn't support automatically rebuilding to the hot
spare, so hot-adding the spare with 'raidctl -a' just before you need
to rebuild is typically sufficient... (If you have a script to do
automatic rebuilding in the event of an error, then you can add
the appropriate 'raidctl -a' command to that script...)