On 01/07/11 00:18, Wayne Stallwood wrote:
On 30/06/11 09:05, Mark Rogers wrote:
At the moment I'm using the "hardware" RAID. I should be able to remove one disk from the array and still boot from the other, then create a new degraded md array with the second disk, copy everything across, boot from the md array, add the second first disk to the array.
That being the case then I would be going about it in a similar way (adjusting as needed the instructions if you are running grub2) to this
http://www.howtoforge.com/software-raid1-grub-boot-debian-etch
Oh I forgot to mention an important step...
Once you have it all working get mail up and running on the box and edit mdadm.conf and adjust MAILADDR to point to somewhere where you are likely to read the alerts. Redundant arrays are no use if you aren't made aware when the array is degraded because a member has died :)
Otherwise just divert root mail to somewhere sensible as I think it defaults to sending the alerts there. Then use
mdadm -monitor /dev/md0 --test
to check the alerts work.