Linux RAID subsystem development
 help / color / mirror / Atom feed
From: "NeilBrown" <neilb@suse.de>
To: Federico <undicizeri@gmail.com>
Cc: linux-raid@vger.kernel.org
Subject: Re: mdadm raid1 stops to work after kernel panic
Date: Mon, 5 May 2008 19:32:11 +1000 (EST)	[thread overview]
Message-ID: <56088.192.168.1.70.1209979931.squirrel@neil.brown.name> (raw)
In-Reply-To: <26c008d70805042347g1afaa67em5a7af935bed434ca@mail.gmail.com>

On Mon, May 5, 2008 4:47 pm, Federico wrote:
> Accidentally I've booted with wrong grub parameters and my systems
> hanged with a kernel panic. After reboot my /dev/md2 device (raid1)
> stopped to work.
> These are some logs:
>
> wax@persifae:~$cat /proc/mdstat
> Personalities : [raid1]
> md2 : inactive sda1[0](S)
>       293049600 blocks
>
> md1 : active raid1 sdc6[0] sdb2[1]
>       152264000 blocks [2/2] [UU]
>
> md0 : active raid1 sdb1[1] sdc5[0]
>       7815488 blocks [2/2] [UU]
>
> unused devices: <none>
>
> wax@persifae:~$sudo mdadm -Q /dev/md2
> /dev/md2: is an md device which is not active
>
> wax@persifae:~$sudo mdadm --assemble --scan /dev/md2
> mdadm: failed to add /dev/sdc1 to /dev/md2: Invalid argument
> mdadm: /dev/md2 assembled from 0 drives - not enough to start the array.
>
> wax@persifae:~$cat /etc/mdadm.conf
> ARRAY /dev/md0 level=raid1 num-devices=2
> UUID=2a37b0a1:4b6b28fc:0209446b:c3b28f2a
> ARRAY /dev/md1 level=raid1 num-devices=2
> UUID=19c49c5d:e3193aa1:657f267b:b23c2dee
> ARRAY /dev/md2 level=raid1 num-devices=2
> UUID=62a5cb51:36ca61a3:1298e6c2:30fde3ba
>

What does
  mdadm --examine /dev/sda1 /dev/sdc1

show?

NeilBrown


  reply	other threads:[~2008-05-05  9:32 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-05  6:47 mdadm raid1 stops to work after kernel panic Federico
2008-05-05  9:32 ` NeilBrown [this message]
     [not found]   ` <26c008d70805050256q65972fa7jb86c6d5254828fc1@mail.gmail.com>
2008-05-05 11:41     ` NeilBrown
2008-05-05 12:09       ` Federico
2008-05-06  2:50         ` Neil Brown
2008-05-06  5:46           ` Federico

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=56088.192.168.1.70.1209979931.squirrel@neil.brown.name \
    --to=neilb@suse.de \
    --cc=linux-raid@vger.kernel.org \
    --cc=undicizeri@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox