[sclug] RedHat Software Raid

Keith Edmunds keith at midnighthax.com
Wed Jan 26 19:51:56 UTC 2005


On Wed, 26 Jan 2005 19:44:45 +0000 (GMT)
Alex Butcher <lug at assursys.co.uk> wrote:

> If you just use mdadm
> to add the partitions on hdb back again

That should work; personally I've never really got on with mdadm so I
would do:

# raidhotremove /dev/md0 /dev/hdb2 
# raidhotadd /dev/md0 /dev/hdb2

If no errors are shown then monitor progress with:

# watch cat /proc/mdstat

- assuming hda2 pairs with hdb2 (if you're not sure, lookin /etc/raidtab to
see).

You might also want to consider putting the two drives on separate IDE
controllers for (much) better performance - but maybe leave that for
another day...

Keith

-- 
----------------------------------------------------------------------
     Business computing support: http://www.tiger-computing.co.uk   
       Linux consultancy: http://www.TheLinuxConsultancy.co.uk
----------------------------------------------------------------------


More information about the Sclug mailing list