* [dm-crypt] Encrypting multiple hard drives
@ 2010-03-03 22:40 Scott Castaline
2010-03-03 22:48 ` Sven Eschenberg
2010-03-04 19:12 ` Mikko Rauhala
0 siblings, 2 replies; 3+ messages in thread
From: Scott Castaline @ 2010-03-03 22:40 UTC (permalink / raw)
To: dm-crypt
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dm-crypt] Encrypting multiple hard drives
2010-03-03 22:40 [dm-crypt] Encrypting multiple hard drives Scott Castaline
@ 2010-03-03 22:48 ` Sven Eschenberg
2010-03-04 19:12 ` Mikko Rauhala
1 sibling, 0 replies; 3+ messages in thread
From: Sven Eschenberg @ 2010-03-03 22:48 UTC (permalink / raw)
To: dm-crypt
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.
Scott Castaline schrieb:
> 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
> dm-crypt@saout.de
> http://www.saout.de/mailman/listinfo/dm-crypt
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dm-crypt] Encrypting multiple hard drives
2010-03-03 22:40 [dm-crypt] Encrypting multiple hard drives Scott Castaline
2010-03-03 22:48 ` Sven Eschenberg
@ 2010-03-04 19:12 ` Mikko Rauhala
1 sibling, 0 replies; 3+ messages in thread
From: Mikko Rauhala @ 2010-03-04 19:12 UTC (permalink / raw)
To: dm-crypt
ke, 2010-03-03 kello 17:40 -0500, Scott Castaline kirjoitti:
> 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).)
--
Mikko Rauhala <mjr@iki.fi> - http://www.iki.fi/mjr/blog/
The Finnish Pirate Party - http://piraattipuolue.fi/
World Transhumanist Association - http://transhumanism.org/
Singularity Institute - http://singinst.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-03-04 19:12 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-03 22:40 [dm-crypt] Encrypting multiple hard drives Scott Castaline
2010-03-03 22:48 ` Sven Eschenberg
2010-03-04 19:12 ` Mikko Rauhala
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox