dm-crypt with raid

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I have a raid 0 consisting out of two partitions setup to /dev/md1.
Now I want to encrypt to encrypt this raid partition. How would I go
about that?

Would I simply do:

cryptsetup -c aes-cbc-essiv:sha256 -y -s 256 luksFormat /dev/md1
cryptsetup luksOpen /dev/md1 md1
mkfs.ext3 /dev/mapper/md1
mount /dev/mapper/md1 /mnt

I tried something similar (following
http://www.saout.de/tikiwiki/tiki-index.php?page=EncryptedDeviceUsingLUKS
) just now and everything worked fine until I unmounted /dev/md1. When
I wanted to mount the partition again I got the message: special
device /dev/md1 does not exist.

So I am not sure what went wrong.

Thx for your help.

Benjamin Dickgiesser

---------------------------------------------------------------------
 - http://www.saout.de/misc/dm-crypt/
To unsubscribe, e-mail: dm-crypt-unsubscribe@xxxxxxxx
For additional commands, e-mail: dm-crypt-help@xxxxxxxx



[Index of Archives]     [Device Mapper Devel]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux