From: Adam Thompson <athompso@athompso.net>
To: Anthony Youngman <antlists@youngman.org.uk>
Cc: MUUG Roundtable <roundtable@muug.ca>, linux-raid@vger.kernel.org
Subject: Re: Big-endian RAID5 recovery problem
Date: Mon, 01 May 2017 17:33:11 -0500 [thread overview]
Message-ID: <8aa82733243a09e48ba87d6282d8f791@mail.athompso.net> (raw)
In-Reply-To: <0ab1ea1b-8035-512e-0b0a-819e15929f41@youngman.org.uk>
On 2017-05-01 16:59, Anthony Youngman wrote:
> Get hold of lsdrv, and see what that tells you. (Look at the raid wiki
> for details.) I don't know if it will have endian issues, but if it
> doesn't an expert will probably be able to chime straight in and tell
> you the create command.
Ah! And that took me straight to the "asking for help" page.
The raw data is here:
https://gist.github.com/anonymous/321b6db3160c259c4a4dd549817a3d07
To summarize:
* smartctl either fails to run or shows nothing wrong (depending on the
vintage of drive, maybe?);
* mdadm --examine fails to read the superblock because of the endianness
issue (see
https://raid.wiki.kernel.org/index.php/RAID_superblock_formats#The_version-0.90_Superblock_Format)
* lsdrv fails to report any useful MD topology information I could see
(other than confirming that each md device had four members, one
partition on each drive)
I also see 3 "FD" type partitions on each disk, but lsdrv only
identifies *2* of them as belonging to an MD array. Not sure what's up
with that.
> The other thing is, read up on overlays because, if you overlay those
> disks, you will be able to "create" without actually writing to the
> disks. That way you can test - and even do a complete backup and
> recovery - without ever actually writing to, and altering, the
> original disks.
Currently reading, thanks. Didn't know overlays could be used for block
devices.
Spinning up a QEMU instance of Linux-PPC or Linux-MIPS with the disks in
pass-through mode has also been mentioned, but... ugh. Anecdotal
reports from the web suggest that doing so would just be opening up a
second rabbit hole in addition to the one I'm already headed down.
-Adam
next prev parent reply other threads:[~2017-05-01 22:33 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-01 21:39 Big-endian RAID5 recovery problem Adam Thompson
2017-05-01 21:59 ` Anthony Youngman
2017-05-01 22:33 ` Adam Thompson [this message]
2017-05-02 2:47 ` Phil Turmel
2017-05-02 7:29 ` [RndTbl] " Trevor Cordes
2017-05-02 8:59 ` Roman Mamedov
2017-05-05 19:22 ` [RndTbl] " Adam Thompson
2017-05-06 5:57 ` NeilBrown
2017-05-06 6:41 ` [RndTbl] " Trevor Cordes
2017-05-07 23:40 ` [mdadm PATCH] Mention "endian" in documentation for --update=byte-order NeilBrown
2017-05-08 17:42 ` Jes Sorensen
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=8aa82733243a09e48ba87d6282d8f791@mail.athompso.net \
--to=athompso@athompso.net \
--cc=antlists@youngman.org.uk \
--cc=linux-raid@vger.kernel.org \
--cc=roundtable@muug.ca \
/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).