From: "Karl Schricker" <k_schricker@gmx.net>
To: linux-raid@vger.kernel.org
Subject: Raid5 says it's rebuilding, but it lies :)
Date: Wed, 19 Apr 2006 03:04:17 +0200 (MEST) [thread overview]
Message-ID: <13525.1145408657@www047.gmx.net> (raw)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="us-ascii", Size: 3573 bytes --]
I have a raid5 configuration with 4 disks, of which all were active. My
system froze due to a separate issue (firewire), so I had to power cycle.
In the past, I've always been able to recover with fsck on /dev/md0, however
this time I was not, and I am unable to re-assemble the array now.
I'm really hoping someone can help me with this. I've been googling and
reading the mdadm manpage for 3 days and getting nowhere.
After booting, I get 3 active disks and one faulty. Theoretically with
raid5 I should be able to recover from this, right? :) When I add it back
to the array, it changes to "spare rebuilding". However it lies: no Rebuild
Status ever shows up (and I let it run overnight).
Here are the vitals:
# mdadm -D /dev/md0
/dev/md0:
Version : 00.90.01
Creation Time : Sun Mar 12 13:07:20 2006
Raid Level : raid5
Device Size : 244198464 (232.89 GiB 250.06 GB)
Raid Devices : 4
Total Devices : 4
Preferred Minor : 0
Persistence : Superblock is persistent
Update Time : Sun Apr 16 18:28:44 2006
State : active, degraded
Active Devices : 3
Working Devices : 4
Failed Devices : 0
Spare Devices : 1
Layout : left-symmetric
Chunk Size : 64K
UUID : f4bc2cef:bacf1707:b5a00571:7384b969
Events : 0.400844
Number Major Minor RaidDevice State
0 8 0 0 active sync /dev/sda
1 8 16 1 active sync /dev/sdb
2 8 32 2 spare rebuilding /dev/sdc
3 8 48 3 active sync /dev/sdd
# cat /proc/mdstat
Personalities : [raid5]
md0 : inactive sdc[2] sda[0] sdd[3] sdb[1]
976793856 blocks
unused devices: <none>
# mdadm --run /dev/md0
mdadm: failed to run array /dev/md0: Invalid argument
# cat /etc/mdadm.conf
DEVICE /dev/sda /dev/sdb /dev/sdc /dev/sdd
ARRAY /dev/md0 level=raid5 num-devices=4
UUID=f4bc2cef:bacf1707:b5a00571:7384b969
Log entries during reboot:
Apr 16 18:59:46 pingo kernel: md: md0 stopped.
Apr 16 18:59:46 pingo kernel: md: bind<sdb>
Apr 16 18:59:46 pingo kernel: md: bind<sdc>
Apr 16 18:59:46 pingo kernel: md: bind<sdd>
Apr 16 18:59:46 pingo kernel: md: bind<sda>
Apr 16 18:59:46 pingo kernel: md: kicking non-fresh sdc from array!
Apr 16 18:59:46 pingo kernel: md: unbind<sdc>
Apr 16 18:59:46 pingo kernel: md: export_rdev(sdc)
Apr 16 18:59:46 pingo kernel: md: md0: raid array is not clean -- starting
backg
round reconstruction
Apr 16 18:59:46 pingo kernel: raid5: automatically using best checksumming
funct
ion: pIII_sse
Apr 16 18:59:46 pingo kernel: pIII_sse : 4480.000 MB/sec
Apr 16 18:59:46 pingo kernel: raid5: using function: pIII_sse (4480.000
MB/sec)
Apr 16 18:59:46 pingo kernel: md: raid5 personality registered as nr 4
Apr 16 18:59:46 pingo kernel: raid5: device sda operational as raid disk 0
Apr 16 18:59:46 pingo kernel: raid5: device sdd operational as raid disk 3
Apr 16 18:59:46 pingo kernel: raid5: device sdb operational as raid disk 1
Apr 16 18:59:46 pingo kernel: raid5: cannot start dirty degraded array for
md0
Apr 16 18:59:46 pingo kernel: RAID5 conf printout:
Apr 16 18:59:46 pingo kernel: --- rd:4 wd:3 fd:1
Apr 16 18:59:46 pingo kernel: disk 0, o:1, dev:sda
Apr 16 18:59:46 pingo kernel: disk 1, o:1, dev:sdb
Apr 16 18:59:46 pingo kernel: disk 3, o:1, dev:sdd
Apr 16 18:59:46 pingo kernel: raid5: failed to run raid set md0
Apr 16 18:59:46 pingo kernel: md: pers->run() failed ...
--
Echte DSL-Flatrate dauerhaft für 0,- Euro*!
"Feel free" mit GMX DSL! http://www.gmx.net/de/go/dsl
next reply other threads:[~2006-04-19 1:04 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-19 1:04 Karl Schricker [this message]
2006-04-19 1:31 ` Raid5 says it's rebuilding, but it lies :) Neil Brown
2006-04-19 9:32 ` David Greaves
[not found] <44463EAF.7000901@harddata.com>
2006-04-19 16:44 ` Karl Schricker
2006-04-20 4:37 ` Karl Schricker
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=13525.1145408657@www047.gmx.net \
--to=k_schricker@gmx.net \
--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).