Error while making LUKS Encrypted partition


#1

I am trying to make an encrypted partition in Red Hat Linux 7. I am proceeded by following way

fdisk /dev/vdb
n ->
p -> +150M
w

Now, /dev/vdb1 partition is created.
Making encrypted partition

`cryptsetup luksFormat /dev/vdb1``
:YES
Enterpassphrase:

After entering password i got following error
> device-mapper: reload ioctl on failed: Invalid argument

Failed to setup dm-crypt key mapping for device /dev/vdb1
check that kernel supports aes-xts-plain64 cipher