Help needed! Raid5 inactive

Benjamin Griese der.darude at gmail.com
Fri May 14 13:47:51 UTC 2010


Hi Laurent,

could you please check the output of your assembled devices:
mdadm --detail /dev/md0

Additionally check the S.M.A.R.T status of your disks, maybe the disk should
be replaced by a new one.
In the past I had some strange issues with a USB-Storage RAID1 on the root
device (yeah no good idea, but nice for collecting experience :) )
mdadm regulary degraded the raid1 due to a lot of problems with the
USB-Stick (shown in dmesg), but the sticks are running fine when used as
single disks.
Check dmesg and your syslog for further messages.

Bye.


On Fri, May 14, 2010 at 11:27, Laurent Dinclaux <laurent at gecka.nc> wrote:

> Hello,
>
> After a reboot, my raid5 array fails. I cannot boot the system at all
> and only have the initramfs command line.
>
> Here is what cat proc/mdstat gives me about my raid5 partition:
>
> md0: inactive sdc[3](S) sdb5[1](S) sda5[0](S)
>
> When I do
>
> mdadm --assemble --scan --force
>
> I get mdadm: /dev/md0 has been started with 2 drives (out of 3) and 1
> spare.
>
> Here is what cat proc/mdstat gives me
> md0 : active raid5 sda5[0] sdc5[3] sdb5[1]
> ... 2[3/2] [UU_]
>
> And it shows me the recovery progress bar.
>
> After a while, I get:
> raid5 : Disk failure on sdb5, disabling device.
> raid5: Operation continuing on 1 devices.
>
> Here is what cat proc/mdstat gives me:
> md0 : active raid5 sda5[0] sdc[3](S) sdb5[4](F)
>
> I am stuck there. How can I reassemble the raid5 array with sda and sdc ?
>
> --
> Laurent Dinclaux
> Gérant - Gecka SARL
> laurent at gecka.nc
> Tel: +687 78 77 24
> http://www.gecka.com
>
> Préservez nos forêts, n’imprimez vos mails que si nécessaire.
> Preserve our forests, only print your emails if necessary.
>
> --
> ubuntu-server mailing list
> ubuntu-server at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
> More info: https://wiki.ubuntu.com/ServerTeam
>



-- 
To be or not to be -- Shakespeare | To do is to be -- Nietzsche | To be is
to do -- Sartre | Do be do be do -- Sinatra
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-server/attachments/20100514/c68af79f/attachment.html>


More information about the ubuntu-server mailing list