DM-Crypt Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [dm-crypt] gpt over luks - entire data disk encryption
@ 2012-07-18 21:46 Two Spirit
  2012-07-19  8:24 ` Milan Broz
  2012-07-19 11:07 ` Milan Broz
  0 siblings, 2 replies; 4+ messages in thread
From: Two Spirit @ 2012-07-18 21:46 UTC (permalink / raw)
  To: dm-crypt

[-- Attachment #1: Type: text/plain, Size: 1151 bytes --]

Hello,

After some corruptions to my luks environment, I get an opportunity to make
some upgrades to my setup.
I need some help. I'm testing a raid5+1 environment, and would like to do
whole data disk encryptions
with GPT. once I partition the disk using GPT, I can't run the "cryptsetup
luksClose". I've done
whole disk encryption without a partition table with no problems, and I
also have done luks encryption
on a GPT partition without problems.

The only way I have found to be able to run luksClose is to blow away the
partition table(which is not
acceptable solution). I suspect that udevadm (running ubuntu-12.04) is
involved as a /dev/mapper/raid51p1
exists. When I get rid of the /dev/mapper/raid51p1, and only the
/dev/mapper/raid51 exists, I can then run "luksClose".

Is there anyway to have udevadm drop control or other workaround so I can
cleanly close my LUKS drive
for a clean shutdown procedure.

fyi: With the new 4TB drives in my raid, I have the luxury of some extra
disk space and want the option of later
creating additional partitions and possibly remove them later. I don't want
to have to encrypt each partition
separately.

[-- Attachment #2: Type: text/html, Size: 1401 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-07-19 11:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-18 21:46 [dm-crypt] gpt over luks - entire data disk encryption Two Spirit
2012-07-19  8:24 ` Milan Broz
2012-07-19  8:43   ` Milan Broz
2012-07-19 11:07 ` Milan Broz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox