From: Ramon Hofer <ramonhofer@bluewin.ch>
To: linux-raid@vger.kernel.org
Subject: Stacked array data recovery
Date: Thu, 21 Jun 2012 22:44:10 +0000 (UTC) [thread overview]
Message-ID: <js083q$kdu$1@dough.gmane.org> (raw)
Hi all
I had a media server at home with a raid5 array containing four disks
where I ran out of space. The solution with a separate NAS was nothing I
liked so I wanted to enlarge my server.
I bought a Norco case with 20 hot swap slots.
With the kind help of Stan Hoeppner I was able to find good hardware to
connect the disks.
Maybe it's not important but it's a LSI MegaRAID SAS 9240-4i, an Intel SAS
expander and the mainboard is a Asus P7P55D.
I use Debian Squeeze with the backported 3.2.0-2-amd64 kernel.
The mdadm package version is "v3.1.4 - 31st August 2010"
(More information about the drives are below in the pastebins.)
The plan was to setup several RAID5 as members of a linear raid.
Unfortunately I was too stupid to cool the disks so probably they are
damaged and I will have to replace them (hopefully still under warranty).
I set up md1 with four WD greens 2 TB (mdadm -C /dev/md1 -c 128 -n4 -l5 /
dev/sd[abcd]) and added it as a single device to the linear array md0
(mdadm -C /dev/md0 --force -n1 -l linear /dev/md1).
Then I copied the data from the old raid to it (btw the filesystem on md0
is xfs if this is relevant).
During this process the disks weren't cooled.
They are about 1-2 years old and mdadm marked some of them as faulty. I
thought this was because they were green drives and bought four new WD
black 2TB drives.
I tried the same again and this time it worked well.
Then I took the four Samsung 1.5 TB drives from the old server and added
them to the Norco case. With them I created the RAID5 array md2, grew the
linear array md0 and its filesystem.
Until then I thought it would be wise to use the array already when it
still syncing the disks.
During this process the disks of md1 made strange noises and were set
faulty as well as some disks of md2.
Here are the mails I got from mdadm:
http://pastebin.com/raw.php?i=ftpmfSpv
Now I have solved the cooling problem and want to replace the disks. But
I'd like to try to rescue the data on md0.
I did a smartctl readout of the disks. Here's a summary of the disks I
have:
/dev/sd[abcd] WD blacks md1
/dev/sd[efgh] Samsungs md2
/dev/sd[jklm] WD green md3 (not yet created)
This is the output of "smartctl -l error" for each of the disks:
http://pastebin.com/raw.php?i=JtYkweNp
and "smartctl -x":
http://pastebin.com/raw.php?i=QFK6dyZs
and "smartctl -H":
http://pastebin.com/raw.php?i=hAEdyvCz
When I start the system md2 gets started and is syncing the disks. But
md1 is stopped.
Is it possible to start md1 again to be able to start the linear array
md0 so that I can accesss the data?
Thanks in advance for any help.
Best regards
Ramon
next reply other threads:[~2012-06-21 22:44 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-21 22:44 Ramon Hofer [this message]
2012-06-22 14:32 ` Stacked array data recovery Ramon Hofer
2012-06-23 12:05 ` Stan Hoeppner
2012-06-22 14:37 ` Ramon Hofer
2012-06-23 12:09 ` Stan Hoeppner
2012-06-24 12:15 ` Ramon Hofer
2012-06-24 14:12 ` Stan Hoeppner
2012-06-25 3:51 ` Stan Hoeppner
2012-06-25 10:31 ` Ramon Hofer
2012-06-26 1:53 ` Stan Hoeppner
2012-06-26 8:37 ` Ramon Hofer
2012-06-26 20:23 ` Stan Hoeppner
2012-06-27 9:07 ` Ramon Hofer
2012-06-27 12:34 ` Stan Hoeppner
2012-06-27 19:19 ` Ramon Hofer
2012-06-28 19:57 ` Stan Hoeppner
2012-06-29 7:58 ` Ramon Hofer
2012-06-28 18:44 ` Krzysztof Adamski
2012-06-29 7:44 ` Ramon Hofer
2012-06-29 10:15 ` John Robinson
2012-06-29 11:19 ` Ramon Hofer
2012-07-02 10:12 ` Ramon Hofer
2012-07-02 11:46 ` Phil Turmel
2012-07-02 12:18 ` Ramon Hofer
2012-07-02 21:42 ` Phil Turmel
2012-07-02 20:27 ` Stan Hoeppner
2012-07-03 7:16 ` Ramon Hofer
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='js083q$kdu$1@dough.gmane.org' \
--to=ramonhofer@bluewin.ch \
--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).