To change the size of the user data disk#

  1. Modify the size parameter for the gos0-demo-ufs partition.

The default size is 10 GB.

  1. After boot, dump the disk partitions by executing the command:

$df -h

The new encrypted partition is displayed with the name /dev/mapper/home-encrypted.

  1. To obtain more information about the encrypted partition, execute the command:

$dmsetup status /dev/mapper/home-encrypted
  1. Execute this command also provides information about the encrypted partition.

$dmsetup status

A systemd service (nv_cpu_encrypted_user_partition.service) mounts the encrypted disk at the /home directory on every boot. All accesses to the disk are then encrypted. This occurs transparently without user interference.