<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
<br>
On 4/2/2012 10:38 AM, Mike Miller wrote:
<blockquote
cite="mid:alpine.DEB.2.00.1204021033590.21228@taxa.psych.umn.edu"
type="cite">On Mon, 2 Apr 2012, Wayne Johnson wrote:
<br>
<br>
<blockquote type="cite">On Mon, 2 Apr 2012, Mike Miller wrote:
<br>
<br>
<blockquote type="cite">Suppose one drive failed in my RAID1
mirrored pair. Can I then simply pull the bad drive, replace
it with a good one (brand new), and have it work? Will it
just automagically rebuild the RAID1 by mirroring onto the new
drive?
<br>
<br>
This is Ubuntu software RAID1.
<br>
</blockquote>
<br>
Actually, in my experience, the drive may not have a permement
failue. You can re-activate the drive again, it will resync the
failed drive, and you are running again. If it happens too
frequently, replace the drive.
<br>
</blockquote>
<br>
How do I reactivate a drive? That sounds like a great idea.
<br>
<br>
Mike<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
</blockquote>
<br>
On the new drive you will need to create new MD raid partitions.
From there you will use mdadm to add the partition to the raid
array:<br>
<br>
mdadm --manage /dev/md0 --add /dev/sdXX<br>
(where sdXX is your partition of type md you just created)<br>
<br>
then do a "watch cat /proc/mdstat" to watch it rebuild.<br>
<br>
You may also want to reload your bootloader on the drive so that
grub is on both sides of your mirror.<br>
</body>
</html>