From: Phil Turmel <philip@turmel.org>
To: Francisco Parada <cisco@abitofthisabitofthat.com>,
linux-raid@vger.kernel.org
Subject: Re: RAID 6 Not Mounting (Block device is empty)
Date: Sat, 7 Nov 2015 13:49:02 -0500 [thread overview]
Message-ID: <563E479E.50409@turmel.org> (raw)
In-Reply-To: <BD358508-33D4-4463-99AB-118019C2EB06@abitofthisabitofthat.com>
On 11/07/2015 12:05 PM, Francisco Parada wrote:
> Hello,
>
> I’m not sure if this is the right way to go about it, so let me give
> you my story. I had a 7 x 3TB RAID array (12TB in total), 6 drives
> in the array and 1 spare that was also part of the array but simply a
> spare waiting at the ready in case of a drive failure, is what I had
> running before my array broke. I added two new arrays to my system
> last night, in order to back up my current RAID 6. The first array
> was a 3 x 3TB RAID 0, for a total of 9TB. Then a 2 x 1TB RAID 0
> array, for a total of 2TB. 9+2 = 11 and although I’m 1TB shy, I knew
> I had a bunch of crap and redundancy to get rid of, I just really
> needed a solid backup after I was going to clean up.
Yes, this is the right way to go about it. Missed just a few items that
would help. Good report.
> After creating the new arrays, I started transferring from my 12TB
> array, 2TB worth of data to the 2TB RAID 0 array. At some point
> during the transfer, rsync complained of an I/O error. It seemed to
> have transferred 500GB worth of data before this mishap. The
> following morning, I noticed that error, and saw that I couldn’t
> mount my 12TB array anymore. Mind you, I didn’t touch this original
> array, but I think what happened was that the I/O error blew 2 of my
> drives.
>
> What I’m thinking of doing is the following, but I’m just looking for
> some advice in case I’m missing anything:
>
> sudo mdadm create --assume-clean --level=6 --raid-devices=7 --size=2930135040 /dev/md127 /dev/sde /dev/sdf /dev/sdg /dev/sdh missing
missing /dev/sdd
Absolutely not!
Your array went from running to dead in minutes, so the variation of
event counts doesn't matter that much. You should forcibly re-assemble
with all devices.
However, before you do *anything*, you need to figure out why so many
devices were ejected from your array. Was it a controller glitch? A
power supply failure? Or, most likely, Unrecoverable Read Errors being
exposed by your first-ever backup, combined with timeout mismatch?
Any attempt to reassemble/recreate/recovery will simply blow up again if
the root cause isn't addressed.
In your next reply, please paste:
1) the dmesg from the time around the event, +/- a few minutes.
2) the output of the following drive diagnostics:
for x in /dev/sd[a-z] ; do echo $x ; smartctl -i -A -l scterc $x ; done
Do *not* perform any --create operation on your array.
*Do* read the list archives linked below -- if any part of it is
unclear, please ask in your next reply.
Phil
[1] http://marc.info/?l=linux-raid&m=139050322510249&w=2
[2] http://marc.info/?l=linux-raid&m=135863964624202&w=2
[3] http://marc.info/?l=linux-raid&m=135811522817345&w=1
[4] http://marc.info/?l=linux-raid&m=133761065622164&w=2
[5] http://marc.info/?l=linux-raid&m=132477199207506
[6] http://marc.info/?l=linux-raid&m=133665797115876&w=2
[7] http://marc.info/?l=linux-raid&m=142487508806844&w=3
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2015-11-07 18:49 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-07 17:05 RAID 6 Not Mounting (Block device is empty) Francisco Parada
2015-11-07 18:49 ` Phil Turmel [this message]
2015-11-07 19:17 ` Francisco Parada
2015-11-07 21:08 ` Phil Turmel
[not found] ` <C57F2260-D20C-4688-93F6-CB3CE8CF9F30@abitofthisabitofthat.com>
2015-11-07 23:07 ` Phil Turmel
2015-11-08 5:59 ` Francisco Parada
2015-11-08 14:20 ` Phil Turmel
2015-11-08 14:48 ` Francisco Parada
2015-11-08 16:32 ` Francisco Parada
2015-11-08 17:25 ` Phil Turmel
2015-11-08 17:32 ` Francisco Parada
2015-11-08 17:48 ` Phil Turmel
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=563E479E.50409@turmel.org \
--to=philip@turmel.org \
--cc=cisco@abitofthisabitofthat.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.