<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-15"
http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Christopher Chan wrote:
<blockquote cite="mid:4C32861D.3080804@bradbury.edu.hk" type="cite">
<pre wrap="">On Tuesday, July 06, 2010 09:13 AM, drew einhorn wrote:
</pre>
<blockquote type="cite">
<pre wrap="">
On Mon, Jul 5, 2010 at 6:51 PM, Christopher Chan
<<a class="moz-txt-link-abbreviated" href="mailto:christopher.chan@bradbury.edu.hk">christopher.chan@bradbury.edu.hk</a>
<a class="moz-txt-link-rfc2396E" href="mailto:christopher.chan@bradbury.edu.hk"><mailto:christopher.chan@bradbury.edu.hk></a>> wrote:
On Tuesday, July 06, 2010 01:30 AM, Matthias Brennwald wrote:
> Dear all
>
> Last weekend my server "crashed". The machine was running Ubuntu
Server 10.04. The file system (except /boot, which is on a different
disk) was on a md software RAID (3 disks in RAID 5, plus 1 spare
disk). This morning I tried to log in remotely using ssh, but
immediately after login the terminal was closed again (so the
machine was still running somehow, but it did not want me to be
logged in).
>
> I didn't think much and tried to reboot the machine (I forgot to
try logging in directly at the machine). During booting I got a
message that the md RAID was degraded, and if I want to continue
booting. I answered yes. Immediately after this, I got a message
saying that a device/disk UUID could not be found and then got an
"(initramfs)" shell.
>
> I am able to boot using a rescue CD (I used the Ubuntu alternate
installer disk, because the Live CD does not have md/softraid
support), but I don't really know how to proceed in order to fix
things. I would greatly appreciate any hints on how to get the
machine up and running again. For instance, which commands should I
try after booting into the Ubuntu rescue CD?
mdadm --assemble --scan
I believe that after booting the live cd you can do install any software
you need to proceed.
It will disappear when you reboot. But if you are more comfortable in
the live cd environment that's an option. (Actually I'm extrapolating
from another distribution, but I believe I am correct).
</pre>
</blockquote>
<pre wrap="">
He's trying to fix his raid array. I personally would just use TRK than
the Ubuntu Live CD for this purpose.
</pre>
</blockquote>
You might be able to assemble the arrays in the initramfs shell. I was.
/bin/mdadm -A --scan should find them. You can also boot a live CD and
assemble the arrays there, but if you use the desktop you will need to
install mdadm. From there see if you can fix whatever is degraded. They
are most likely out of sync or something the the Disk Utility on the
live CD can fix. <br>
<blockquote cite="mid:4C32861D.3080804@bradbury.edu.hk" type="cite">
<pre wrap="">
</pre>
<blockquote type="cite">
<pre wrap="">
--
Drew Einhorn
"You can see a lot by just looking."
-- Yogi Berra
</pre>
</blockquote>
<pre wrap="">
</pre>
</blockquote>
<br>
<br>
<div class="moz-signature">-- <br>
<meta content="text/html; charset=ISO-8859-15" http-equiv="content-type">
<title>Signature</title>
<small><span style="font-family: century schoolbook; font-weight: bold;">Robert
Steinmetz,
AIA<br>
</span><span style="font-family: century schoolbook;">Principal<br>
<span style="font-weight: bold;">Steinmetz </span><span
style="color: rgb(153, 0, 0); font-weight: bold;">&</span><span
style="font-weight: bold;"> Associates</span></span></small>
</div>
</body>
</html>