clevis icon indicating copy to clipboard operation
clevis copied to clipboard

Not supported Luks device

Open nemihome opened this issue 2 years ago • 3 comments

clevis luks bind -d /dev/sda4 tang '{"url":"127.0.0.1"}' is resulting in "Not supported Luks device. I'm not sure what this should tell me. This is a stantard luks2 device. What are the reasons why clevis is raising this message?

nemihome avatar Nov 12 '22 20:11 nemihome

Hello. Can you please show output of next commands?:

lsblk --fs cryptsetup --version

sarroutbi avatar Nov 14 '22 09:11 sarroutbi

Hi, the relevant drive is sda4

sda
|-sda1 crypto_LUKS 1 63cbbde6-d717-4779-b6a8-d6a46fa66b1c
| -boot_crypt ext2 1.0 aba77bba-f6e2-475a-afc0-84625bfdc659 604.2M 35% /boot |-sda2 ext4 1.0 810facc8-3144-4ad6-926b-e6350f7e0983 275G 17% /var/snap/firefox/common/host-hunspell | / -sda4 crypto_LUKS 2 e1d7caf4-84f9-4575-b484-978e69294a40
`-cryptbtrfs btrfs f8fcb1ae-51b1-4ab2-b79d-66cf34ad77d9 43.9G 78% /btrfs

cryptsetup 2.4.3

nemihome avatar Nov 14 '22 20:11 nemihome

cryptsetup version looks fine (cryptsetup >= 2.0.4)

However, I don't see this specific error in the code. I mean this: "Not supported Luks device"

Can you please post clevis version you are using? Is this Ubuntu 22.04?

sarroutbi avatar Nov 15 '22 10:11 sarroutbi