Anyone know why I can't access my volumes?

Philipp Rösch <philipp-A2/[email protected]>
Newsgroups gmane.linux.kernel.device-mapper.dm-crypt
Message-ID <dSQNvGX80huu7ihdPeNylguMY-SgmnKleKpBEgwGJtOMDzLMPNMl4KN3CQw53EfGHpfsvxwTCjSusU4bcSwH7d88mMUjDJdqbyHF6ukyFyg=@pm.me>
Hi guys, I cannot for the life of me understand why I can't access my volumes. I tried everything.

I installed Arch Linux about a year ago with LUKS on LVM. After an update and reboot I can no longer access the volumes: "No key available with this passphrase."

-I have the correct passphrase
-Passphrase consists of only the first 128 ASCII

-Double checked the keyboard layout, tried a key file

-luksDump looks good to me

-chk_luks_keyslots looks good to me

-Tried with cryptsetup 2.0.5-1 and 2.2.1-1

-Tried Kernel 4.18.16 and most recent Arch Kernel (don't know the exact version)

-Toshiba SSD (SMART looks good, a year old laptop)

I welcome any idea or suggestion.

-- vgdisplay

  --- Volume group ---

  VG Name               vg0

  System ID

  Format                lvm2

  Metadata Areas        1

  Metadata Sequence No  3

  VG Access             read/write

  VG Status             resizable

  MAX LV                0

  Cur LV                2

  Open LV               0

  Max PV                0

  Cur PV                1

  Act PV                1

  VG Size               476.20 GiB

  PE Size               4.00 MiB

  Total PE              121908

  Alloc PE / Size       121908 / 476.20 GiB

  Free  PE / Size       0 / 0

  VG UUID               0ejFtO-AV4B-3C81-iHAQ-GKjQ-XHY7-l2BGJ7

-- lvdisplay

  --- Logical volume ---

  LV Path                /dev/vg0/root

  LV Name                root

  VG Name                vg0

  LV UUID                IX7ERD-BVsI-m7kz-urJt-101W-jc5i-m4sut9

  LV Write Access        read/write

  LV Creation host, time archiso, 2018-11-19 19:29:15 +0000

  LV Status              available

  # open                 0

  LV Size                20.00 GiB

  Current LE             5120

  Segments               1

  Allocation             inherit

  Read ahead sectors     auto

  - currently set to     256

  Block device           254:0

  --- Logical volume ---

  LV Path                /dev/vg0/home

  LV Name                home

  VG Name                vg0

  LV UUID                Q1JKT2-U4ar-32Vd-V2Vr-2ZSP-1J0z-lwFEOi

  LV Write Access        read/write

  LV Creation host, time archiso, 2018-11-19 19:29:48 +0000

  LV Status              available

  # open                 0

  LV Size                456.20 GiB

  Current LE             116788

  Segments               1

  Allocation             inherit

  Read ahead sectors     auto

  - currently set to     256

  Block device           254:1

-- ROOT

LUKS header information for /dev/vg0/root

Version:        1

Cipher name:    aes

Cipher mode:    xts-plain64

Hash spec:      sha256

Payload offset: 4096

MK bits:        512

MK digest:      a7 de d2 02 b1 d5 ed 2c 52 c2 d2 bc c5 65 a2 4a a9 d3 52 df

MK salt:        af 2b 8d 00 87 88 b7 28 ef a0 9e 68 19 53 bd cc

                46 a3 1d e2 d0 0f e0 32 94 0d c3 46 7e d5 ef 91

MK iterations:  120470

UUID:           cdca293e-b5f7-4686-8723-51bfa910b44a

Key Slot 0: ENABLED

        Iterations:             1949026

        Salt:                   1e 0a c5 72 85 9a 95 e7 ba 7b d2 98 4d b3 83 00

                                d1 07 93 a9 42 44 11 2c a3 4b f5 4c e5 b1 82 4b

        Key material offset:    8

        AF stripes:             4000

Key Slot 1: DISABLED

Key Slot 2: DISABLED

Key Slot 3: DISABLED

Key Slot 4: DISABLED

Key Slot 5: DISABLED

Key Slot 6: DISABLED

Key Slot 7: DISABLED

00000000  4c 55 4b 53 ba be 00 01  61 65 73 00 00 00 00 00  |LUKS....aes.....|

00000010  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

00000020  00 00 00 00 00 00 00 00  78 74 73 2d 70 6c 61 69  |........xts-plai|

00000030  6e 36 34 00 00 00 00 00  00 00 00 00 00 00 00 00  |n64.............|

00000040  00 00 00 00 00 00 00 00  73 68 61 32 35 36 00 00  |........sha256..|

00000050  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

00000060  00 00 00 00 00 00 00 00  00 00 10 00 00 00 00 40  |...............@|

00000070  a7 de d2 02 b1 d5 ed 2c  52 c2 d2 bc c5 65 a2 4a  |.......,R....e.J|

00000080  a9 d3 52 df af 2b 8d 00  87 88 b7 28 ef a0 9e 68  |..R..+.....(...h|

00000090  19 53 bd cc 46 a3 1d e2  d0 0f e0 32 94 0d c3 46  |.S..F......2...F|

000000a0  7e d5 ef 91 00 01 d6 96  63 64 63 61 32 39 33 65  |~.......cdca293e|

000000b0  2d 62 35 66 37 2d 34 36  38 36 2d 38 37 32 33 2d  |-b5f7-4686-8723-|

000000c0  35 31 62 66 61 39 31 30  62 34 34 61 00 00 00 00  |51bfa910b44a....|

000000d0  00 ac 71 f3 00 1d bd 62  1e 0a c5 72 85 9a 95 e7  |..q....b...r....|

000000e0  ba 7b d2 98 4d b3 83 00  d1 07 93 a9 42 44 11 2c  |.{..M.......BD.,|

000000f0  a3 4b f5 4c e5 b1 82 4b  00 00 00 08 00 00 0f a0  |.K.L...K........|

00000100  00 00 de ad 00 00 00 00  00 00 00 00 00 00 00 00  |................|

00000110  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

00000120  00 00 00 00 00 00 00 00  00 00 02 00 00 00 0f a0  |................|

00000130  00 00 de ad 00 00 00 00  00 00 00 00 00 00 00 00  |................|

00000140  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

00000150  00 00 00 00 00 00 00 00  00 00 03 f8 00 00 0f a0  |................|

00000160  00 00 de ad 00 00 00 00  00 00 00 00 00 00 00 00  |................|

00000170  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

00000180  00 00 00 00 00 00 00 00  00 00 05 f0 00 00 0f a0  |................|

00000190  00 00 de ad 00 00 00 00  00 00 00 00 00 00 00 00  |................|

000001a0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

000001b0  00 00 00 00 00 00 00 00  00 00 07 e8 00 00 0f a0  |................|

000001c0  00 00 de ad 00 00 00 00  00 00 00 00 00 00 00 00  |................|

000001d0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

000001e0  00 00 00 00 00 00 00 00  00 00 09 e0 00 00 0f a0  |................|

000001f0  00 00 de ad 00 00 00 00  00 00 00 00 00 00 00 00  |................|

00000200  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

00000210  00 00 00 00 00 00 00 00  00 00 0b d8 00 00 0f a0  |................|

00000220  00 00 de ad 00 00 00 00  00 00 00 00 00 00 00 00  |................|

00000230  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

00000240  00 00 00 00 00 00 00 00  00 00 0d d0 00 00 0f a0  |................|

00000250  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

-- HOME

LUKS header information for /dev/vg0/home

Version:        1

Cipher name:    aes

Cipher mode:    xts-plain64

Hash spec:      sha256

Payload offset: 4096

MK bits:        512

MK digest:      50 c2 9a 6c 5a 98 21 77 bd 46 e0 2e 0d 01 82 f9 8d 6e db 4f

MK salt:        1e 5b cb 4c 72 5a 22 78 75 39 97 e2 cf 09 4d a5

                c8 85 8a a6 2c a6 a7 bd eb 09 71 ec fb 1c ca 6e

MK iterations:  119373

UUID:           e66111c9-7966-469d-911b-186c33a5ed06

Key Slot 0: ENABLED

        Iterations:             1909974

        Salt:                   6b 73 6f 04 65 ab 09 39 09 a7 9d 5d 75 2a 52 87

                                81 e0 67 52 0b 9d 69 83 46 7d 0f 65 88 9f 70 a8

        Key material offset:    8

        AF stripes:             4000

Key Slot 1: ENABLED

        Iterations:             1913458

        Salt:                   29 55 bb d8 70 1a 8f dc d5 12 03 37 43 a8 d5 08

                                02 c2 ac 9f 65 6f 13 f5 2c d1 97 fa ab 5a 75 75

        Key material offset:    512

        AF stripes:             4000

Key Slot 2: DISABLED

Key Slot 3: DISABLED

Key Slot 4: DISABLED

Key Slot 5: DISABLED

Key Slot 6: DISABLED

Key Slot 7: DISABLED

00000000  4c 55 4b 53 ba be 00 01  61 65 73 00 00 00 00 00  |LUKS....aes.....|

00000010  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

00000020  00 00 00 00 00 00 00 00  78 74 73 2d 70 6c 61 69  |........xts-plai|

00000030  6e 36 34 00 00 00 00 00  00 00 00 00 00 00 00 00  |n64.............|

00000040  00 00 00 00 00 00 00 00  73 68 61 32 35 36 00 00  |........sha256..|

00000050  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

00000060  00 00 00 00 00 00 00 00  00 00 10 00 00 00 00 40  |...............@|

00000070  50 c2 9a 6c 5a 98 21 77  bd 46 e0 2e 0d 01 82 f9  |P..lZ.!w.F......|

00000080  8d 6e db 4f 1e 5b cb 4c  72 5a 22 78 75 39 97 e2  |.n.O.[.LrZ"xu9..|

00000090  cf 09 4d a5 c8 85 8a a6  2c a6 a7 bd eb 09 71 ec  |..M.....,.....q.|

000000a0  fb 1c ca 6e 00 01 d2 4d  65 36 36 31 31 31 63 39  |...n...Me66111c9|

000000b0  2d 37 39 36 36 2d 34 36  39 64 2d 39 31 31 62 2d  |-7966-469d-911b-|

000000c0  31 38 36 63 33 33 61 35  65 64 30 36 00 00 00 00  |186c33a5ed06....|

000000d0  00 ac 71 f3 00 1d 24 d6  6b 73 6f 04 65 ab 09 39  |..q...$.kso.e..9|

000000e0  09 a7 9d 5d 75 2a 52 87  81 e0 67 52 0b 9d 69 83  |...]u*R...gR..i.|

000000f0  46 7d 0f 65 88 9f 70 a8  00 00 00 08 00 00 0f a0  |F}.e..p.........|

00000100  00 ac 71 f3 00 1d 32 72  29 55 bb d8 70 1a 8f dc  |..q...2r)U..p...|

00000110  d5 12 03 37 43 a8 d5 08  02 c2 ac 9f 65 6f 13 f5  |...7C.......eo..|

00000120  2c d1 97 fa ab 5a 75 75  00 00 02 00 00 00 0f a0  |,....Zuu........|

00000130  00 00 de ad 00 00 00 00  00 00 00 00 00 00 00 00  |................|

00000140  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

00000150  00 00 00 00 00 00 00 00  00 00 03 f8 00 00 0f a0  |................|

00000160  00 00 de ad 00 00 00 00  00 00 00 00 00 00 00 00  |................|

00000170  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

00000180  00 00 00 00 00 00 00 00  00 00 05 f0 00 00 0f a0  |................|

00000190  00 00 de ad 00 00 00 00  00 00 00 00 00 00 00 00  |................|

000001a0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

000001b0  00 00 00 00 00 00 00 00  00 00 07 e8 00 00 0f a0  |................|

000001c0  00 00 de ad 00 00 00 00  00 00 00 00 00 00 00 00  |................|

000001d0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

000001e0  00 00 00 00 00 00 00 00  00 00 09 e0 00 00 0f a0  |................|

000001f0  00 00 de ad 00 00 00 00  00 00 00 00 00 00 00 00  |................|

00000200  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

00000210  00 00 00 00 00 00 00 00  00 00 0b d8 00 00 0f a0  |................|

00000220  00 00 de ad 00 00 00 00  00 00 00 00 00 00 00 00  |................|

00000230  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

00000240  00 00 00 00 00 00 00 00  00 00 0d d0 00 00 0f a0  |................|

00000250  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

-- found in /proc/crypto

name         : __xts(aes)

driver       : cryptd(__xts-aes-aesni)

module       : cryptd

priority     : 451

refcnt       : 1

selftest     : passed

internal     : yes

type         : skcipher

async        : yes

blocksize    : 16

min keysize  : 32

max keysize  : 64

ivsize       : 16

chunksize    : 16

walksize     : 16

name         : xts(aes)

driver       : xts-aes-aesni

module       : aesni_intel

priority     : 401

refcnt       : 1

selftest     : passed

internal     : no

type         : skcipher

async        : yes

blocksize    : 16

min keysize  : 32

max keysize  : 64

ivsize       : 16

chunksize    : 16

walksize     : 16

name         : __xts(aes)

driver       : __xts-aes-aesni

module       : aesni_intel

priority     : 401

refcnt       : 1

selftest     : passed

internal     : yes

type         : skcipher

async        : no

blocksize    : 16

min keysize  : 32

max keysize  : 64

ivsize       : 16

chunksize    : 16

walksize     : 16

name         : __aes

driver       : __aes-aesni

module       : aesni_intel

priority     : 300

refcnt       : 1

selftest     : passed

internal     : yes

type         : cipher

blocksize    : 16

min keysize  : 16

max keysize  : 32

name         : aes
driver       : aes-aesni
module       : aesni_intel
priority     : 300
refcnt       : 5
selftest     : passed
internal     : no
type         : cipher
blocksize    : 16
min keysize  : 16
max keysize  : 32

name         : aes
driver       : aes-asm
module       : aes_x86_64
priority     : 200
refcnt       : 1
selftest     : passed
internal     : no
type         : cipher
blocksize    : 16
min keysize  : 16
max keysize  : 32

name         : aes
driver       : aes-generic
module       : kernel
priority     : 100
refcnt       : 2
selftest     : passed
internal     : no
type         : cipher
blocksize    : 16
min keysize  : 16
max keysize  : 32

Loaded modules: aesni_intel, aes_x86_64, xts, dm_mod, crypto_simd, cryptd, and dm_crypt.

_______________________________________________
dm-crypt mailing list
[email protected]
https://www.saout.de/mailman/listinfo/dm-crypt
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.