All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andreas Heinlein <aheinlein@gmx.com>
To: linux-raid@vger.kernel.org
Subject: Strange RAID 1 rebuild problem
Date: Tue, 24 Sep 2013 14:23:03 +0200	[thread overview]
Message-ID: <52418427.40208@gmx.com> (raw)

Hello,

we have a strange problem rebuilding a partially destroyed md raid 1, 
and I hope you can help me.

Short description: We have a machine with two disks with 4 partitions 
each; partitions 2, 3 and 4 each form a raid 1 (md0 = sda2/sdc2, md1 = 
sda3/sdc3, md2 = sda4/sdc4). We lost a disk some days ago and I am now 
trying to rebuild it with a brand new disk (here sdc). I cloned the 
partition table from sda to sdc and successfully added back partitions 2 
and 3 to md0 and md1, respectively. I also added partition 4 to md2, and 
it starts rebuilding. I can see a "RebuildFinished Event" some hours 
later in the logs, but when I look at /proc/mdstat, it looks like this:

md2 : active raid1 sdc4[1](S) sda4[0]
       xxx blocks [2/1] [_U]

So the newly-added partition is listed as a spare, while md2 is running 
on only one of two devices. I have no idea where this comes from, and I 
see no further information in the logs. The array was initially built 
with 2 devices *plus* one spare (which is to be added later on), but I 
don't think this is an issue here.

We're running Linux 2.6.32 on Debian 6.0, with mdadm

                 reply	other threads:[~2013-09-24 12:23 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=52418427.40208@gmx.com \
    --to=aheinlein@gmx.com \
    --cc=linux-raid@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.