From: Molle Bestefich <molle.bestefich@gmail.com>
To: linux-raid@vger.kernel.org
Subject: MD bug or me being stupid?
Date: Fri, 22 Apr 2005 12:45:55 +0200 [thread overview]
Message-ID: <62b0912f0504220345349335f9@mail.gmail.com> (raw)
Just upgraded a MD RAID 5 box to 2.6.11 from 2.4.something.
Found out one disk was failing completely, got a replacement from Maxtor. Neat.
Replaced disk, rebooted..
Added the new disk to the array with 'raidhotadd'.
MD started syncing.
A couple of minutes into the process, it started *seriously* spamming
the console with messages:
==========================
Apr 22 01:47:00 linux kernel: ..<6>md: syncing RAID array md1
Apr 22 01:47:00 linux kernel: md: minimum _guaranteed_ reconstruction
speed: 1000 KB/sec/disc.
Apr 22 01:47:00 linux kernel: md: using maximum available idle IO bandwith (but
not more than 200000 KB/sec) for reconstruction.
Apr 22 01:47:00 linux kernel: md: using 128k window, over a total of
199141632 blocks.
Apr 22 01:47:00 linux kernel: md: md1: sync done.
Apr 22 01:47:00 linux kernel: ..<6>md: syncing RAID array md1
Apr 22 01:47:01 linux kernel: md: minimum _guaranteed_ reconstruction
speed: 1000 KB/sec/disc.
Apr 22 01:47:01 linux kernel: md: using maximum available idle IO bandwith (but
not more than 200000 KB/sec) for reconstruction.
Apr 22 01:47:01 linux kernel: md: using 128k window, over a total of
199141632 blocks.
Apr 22 01:47:01 linux kernel: md: md1: sync done.
==========================
Thought it had probably gone haywire and decided to start trashing my
data, so pulled the plug and rebooted. When examining the log
afterwards, I can see that the above messages repeat themselves.
cat /var/log/messages | grep md | grep 'Apr 22 01:47:01' | grep 'sync done'
tells me that the messages were repeated 12 times per second. The
/var/log/messages file grew to 600kB before I pulled the plug.
Noticed something strange during next boot: Linux failed to recognize
one of the disks. Booted into Maxtor PowerMax and it said various
weird things (seemed different each time) about the disk too. So
decided to switch ATA cables on this disk, which made wonders - both
PowerMax and Linux talks to the disk fine now.
Now, when I boot the machine, the 6 disks in the array have these
event counters, according to mdadm:
sda1: 0.19704 (completely new, "blank" disk)
sdb1: 0.19704
sdc1: 0.144 (but why?)
sdd1: 0.19704
sde1: 0.19704 (this disk had the bad cable)
sdf1: 0.19704
My questions now are (and yes, I know I had faulty hardware, but
that's incidentally also the reason I use MD at all):
1. What's with the infinitely repeated md1: sync done messages?
2. Wouldn't the mentioned event counters cause MD to think that the
totally blank disk /dev/sda1 has valid data, and that the disk with
valid data (/dev/sdc1) does not next time it syncs?
3. How do I proceed from here, if I want to rescue my data?
Best regards, many thanks for MD and all that :-).
next reply other threads:[~2005-04-22 10:45 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-22 10:45 Molle Bestefich [this message]
2005-04-22 11:25 ` MD bug or me being stupid? Molle Bestefich
2005-05-12 8:55 ` Molle Bestefich
2005-05-13 2:55 ` Neil Brown
2005-05-15 18:10 ` Molle Bestefich
2005-05-15 18:22 ` Strange behaviour on "toy array" Patrik Jonsson
2005-05-15 20:09 ` David Greaves
2005-05-15 20:55 ` Patrik Jonsson
2005-05-15 22:13 ` Guy
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=62b0912f0504220345349335f9@mail.gmail.com \
--to=molle.bestefich@gmail.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 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).