From: Phil Turmel <philip@turmel.org>
To: Dave Gomboc <dave_gomboc@acm.org>
Cc: linux-raid@vger.kernel.org
Subject: Re: raid10 recovery assistance requested
Date: Sun, 22 Sep 2013 19:25:22 -0400 [thread overview]
Message-ID: <523F7C62.4040305@turmel.org> (raw)
In-Reply-To: <CA+dwz-36m6KDKbh9Gwxne8o-UyZuR2e5Z5-dKtOPS1XkA518yA@mail.gmail.com>
[Please trim replies/avoid top-posting]
On 09/22/2013 06:45 PM, Dave Gomboc wrote:
> Yikes. The data had been accessible on the evening of Sat. Sept 14.
> I had (apparently falsely) hoped that there were two complete copies
> of all the data, and that to restore access it would be enough to
> assign the correct drives to position 1 and 2 based on what matched
> against the contents of positions 0 and 3.
We will certainly want to inspect your drives to try to determine which
ones belong where.
> I have ran these commands on the four 4TB drives that are the copies.
> I think the smartctl -x commands in particular you want to see run
> against the original set of drives, so after sending this message, I
> will take down the machine, swap out the four copied drives for the
> four original drives, then run these commands again on the original
> drives.
Not really. Once we start poking at the devices at a low level, the
most important thing is to keep track of drive serial numbers versus
linux device name. I created a utility to help document a running
system [1], but that wouldn't be much help here.
> I'm not knowledgeable about the LVM backup file. Would one typically
> happen to be stored in /boot? That was the only directory I had that
> was not part of the raid10 system. I had distinct logical volumes for
> home, opt, usr, var, srv, root (/), and tmp.
No, on my systems they are stored under /etc/lvm/backup/. You don't
have your root volume, so you can only use the backup embedded in the PV
metadata.
> SCT Error Recovery Control:
> Read: Disabled
> Write: Disabled
While you are fixing things, you *really* need to fix this. Consumer
drives don't wake up with this enabled, if supported at all. You need
to set these in a boot script. Search the archives for various
combinations of "scterc", "error recovery control", "tler", and "ure"
for a detailed explanation.
Now, please show the hex dump of your superblocks and the beginning of
the data area on each partition:
dd if=/dev/sdX1 bs=4096 skip=1 count=1 2>/dev/null |hexdump -C
dd if=/dev/sdX1 bs=4096 skip=2048 count=16 2>/dev/null |hexdump -C
And reverify which drive name in linux corresponds to which serial number.
Phil
[1] http://github.com/pturmel/lsdrv
next prev parent reply other threads:[~2013-09-22 23:25 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-16 3:30 raid10 recovery assistance requested Dave Gomboc
2013-09-19 3:20 ` Dave Gomboc
2013-09-19 4:29 ` Stan Hoeppner
2013-09-20 5:29 ` Dave Gomboc
2013-09-22 17:15 ` Dave Gomboc
2013-09-22 21:52 ` Phil Turmel
2013-09-22 22:45 ` Dave Gomboc
2013-09-22 23:04 ` Dave Gomboc
2013-09-22 23:25 ` Phil Turmel [this message]
[not found] ` <CA+dwz-0eskPSQ44v0vgwfjwRpTbQaokQ3Q258Em1W2eRi1SO4w@mail.gmail.com>
2013-09-23 2:54 ` Phil Turmel
2013-09-23 3:19 ` Dave Gomboc
2013-09-23 3:27 ` Phil Turmel
2013-09-23 3:34 ` Dave Gomboc
2013-09-23 3:51 ` Phil Turmel
2013-09-23 4:04 ` Dave Gomboc
2013-09-23 4:12 ` Phil Turmel
2013-09-23 4:55 ` Dave Gomboc
2013-09-23 5:07 ` Dave Gomboc
2013-09-23 5:19 ` Adam Goryachev
2013-09-23 12:32 ` Phil Turmel
2013-09-23 12:57 ` Dave Gomboc
2013-09-24 0:29 ` Adam Goryachev
2013-09-24 5:55 ` Dave Gomboc
2013-09-28 15:47 ` Dave Gomboc
2013-09-28 16:01 ` 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=523F7C62.4040305@turmel.org \
--to=philip@turmel.org \
--cc=dave_gomboc@acm.org \
--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.