[ale] md question

Danny Cox danscox at mindspring.com
Mon Nov 4 11:59:10 EST 2002


Robert,

On Mon, 2002-11-04 at 10:37, Robert L. Harris wrote:
>   I have a system that is currently 4 disks in a raid 5. It was 5 disks
> till 2 disks failed, one hardware.  We rebuilt it and just got the 5th
> disk back.  Instead of rebuilding it into the array I want to set it up
> as hot spare.  Can this be done cleanly without wiping out my array?  Do
> I just add it to the raidtab, stop the raid and start it or what?
> Haven't found any good documentation on this and it's a production box
> so I can't mess around.

	Check out the raidhotadd command.  It's really a link to raidstart, as
are a few others.  If your raidtab is set up correctly, then saying
'raidhotadd /dev/md0 /dev/hg4' will either 1) incorporate it into the
raid, and resync it, or 2) it'll be incorporated as the hot spare.

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

Danny


---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be 
sent to listmaster at ale dot org.






More information about the Ale mailing list