Re: [linux-lvm] Can I combine LUKS and LVM to achieve encryption and snapshots?
Demi Marie Obenour <[email protected]>
| Newsgroups | dev.linux.lists.linux-lvm |
|---|---|
| Message-ID | <ZROI3igNN/whnc1T@itl-email> |
On Wed, Sep 27, 2023 at 01:10:10AM +0200, Jean-Marc Saffroy wrote: > Hi, > > On Tue, Sep 26, 2023 at 10:00 PM Zdenek Kabelac > <[email protected]> wrote: > > Yep typical usage is to encrypt underlying PV - and then create LVs and its > > snapshots on encrypted device. > > Sure, I'd do that in other circumstances. > > But in my case it would just be a waste: I am replacing several disks > on a desktop computer with a single 2TB NVME SSD for everything. Only > /home needs to be encrypted, and it's tiny, like 100-200GB. Going > through encryption for most application I/Os would use CPU time and > increase latency with no benefit. "No benefit" depends on one's threat model. A surprising amount of sensitive data gets put outside of /home. For instance, SSH host keys are in /etc, and system daemons store their data in /var. That's why the standard is to encrypt the entire drive, except for /boot and /boot/efi. It's the only way to ensure that sensitive data doesn't wind up on the NVMe drive, from which it cannot be removed except by destroying or (cryptographically) securely erasing the drive. -- Sincerely, Demi Marie Obenour (she/her/hers) Invisible Things Lab _______________________________________________ linux-lvm mailing list [email protected] https://listman.redhat.com/mailman/listinfo/linux-lvm read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
signature.asc
(application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEdodNnxM2uiJZBxxxsoi1X/+cIsEFAmUTiN4ACgkQsoi1X/+c IsFt/RAAkbB+fFZ+zSPvPkED7vrKOoiFAUrn0sTrTXS5wpP4IsSrfKZ6QFsbjeo9 3y5PMLsv6HxEpebi/NBT2pptpTw5GpOy6bV7IhULyQvpUmQe5ZjDvxC9Ai6XOutJ qy8/ux4Wk5//Ap/V8kVfcH7Gy11L2lzQnR69vF/Fz372qIU3ggqARKLgF9bjXrZL zPRJ+ddXVo0qUevCbMVYqrzM3Q1NPu6AqPUBZL7tCitLGYBJH7SutHxzkkuq8QIq gZTC/RcdbAP0QGYYLQfKdqTTu+aWwwIdfLHVaExbl444dJeOBlvddT+HLmVaQuUQ N1wEP8ryYQvr1rHAdubHmK7tnRRPQtWzPMzMUcp6/1xG1ZH48u5ssvLWw70cbafB HZpIK32XiyaXNhIz9NqZ/OQZhu9DhSUBJRbB6bnaUYK3OxJvOes35eT/sBrQL+Y5 WO2L09vshxsYNAEO/gJ17nR+341DLuycrkKgQ3dAFAapQ0wxt9SVmsanAt2yxqQ1 lK9vAam900IeSR1UJIIonZSEhqgvViOUOqQqyI2QZ6huFnjsfy86u9lJfXFu0AOb OCVAnvLjlM11SM0tZbiFlDfO5vNyYGkNRZT7q8QWF58bUD7zru1ngvI3xXgRPfpD 6nfPiBkdFEtWVa5m1y6C+yR38Mf9F1p/WQ5vIMDPkYXQg4nEBdY= =s2YH -----END PGP SIGNATURE-----