Description:
Creating a loopback device with losetup
Operating System:
Ubuntu
Error:
# losetup -e aes -k 256 /dev/loop0 /dev/sdb1
Password:
ioctl: LOOP_SET_STATUS: Invalid argument
Solution:
The error could be caused by either:
- incorrect command syntax
- missing modules try:
# modprobe cryptoloop