5
2
The file is mounted to /dev/loop0. # losetup /dev/loop0 /path/to/container1
. While trying to set up encryption getting error:
root@ubuntu:/# cryptsetup --verbose --cipher "aes-cbc-essiv:sha256" --key-size 256 --verify-passphrase luksFormat /dev/loop0
WARNING!
========
This will overwrite data on /dev/loop0 irrevocably.
Are you sure? (Type uppercase yes): yes
Command failed with code 22: Invalid argument
How to resolve this problem?
Used tutorial: http://www.g-loaded.eu/2005/11/10/encrypt-devices-using-dm-crypt-and-luks/
1Are you sure? (Type uppercase yes): yes >> MUST be >> Are you sure? (Type uppercase yes): YES – J.Olufsen – 2012-04-27T13:08:20.383