From: Robert Nichols <rnicholsNOSPAM@comcast.net>
To: dm-crypt@saout.de
Subject: Re: [dm-crypt] LVM on LUKS: volumes missing
Date: Tue, 31 May 2016 07:52:20 -0500 [thread overview]
Message-ID: <nik1e4$8ts$1@ger.gmane.org> (raw)
In-Reply-To: <574CB690.5030401@partidopirata.com.ar>
On 05/30/2016 04:54 PM, fauno wrote:
> Hi, maybe I'm too shocked but I couldn't find anything on this issue :)
>
> I have a fully encrypted HD using the LVM on LUKS method from
> ArchWiki[^0], with the LUKS header and key file on an external device.
>
> Today I started having some disk failures (root remounted ro, xfs
> partition giving errors), and after I decided to reboot to run fsck, I
> can't find anything.
>
> When the encrypted partition is opened, I don't see any errors, not even
> on dmesg, but LVM can't find any volume. They're just missing.
Take a look at the decrypted volume with "hexedit -s". It should start
out with mostly binary zeros with a little data including the ASCII
string "LVM2" at the start of a few of the sectors. Starting at about
the 10th sector there should be a lot of ASCII text. (It's a copy of the
corresponding file in /etc/lvm/backup, though without the fancy formatting.)
If you're seeing random-appearing binary junk there, then the volume is
not be decrypted properly. If it's just some of the early sectors that
are clobbered and the text starting at the 10th sector is intact, then
this should be recoverable.
--
Bob Nichols "NOSPAM" is really part of my email address.
Do NOT delete it.
next prev parent reply other threads:[~2016-05-31 12:52 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-30 21:54 [dm-crypt] LVM on LUKS: volumes missing fauno
2016-05-31 7:53 ` Ondrej Kozina
2016-05-31 7:53 ` [linux-lvm] " Ondrej Kozina
2016-05-31 13:17 ` fauno
2016-06-02 13:22 ` Ondrej Kozina
2016-06-02 13:39 ` fauno
2016-06-02 13:52 ` fauno
2016-06-02 14:50 ` Zdenek Kabelac
2016-06-02 15:09 ` fauno
2016-06-02 15:20 ` Zdenek Kabelac
2016-05-31 12:52 ` Robert Nichols [this message]
2016-05-31 14:54 ` fauno
2016-06-02 12:57 ` fauno
2016-06-02 18:31 ` Robert Nichols
2016-06-03 21:42 ` Arno Wagner
2016-06-03 22:46 ` Robert Nichols
2016-06-04 8:06 ` Arno Wagner
2016-06-07 14:24 ` fauno
-- strict thread matches above, loose matches on Subject: below --
2016-05-30 21:26 fauno
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='nik1e4$8ts$1@ger.gmane.org' \
--to=rnicholsnospam@comcast.net \
--cc=dm-crypt@saout.de \
/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.