From: Robin Bowes <robin-lists@robinbowes.com>
To: linux-raid@vger.kernel.org
Subject: Good news / bad news - The joys of RAID
Date: Fri, 19 Nov 2004 21:06:40 +0000 [thread overview]
Message-ID: <419E6060.8030000@robinbowes.com> (raw)
The bad news is I lost another disk tonight. Remind me *never* to buy
Maxtor drives again.
The good news is that my RAID5 array was configured as 5 + 1 spare. I
powered down the server, used the Maxtor PowerMax utility to identify
the bad disk, pulled it out and re-booted. My array is currently re-syncing.
[root@dude root]# mdadm --detail /dev/md5
/dev/md5:
Version : 00.90.01
Creation Time : Thu Jul 29 21:41:38 2004
Raid Level : raid5
Array Size : 974566400 (929.42 GiB 997.96 GB)
Device Size : 243641600 (232.35 GiB 249.49 GB)
Raid Devices : 5
Total Devices : 5
Preferred Minor : 5
Persistence : Superblock is persistent
Update Time : Fri Nov 19 20:52:58 2004
State : dirty, resyncing
Active Devices : 5
Working Devices : 5
Failed Devices : 0
Spare Devices : 0
Layout : left-symmetric
Chunk Size : 128K
Rebuild Status : 0% complete
UUID : a4bbcd09:5e178c5b:3bf8bd45:8c31d2a1
Events : 0.1765551
Number Major Minor RaidDevice State
0 8 2 0 active sync /dev/sda2
1 8 18 1 active sync /dev/sdb2
2 8 34 2 active sync /dev/sdc2
3 8 50 3 active sync /dev/sdd2
4 8 66 4 active sync /dev/sde2
Thinking about what happened, I would have expected that the bad drive
would just be removed from the array and spare activated and re-syncing
started automatically.
What actually happened was that I rebooted to activate a new kernel and
the box didn't come back up. As the machine runs headless, I had to
power it off and take it to a monitor/keyboard to check it. In the new
location it came up fine so I shut it down again and put it back in my
"server room" (read: cellar). I still couldn't see it from the network
so I dragged an old 14" CRT out of the shed and connected it up. The
login prompt was there but there was an "ata2 timeout" error message and
the console was dead. I power-cycled to reboot and as it booted I saw a
message something like "postponing resync of md0 as it uses the same
device as md5. waiting for md5 to resync. I then got a further ata
timeout error. I had to physically disconnect the bad drive and reboot
in order to re-start the re-sync.
Further md information:
[root@dude log]# mdadm --detail --scan
ARRAY /dev/md2 level=raid1 num-devices=2
UUID=11caa547:1ba8d185:1f1f771f:d66368c9
devices=/dev/sdc1
ARRAY /dev/md1 level=raid1 num-devices=2
UUID=be8ad31a:f13b6f4b:c39732fc:c84f32a8
devices=/dev/sdb1,/dev/sde1
ARRAY /dev/md5 level=raid5 num-devices=5
UUID=a4bbcd09:5e178c5b:3bf8bd45:8c31d2a1
devices=/dev/sda2,/dev/sdb2,/dev/sdc2,/dev/sdd2,/dev/sde2
ARRAY /dev/md0 level=raid1 num-devices=2
UUID=4b28338c:bf08d0bc:bb2899fc:e7f35eae
devices=/dev/sda1,/dev/sdd1
It was /dev/sdf that failed which contained two partitions, one of them
part of md2 (now running un-mirrored but still showing two devices) and
the other part of md5 (now re-syncing but only showing five devices).
Is this normal behaviour?
R.
--
http://robinbowes.com
next reply other threads:[~2004-11-19 21:06 UTC|newest]
Thread overview: 50+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-19 21:06 Robin Bowes [this message]
2004-11-19 21:28 ` Good news / bad news - The joys of RAID Guy
2004-11-20 18:42 ` Mark Hahn
2004-11-20 19:37 ` Guy
2004-11-20 20:03 ` Mark Klarzynski
2004-11-20 22:17 ` Mark Hahn
2004-11-20 23:09 ` Guy
2004-12-02 16:47 ` TJ
2004-12-02 17:29 ` Stephen C Woods
2004-12-03 3:37 ` Mark Hahn
2004-12-03 4:16 ` Guy
2004-12-03 4:46 ` Alvin Oga
2004-12-03 5:24 ` Richard Scobie
2004-12-03 5:40 ` Konstantin Olchanski
2004-12-09 0:17 ` H. Peter Anvin
2004-11-20 23:30 ` Mark Hahn
2004-11-20 19:40 ` David Greaves
2004-11-21 4:33 ` Guy
2004-11-21 1:01 ` berk walker
2004-11-23 19:10 ` H. Peter Anvin
2004-11-23 20:03 ` Guy
2004-11-23 21:18 ` Mark Hahn
2004-11-23 23:02 ` Robin Bowes
2004-11-24 0:33 ` Guy
2004-11-24 1:45 ` berk walker
2004-11-24 2:00 ` H. Peter Anvin
2004-11-24 8:01 ` Good news / bad news - The joys of hardware Guy
2004-11-24 8:57 ` Robin Bowes
2004-11-19 21:42 ` Good news / bad news - The joys of RAID Guy
2004-11-28 13:15 ` Robin Bowes
2004-11-30 2:05 ` Neil Brown
2004-12-01 3:34 ` Doug Ledford
2004-12-01 11:50 ` Robin Bowes
2004-11-19 21:58 ` Gordon Henderson
[not found] <037401c4cf3b$ee75bc90$030a0a0a@musicroom>
2004-11-21 4:33 ` Guy
2004-11-22 14:13 ` Yu Chen
2004-11-22 14:34 ` Gordon Henderson
2004-11-22 17:51 ` Guy
2004-11-22 23:26 ` Gordon Henderson
2004-11-22 23:48 ` Guy
2004-11-23 0:09 ` Måns Rullgård
2004-11-23 15:33 ` Gordon Henderson
2004-11-23 0:17 ` berk walker
2004-11-23 9:24 ` Robin Bowes
2004-11-23 12:31 ` Bob Hillegas
2004-11-23 13:00 ` berk walker
[not found] <Pine.LNX.4.44.0411201655400.19120-100000@coffee.psychology.mcmaster.ca>
2004-11-21 21:28 ` Mark Klarzynski
2004-11-21 21:58 ` Mark Hahn
2004-11-22 6:29 ` Mikael Abrahamsson
[not found] <04Nov26.172857est.30052@gpu.utcc.utoronto.ca>
2004-11-26 22:41 ` Robin Bowes
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=419E6060.8030000@robinbowes.com \
--to=robin-lists@robinbowes.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).