Re: Problem after converting to LUKS2

Milan Broz <[email protected]> Thu, 16 Nov 2023 08:56:06 +0100
Newsgroups dev.linux.lists.cryptsetup
Message-ID <[email protected]>
On 11/15/23 16:34, Anton Avramov wrote:
...
>> Please post log from failing command (luksOpen?) with --debug option,
>> so we can see what
>> is failing and what exact version (toolss, kernel) you are using.
> Ubuntu 22.04.3 LTS
> 
> Linux  5.15.0-88-generic #98-Ubuntu SMP Mon Oct 2 15:18:56 UTC 2023
> x86_64 x86_64 x86_64 GNU/Linux
> 
> # cryptsetup 2.4.3 processing "cryptsetup luksOpen --key-file
> /root/.luks/.p2pool.keyfile /dev/sda1 CryptP2Pool --debug"

...

That log looks like a correct processing in open (with an incorrect keyfile).
(Or the convert process really corrupted something in keyslot...)

Could you please send luksDump (ans ideally also luksDump --dump-json-metadata)
output to check how it is exactly configured?

(You can send it in private mail if you do not want to share it in list.)

Thanks.
Milan