[CentOS] software raid - better management advice needed

Wed Jun 9 23:50:53 UTC 2010
aurfalien at gmail.com <aurfalien at gmail.com>

Hi,

I've used mdadm for years now to manage software raids.

The task of using fdisk to first create partitions on a spare drive  
sitting on a shelf (raid 0 were my 1st of 2 drives failed) is kind of  
bugging me now.

After using fdisk to create the same partition layout on the new drive  
as is on the existing drive and then using mdadm to finish every thing  
up is a little tedious.

Any one have an idea how to have a sort of hot plug were I just swap  
out the drive and it rebuilds?


- aurf