<div class="gmail_quote">On Tue, Jul 28, 2009 at 16:20, Liam Proven <span dir="ltr"><<a href="mailto:lproven@gmail.com">lproven@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

I have a degraded & rather unstable software RAID on my server. 1 disk<br>
does not register at all any more & the md subsystem won't mount it as<br>
being "stale". Another sometimes mounts but won't stay up for long.<br>
</blockquote><div>What does cat /proc/mdstat say? Which RAID level is it?</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><snip><br>
dd if=/dev/sdd of=/dev/sde<br>
<br>
to copy the whole of the unstable drive onto a new one.<br>
<br>
Should this work, or is it a disastrously bad idea or something?</blockquote><div>Well, that really depends... if the source drive is broken, you might need to use something other than dd to clone the disk so that it ignores bad sectors, e.g. Gohst 4 Linux...</div>

<div><br></div><div>In fact, if you are using RAID5 or above... simply re-initialize the array with a working blank drive should do the trick.</div><div><br></div><div>Good luck, </div></div>-- <br>Alvin Chang<br>