[ale] Hot Spares

Danny Cox danscox at mindspring.com
Thu Dec 11 09:24:06 EST 2003


Matty,

On Tue, 2003-12-09 at 20:40, Matty wrote:
> I am reading through the software raid man pages/HOWTO, and wondered if
> you can add hotspare to an MD device on the fly? I have the following in
> my raidtab:
> 
> raiddev             /dev/md0
> raid-level                  1
> nr-raid-disks               2
> persistent-superblock       1
> nr-spare-disks              1
>    device          /dev/hda1
>    raid-disk           0
>    device          /dev/hdc1
>    raid-disk           1
>    device          /dev/hde1
>    spare-disk          0
> 
> It looks like "raidhotadd /dev/md0 /dev/hde1" should work, but I don't
> have a test system handy at the moment.

	That's correct.  It will add it, and do nothing else but update
/proc/mdstat with the info.  It won't need to sync anything, assuming
the other disks are working okay.

-- 
kernel, n.: A part of an operating system that preserves the
medieval traditions of sorcery and black art.

Danny



More information about the Ale mailing list