Example: Encrypting a Linux LVM Volume

In Linux, Logical Volume Manager (LVM) is a device mapper target that provides logical volume management for the Linux kernel. You can use the same hcl add and hcl encrypt commands to register an LVM volume withKeyControl, but the Policy Agent cannot stamp a GUID on LVM volumes the way it can with MBR partitions such as sdb1. Therefore an LVM cannot be migrated across VMs because that process requires a GUID.

The following examples show the process of encrypting a volume with existing data and registering a new LVM volume.

Tip: Depending on the size of the disk, the encryption process can take a long time to run. If the process is interrupted, you need to manually restart the process. We recommend you use the Linux nohup or screen command to avoid terminal-related interruptions during encryption.