Pcornel
Browse topics
Options
Recent
Favorites
Virtualization · Technical reference

Disk Encryption

Direct 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.

When to use this

Use this when protecting VM disks at rest in guest or platform.

First 30 seconds

1. Disk encryption can be in guest (LUKS, BitLocker) or on storage.

2. Guest encryption protects against host/storage theft.

3. Key management: recovery keys, TPM, Tang.

4. Encryption affects dedup/compression.

5. Test recovery.

Operational verification

data → encryption layer → storage

Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common mistakes
  • Losing the key provider and with it all encrypted VMs.
  • Encrypting both in guest and on host without need (double overhead).
  • Not checking backup compatibility before encrypting.
Platform / version applicability
virtualization
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

Platformvirtualization
Scope / prerequisiteUse this when protecting VM disks at rest in guest or platform.
What next?2 suggested next steps
Evidence1
On this pageJump to a specific section
Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Key points
  • Keys outside the encrypted storage.
  • Guest vs platform encryption differ.
  • Backups must stay restorable.
Key checks
  • cryptsetup status <name> — LUKS in guest
  • manage-bde -status — BitLocker in guest
  • zfs get encryption <dataset> — host storage encryption
ReferenceWhy it matters1 section · depth on demand

Guest vs host encryption

OptionProtects againstKey location
In-guest (BitLocker, LUKS)Stolen VM files, storage adminsGuest (vTPM) or key server
Hypervisor VM encryption (vSphere, Shielded VMs)Stolen datastore filesKey provider/KMS
Storage-level (array, ZFS, Ceph)Stolen disksArray/host

Higher layers protect against more insiders but add key management work. Back up keys separately.

ReferenceImportant terms & boundaries2 sections · depth on demand

In depth

Disk encryption can be done in the guest (BitLocker, LUKS) or below the VM (VM encryption, encrypted datastore/array, SEDs). In-guest encryption keeps keys inside the VM and works on any platform, but hypervisor-level features (dedup/compression on the array) see only random data and lose efficiency.

Whichever layer you choose, escrow recovery keys outside the VM and test a restore of an encrypted VM to a clean environment.

Options

LayerExamplesProtects against
GuestBitLocker, LUKSTheft of VM files and backups
HypervisorvSphere VM Encryption, Hyper-V Shielded VMsStorage and admin access to files
StorageArray/SED encryptionStolen disks

Guest encryption with vTPM keeps keys inside the VM but makes host-level dedup/compression ineffective.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docvirtualization current

Authoritative/upstream documentation reviewed for bounded claims in Security → Disk Encryption. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://csrc.nist.gov/pubs/sp/800/125/final · confidence 94%
Confirmation

Confirm action

Continue?