<!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: <none><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. 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. 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>
Magic : a92b4efc<br>
Version : 00.90.02<br>
UUID : c57d50aa:1b3bcabd:ab04d342:6049b3f1<br>
Creation Time : Thu Dec 15 15:29:36 2005<br>
Raid Level : raid5<br>
Raid Devices : 2<br>
Total Devices : 2<br>
Preferred Minor : 0<br>
<br>
Update Time : Tue Mar 21 06:25:52 2006<br>
State : active<br>
Active Devices : 1<br>
Working Devices : 1<br>
Failed Devices : 2<br>
Spare Devices : 0<br>
Checksum : 2ba99f09 - correct<br>
Events : 0.1498318<br>
<br>
Layout : left-symmetric<br>
Chunk Size : 128K<br>
<br>
Number Major Minor RaidDevice State<br>
this 0 8 1 0 active sync /dev/sda1<br>
<br>
0 0 8 1 0 active sync /dev/sda1<br>
1 1 0 0 1 faulty removed<br>
<br>
#mdadm --examine /dev/sdb1<br>
/dev/sdb1:<br>
Magic : a92b4efc<br>
Version : 00.90.02<br>
UUID : c57d50aa:1b3bcabd:ab04d342:6049b3f1<br>
Creation Time : Thu Dec 15 15:29:36 2005<br>
Raid Level : raid5<br>
Raid Devices : 2<br>
Total Devices : 2<br>
Preferred Minor : 0<br>
<br>
Update Time : Tue Mar 21 06:23:57 2006<br>
State : active<br>
Active Devices : 2<br>
Working Devices : 2<br>
Failed Devices : 0<br>
Spare Devices : 0<br>
Checksum : 2ba99e95 - correct<br>
Events : 0.1498307<br>
<br>
Layout : left-symmetric<br>
Chunk Size : 128K<br>
<br>
Number Major Minor RaidDevice State<br>
this 1 8 17 1 active sync /dev/sdb1<br>
<br>
0 0 8 1 0 active sync /dev/sda1<br>
1 1 8 17 1 active sync /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 nor /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"><i.pilcher@comcast.net></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"><e0enqd$8cg$1@sea.gmane.org></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>