<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Guys<br>
<br>
Thanks for the prompt responses. Sorry I have only just got back to
this. The powerfail was a result of moving house and my wife thinks
that unpacking and putting up shelves is more important than my
server...<br>
<br>
I have investigated some more. This array of 2 * 250GB disks was set up
as RAID5 with the aim of adding another drive later. I have bought that
drive today, but not yet installed it. In the 2 disk state it appears
to give 250GB of storage. I can provide the following extra information:<br>
<br>
# cat /proc/mdstat<br>
Personalities : [raid5]<br>
unused devices: &lt;none&gt;<br>
<br>
# mdadm --query /dev/md0<br>
/dev/md0: is an md device which is not active<br>
<br>
# mdadm --query /dev/md0<br>
/dev/md0: is an md device which is not active<br>
/dev/md0: is too small to be an md component.<br>
<br>
# mdadm --query /dev/sda1<br>
/dev/sda1: is not an md array<br>
/dev/sda1: device 0 in 2 device undetected raid5 md0.&nbsp; Use mdadm
--examine for more detail.<br>
<br>
#mdadm --query /dev/sdb1<br>
/dev/sdb1: is not an md array<br>
/dev/sdb1: device 1 in 2 device undetected raid5 md0.&nbsp; Use mdadm
--examine for more detail.<br>
<br>
# mdadm --examine /dev/md0<br>
mdadm: /dev/md0 is too small for md<br>
<br>
# mdadm --examine /dev/sda1<br>
/dev/sda1:<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Magic : a92b4efc<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Version : 00.90.02<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; UUID : c57d50aa:1b3bcabd:ab04d342:6049b3f1<br>
&nbsp; Creation Time : Thu Dec 15 15:29:36 2005<br>
&nbsp;&nbsp;&nbsp;&nbsp; Raid Level : raid5<br>
&nbsp;&nbsp; Raid Devices : 2<br>
&nbsp; Total Devices : 2<br>
Preferred Minor : 0<br>
<br>
&nbsp;&nbsp;&nbsp; Update Time : Tue Mar 21 06:25:52 2006<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; State : active<br>
&nbsp;Active Devices : 1<br>
Working Devices : 1<br>
&nbsp;Failed Devices : 2<br>
&nbsp; Spare Devices : 0<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Checksum : 2ba99f09 - correct<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Events : 0.1498318<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Layout : left-symmetric<br>
&nbsp;&nbsp;&nbsp;&nbsp; Chunk Size : 128K<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Number&nbsp;&nbsp; Major&nbsp;&nbsp; Minor&nbsp;&nbsp; RaidDevice State<br>
this&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 8&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; active sync&nbsp;&nbsp; /dev/sda1<br>
<br>
&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 8&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; active sync&nbsp;&nbsp; /dev/sda1<br>
&nbsp;&nbsp; 1&nbsp;&nbsp;&nbsp;&nbsp; 1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; faulty removed<br>
<br>
#mdadm --examine /dev/sdb1<br>
/dev/sdb1:<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Magic : a92b4efc<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Version : 00.90.02<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; UUID : c57d50aa:1b3bcabd:ab04d342:6049b3f1<br>
&nbsp; Creation Time : Thu Dec 15 15:29:36 2005<br>
&nbsp;&nbsp;&nbsp;&nbsp; Raid Level : raid5<br>
&nbsp;&nbsp; Raid Devices : 2<br>
&nbsp; Total Devices : 2<br>
Preferred Minor : 0<br>
<br>
&nbsp;&nbsp;&nbsp; Update Time : Tue Mar 21 06:23:57 2006<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; State : active<br>
&nbsp;Active Devices : 2<br>
Working Devices : 2<br>
&nbsp;Failed Devices : 0<br>
&nbsp; Spare Devices : 0<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Checksum : 2ba99e95 - correct<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Events : 0.1498307<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Layout : left-symmetric<br>
&nbsp;&nbsp;&nbsp;&nbsp; Chunk Size : 128K<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Number&nbsp;&nbsp; Major&nbsp;&nbsp; Minor&nbsp;&nbsp; RaidDevice State<br>
this&nbsp;&nbsp;&nbsp;&nbsp; 1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 8&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 17&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; active sync&nbsp;&nbsp; /dev/sdb1<br>
<br>
&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 8&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; active sync&nbsp;&nbsp; /dev/sda1<br>
&nbsp;&nbsp; 1&nbsp;&nbsp;&nbsp;&nbsp; 1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 8&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 17&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; active sync&nbsp;&nbsp; /dev/sdb1<br>
<br>
It looks to me like there is no hardware problem, but maybe I am wrong.
I cannot find any file /etc/mdadm.conf&nbsp;&nbsp;&nbsp; nor&nbsp;&nbsp; /etc/raidtab.<br>
<br>
How would you suggest I proceed? Thanks<br>
<br>
Nigel<br>
<br>
<pre wrap="">Message: 4
Date: Wed, 29 Mar 2006 13:39:57 -0600
From: Ian Pilcher <a class="moz-txt-link-rfc2396E" href="mailto:i.pilcher@comcast.net">&lt;i.pilcher@comcast.net&gt;</a>
Subject: Re: Help needed - RAID recovery from Power-fail
To: <a class="moz-txt-link-abbreviated" href="mailto:fedora-list@redhat.com">fedora-list@redhat.com</a>
Message-ID: <a class="moz-txt-link-rfc2396E" href="mailto:e0enqd$8cg$1@sea.gmane.org">&lt;e0enqd$8cg$1@sea.gmane.org&gt;</a>
Content-Type: text/plain; charset=ISO-8859-1

Nigel J. Terry wrote:
</pre>
<blockquote type="cite">
  <pre wrap="">I run FC4 (64bit).
I have an array of two disks /dev/sda1 and /dev/sdb1 as a raid5 array
/dev/md0 on top of which I run lvm and mount the whole lot as /home
  </pre>
</blockquote>
<pre wrap=""><!---->
RAID-5 requires at least three disks.  The only way that a RAID-5 array
can run with two disks is in "degraded" mode -- as if the third disk had
failed.  How did you create this thing?

</pre>
<blockquote type="cite">
  <pre wrap="">md0 is not clean
Cannot start dirty degraded array
failed to run raid set md0
  </pre>
</blockquote>
<pre wrap=""><!---->
That's relatively self-explanatory.  You're probably going to have to
dig up a third disk somewhere and add it to the array before it will
resync.

</pre>
<blockquote type="cite">
  <pre wrap="">fsck.ext3 No such file or directory while trying to open
/dev/RaidGroup/RaidVolume
  </pre>
</blockquote>
<pre wrap=""><!---->
If the RAID device can't be started, then nothing built on it "exists".

</pre>
<blockquote type="cite">
  <pre wrap="">Naturally I don't have a full backup, so somehow I need to recover if at
all possible.
  </pre>
</blockquote>
<pre wrap=""><!---->
Should be possible with a third disk.

</pre>
<br>
</body>
</html>