Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've installed Ubuntu 12.04 Server using the encrypted volume with LVM option. I've now added another harddrive, that I wish to encrypt using the same key - and only supply key once during boot.

How can I accomplish this?

share|improve this question
up vote 1 down vote accepted

This isn't exactly possible (with my limited understanding of these systems).

An alternative would be to add a keyfile on your first encrypted partition that will give access to the other drives.

When setting up a keyfile, make sure you investigate and figure out a good size, as well as measures to protect it from getting stolen. Also, I'd recommend adding a passphrase that you can remember in case the first drive fails.

The Archlinux community has a very good set of documentation in regards to setting up and managing LVM and cryptfs/dm-crypt/LUKS partitions.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.