From: Bill Davidsen <davidsen@tmr.com>
To: Ronald Lembcke <es186@fen-net.de>
Cc: linux-raid@vger.kernel.org
Subject: Re: RAID5 degraded after mdadm -S, mdadm --assemble (everytime)
Date: Mon, 26 Jun 2006 10:20:45 -0400 [thread overview]
Message-ID: <449FED3D.8060709@tmr.com> (raw)
In-Reply-To: <20060624104745.GA6352@defiant.crash>
Ronald Lembcke wrote:
>Hi!
>
>I set up a RAID5 array of 4 disks. I initially created a degraded array
>and added the fourth disk (sda1) later.
>
>The array is "clean", but when I do
> mdadm -S /dev/md0
> mdadm --assemble /dev/md0 /dev/sd[abcd]1
>it won't start. It always says sda1 is "failed".
>
>When I remove sda1 and add it again everything seems to be fine until I
>stop the array.
>
>Below is the output of /proc/mdstat, mdadm -D -Q, mdadm -E and a piece of the
>kernel log.
>The output of mdadm -E looks strange for /dev/sd[bcd]1, saying "1 failed".
>
>What can I do about this?
>How could this happen? I mixed up the syntax when adding the fourth disk and
>tried these two commands (at least one didn't yield an error message):
>mdadm --manage -a /dev/md0 /dev/sda1
>mdadm --manage -a /dev/sda1 /dev/md0
>
>
>Thanks in advance ...
> Roni
>
>
>
>ganges:~# cat /proc/mdstat
>Personalities : [raid5] [raid4]
>md0 : active raid5 sda1[4] sdc1[0] sdb1[2] sdd1[1]
> 691404864 blocks super 1.0 level 5, 64k chunk, algorithm 2 [4/4] [UUUU]
>
>unused devices: <none>
>
I will just comment that the 0 1 2 4 numbering on the devices is
unusual. When you created this did you do something which made md think
there was another device, failed or missing, which was device[3]? I just
looked at a bunch of my arrays and found no similar examples.
--
bill davidsen <davidsen@tmr.com>
CTO TMR Associates, Inc
Doing interesting things with small computers since 1979
prev parent reply other threads:[~2006-06-26 14:20 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-24 10:47 RAID5 degraded after mdadm -S, mdadm --assemble (everytime) Ronald Lembcke
2006-06-24 11:10 ` Ronald Lembcke
2006-06-25 13:59 ` Bug in 2.6.17 / mdadm 2.5.1 Ronald Lembcke
2006-06-26 1:06 ` Neil Brown
2006-06-26 1:53 ` Neil Brown
2006-06-26 21:24 ` Andre Tomt
2006-06-27 1:00 ` Neil Brown
2006-06-26 14:20 ` Bill Davidsen [this message]
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=449FED3D.8060709@tmr.com \
--to=davidsen@tmr.com \
--cc=es186@fen-net.de \
--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 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).