On 13/01/07, <b class="gmail_sendername">ATM Logic</b> <<a href="mailto:atmlogic@kmts.ca">atmlogic@kmts.ca</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
So, the drives are fine, and the size, etc all looks perfect, but the Array<br>is broken, and I don't know/understand it enough to put it back together, or<br>even have it... Try...</blockquote><div><br><br>man mdadm<br>
<br>This will give you idea of how to manage the array. In such cases  where one of the drive of RAID1 array goes bad just giving a command  to remove drive from array and then adding it back and giving it time to re-build is sufficient. Unless the drive has physically gone bad there shoud not be a problem and after few minutes (depending on data size) the array will report ok.
<br>Note that you have to do this to each raid device ..md1,md2,md3..individually. Raid devices start numbering from 0 and hard disk partitions from 1 ...so typically md0 will have components hda1 and hdb1<br>The command, in sequence, that I have used are:
<br><br></div>mdadm /dev/md0 -r /dev/hdb1<br>mdadm  -D /dev/md0<br>mdadm /dev/md0 -a /dev/hdb1<br>mdadm -D /dev/md0<br><br>Repeat fro all degraded arrays.Again read man pages and make sure you have backup.<br><br>HTH<br></div>
-- <br>Regards,<br>Sudev Barar