[dm-crypt] Encrypt all partitions with dm-crypt

Stayvoid stayvoid at gmail.com
Fri Sep 7 18:10:19 CEST 2012


I got the following error when I typed this command:
cryptsetup -y -c aes-xts-plain -s 512 create swap /dev/sda2
Cannot use device /dev/sda2 which is in use (already mapped or mounted).

There is nothing similar in either fstab or mount's output.
There is nothing in /dev/mapper except control.

What else should be checked?


More information about the dm-crypt mailing list