Is it possible to setup a LVM on LUKS system using multiple hard drives and not enter a passphrase for each drive?

In the past, I've done LUKS on LVM and had the key-files for other volumes on the root volume. Unlock the root volume and crypttab unlocks all the rest. But this has been cumbersome to maintain.

  • 1
    You might explain what is cumbersome about that. May 1, 2018 at 14:43

1 Answer 1


I use the same metadata (LUKS headers) for most of my encrypted volumes. If that is true for your volumes, too, or if you are willing to change it accordingly then you could use a script which just reads the DM device table information from the root volume and sets up the other devices with the same data.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .