Encrypting multiple hard drives
Is it possible to encrypt 2 physical harddrives as one LUKS volume? If it is, would you make reference to both drives under the same cryptsetup command? (cryptsetup -y --cipher aes-cbc-essiv:sha256 --key-size 256 luksFormat /dev/sdc1 /dev/sdd1). Both drives are 500GB and will be used together as the same VG in LVM2.
dm-crypt works on block devices, no matter if it's harddsiks, partitions, or virtual blockdevices (lvm, md, net block device ...)
If you tie both disks together into one LV, you can of course create a single crypto mapping for that LV - If this is wise is another question. You might aswell have a crypto mapping for each device and tie those together into one LV.
Regards
-Sven
P.S.: No, a SINGLE dm-crypt mapping does not handle two drives at the same time in general.
Quoted 5 lines · Scott Castaline
Is it possible to encrypt 2 physical harddrives as one LUKS volume? If it is, would you make reference to both drives under the same cryptsetup command? (cryptsetup -y --cipher aes-cbc-essiv:sha256 --key-size 256 luksFormat
/dev/sdc1/dev/sdd1). Both drives are 500GB and will be used together as the same VG in LVM2.
_______________________________________________
dm-crypt mailing list
[email protected]
http://www.saout.de/mailman/listinfo/dm-crypt
ke, 2010-03-03 kello 17:40 -0500, Scott Castaline kirjoitti:
Quoted 1 line
Is it possible to encrypt 2 physical harddrives as one LUKS volume?
If you want to encrypt the whole LVM, I'd probably raid them together with md, encrypt the md and use that as a physical volume for your LVM. (You can go the other way too of course as Sven said, making an LVM out of the two disks and encrypting the LV(s).)
Signature · 4 lines
Mikko Rauhala <[email protected]> - http://www.iki.fi/mjr/blog/ The Finnish Pirate Party - http://piraattipuolue.fi/ World Transhumanist Association - http://transhumanism.org/ Singularity Institute - http://singinst.org/