Before disk encryption, prepare a Linux or Windows disk device by following the
steps below.
Procedure
- On Linux:
- Create a volume and attach it to the instance.
- Create a partition by using fdisk.
- Build a file system on the device partition.
# mkfs -t <filesystem type> /dev/sdx
- Create a mount point.
# mkdir /mnt/mount_point
- Mount the file system.
# mount /dev/sdx /mnt/mount_point/
- Verify the mounted file system.
# df -h
- On Windows:
- Create a volume and attach it to the instance.
- Create an NTFS partition to mount the volume.
- Log on as administrator or as a member of the Administrators group.
- Go to Start > Run,
type diskmgmt.msc, and the click
OK to open Disk Management.
- Right-click the volume, and then click New simple
drive.