Pcornel
Virtualization · Security

Disk Encryption

Cheat sheet · https://pcornel.dk/topic.php?topic=3655

Back to the Topic

Answer

Disk encryption protects virtual disks at rest, either inside the guest (BitLocker, LUKS) or by the platform (VM encryption, encrypted datastores, Ceph or SAN encryption). Keys must be stored outside the encrypted storage, typically in a KMS.

Remember

  • Keys outside the encrypted storage.
  • Guest vs platform encryption differ.
  • Backups must stay restorable.

First checks

  • cryptsetup status <name> — LUKS in guest
  • manage-bde -status — BitLocker in guest
  • zfs get encryption <dataset> — host storage encryption

Verify in this order

data → encryption layer → storage

Where it usually breaks

First mismatch in management intent → host/cluster capability → hypervisor runtime/task → virtual resource/device → guest state → workload-visible read-back; preserve identity/native error/pre-state before mutation.

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3655

Confirmation

Confirm action

Continue?