Welcome to the Linux Foundation Forum!

Lab 10.1 device-mapper: reload ioctl on temporary-cryptsetup-2318 failed: Invalid Argument

Options

When running sudo cryptsetup luksFormat / dev / sda4

I get the following error

Device-mapper: reload ioctl on temporary-cryptsetup-2318 failed: Invalid argument

Could not set dm-crypt key assignment to device / dev / sda4

Verify that the kernel supports the aes-xts-plain64 encryption algorithm (see syslog for more information)

This is in opensuse, in the official virtualized image of the course.

With the dmesg command the following appears:

Table: 252: 0 crypt: unknown target type

Ioctl: error adding target to table

Comments

  • luisviveropena
    luisviveropena Posts: 1,154
    edited May 2017
    Options

    Hi,

    Please check if the module with name dm_crypt is loaded. If not, please load it with 'modprobe dm_crypt'.

    Thanks,

    Luis.

Categories

Upcoming Training