All of lore.kernel.org
 help / color / mirror / Atom feed
From: Arno Wagner <arno@wagner.name>
To: dm-crypt@saout.de
Subject: Re: [dm-crypt] Is my LUKS header corrupted?
Date: Wed, 24 Apr 2019 15:51:23 +0200	[thread overview]
Message-ID: <20190424135123.GA12787@tansi.org> (raw)
In-Reply-To: <20190424121443.u4mcxn662b7r7g56@h-174-65.A328.priv.bahnhof.se>

On Wed, Apr 24, 2019 at 14:14:43 CEST, Michael Kjörling wrote:
> On 24 Apr 2019 14:08 +0200, from arno@wagner.name (Arno Wagner):
> > 2. would indicate a corrupt header, but 1. is really strange.
> > Unless Kubuntu has done something they really should not do,
> > namely adding their own passphrase checksum, I have no idea
> > how that behavior could happen.
> 
> 1. would seems to me to *possibly* indicate a corrupted file system.
> Running a *read-only* fsck from within that emergency mode shell may
> be advised, just to see if there's significant metadata damage within
> the container. Also check how the file system is mounted when the
> system drops into emergency mode; read-only or read/write.

Makes sense to me. 2. may be due to keymap or locale problems,
especially when the test was done in that emergency shell. In 
that case, the LUKS header may well be fine and the filesystem 
within the LUKS container may be damaged instead. And that can
happen on a hard power-off.

Arno


> 
> -- 
> Michael Kjörling • https://michael.kjorling.se • michael@kjorling.se
>   “The most dangerous thought that you can have as a creative person
>               is to think you know what you’re doing.” (Bret Victor)
> _______________________________________________
> dm-crypt mailing list
> dm-crypt@saout.de
> https://www.saout.de/mailman/listinfo/dm-crypt

-- 
Arno Wagner,     Dr. sc. techn., Dipl. Inform.,    Email: arno@wagner.name
GnuPG: ID: CB5D9718  FP: 12D6 C03B 1B30 33BB 13CF  B774 E35C 5FA1 CB5D 9718
----
A good decision is based on knowledge and not on numbers. -- Plato

If it's in the news, don't worry about it.  The very definition of 
"news" is "something that hardly ever happens." -- Bruce Schneier

  reply	other threads:[~2019-04-24 13:51 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-24 10:42 [dm-crypt] Is my LUKS header corrupted? Greg Laun
2019-04-24 12:08 ` Arno Wagner
2019-04-24 12:14   ` Michael Kjörling
2019-04-24 13:51     ` Arno Wagner [this message]
2019-04-24 19:35 ` Heinz Diehl
2019-04-25 11:04   ` Greg Laun
2019-04-25 18:06     ` Arno Wagner

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=20190424135123.GA12787@tansi.org \
    --to=arno@wagner.name \
    --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.