linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Strange RAID 1 rebuild problem
@ 2013-09-24 12:23 Andreas Heinlein
  0 siblings, 0 replies; only message in thread
From: Andreas Heinlein @ 2013-09-24 12:23 UTC (permalink / raw)
  To: linux-raid

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-09-24 12:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-24 12:23 Strange RAID 1 rebuild problem Andreas Heinlein

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).