<div dir="ltr">You need to plug in a new drive of equal or greater size,<div><br></div><div>create on this new drive a partition for each raided partitions(if you RAIDed the partitions rather than the whole disk) that is at least the same size as the original partitions, at it simplest you can try something like: sfdisk -d /dev/sda | sfdisk /dev/sdb<br>
<div><br></div><div style>now you can add the new disk partitions to the raid array:</div><div style><br></div><div style>mdadm --add /dev/<array> /dev/<new partition to add to the raid array></div><div style>
<br></div><div style>mdadm --detail /dev/md0(or whatever) will give you more information about the raid array, which will help you determine which partition will go into which array.</div><div style><br></div><div style>
for hardware raid, that is dependent on the raid controller.</div>
<div style><br></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jan 14, 2013 at 12:03 PM, Thomas Rieff <span dir="ltr"><<a href="mailto:trieff@greencaremankato.com" target="_blank">trieff@greencaremankato.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">TCLUG,<br>
I have an Ubuntu 12.04 server that one of the drives in the Raid 1 configuration has failed.<br>
How do I replace that drive and rebuild it???<br>
Tom<br>
<br>
Thomas Rieff<br>
GreenCare<br>
1717 3rd Avenue<br>
Mankato, MN 56001<br>
<a href="tel:%28507%29%20344-8314" value="+15073448314">(507) 344-8314</a> Office<br>
<a href="tel:%28507%29%20344-8316" value="+15073448316">(507) 344-8316</a> Fax<br>
<a href="tel:%28507%29%20381-0660" value="+15073810660">(507) 381-0660</a> Cell<br>
_______________________________________________<br>
TCLUG Mailing List - Minneapolis/St. Paul, Minnesota<br>
<a href="mailto:tclug-list@mn-linux.org">tclug-list@mn-linux.org</a><br>
<a href="http://mailman.mn-linux.org/mailman/listinfo/tclug-list" target="_blank">http://mailman.mn-linux.org/mailman/listinfo/tclug-list</a><br>
</blockquote></div><br></div>