3 ms·
LVM on top of dm-crypt with LUKS. Both swap and my btrfs root partition are in the LUKS volume. While that works fine, I wish it wasn't necessary to use LVM. On
by cyphar 10y ago
LVM on top of dm-crypt with LUKS. Both swap and my btrfs root partition are in the LUKS volume. While that works fine, I wish it wasn't necessary to use LVM. Once btrfs supports encrypted drives, I'll be closer to not needing raw LUKS or LVM (hopefully btrfs would just use the dm-crypt kernel APIs). But encrypted swap is very important (your encryption key or other sensitive data could end up on a decrypted part of your disk after your laptop dies suddenly). So currently I'm SOL if I want to use a swap partition, maybe I should add a loopback device in btrfs that is non-cow?