Encrypted Volume and File System v2.2 Administrator Guide (777846-001, April 2014)
Step 2b: (Optional) Using fsck to check the file volume
Optionally, use the fsck command to check the integrity of the file volume:
fsck [-F file_sys_type] raw_evfs_volume_path
where:
-F file_sys_type Specifies the file system type. This must be a file system type
supported by the underlying LVM, VxVM, or physical volume,
such as hfs or vxfs. If you do not specify this option, fsck uses
the file system type from the corresponding entry in the /etc/
fstab file. For more information, see fsck(1m).
raw_evfs_volume_path Specifies the absolute pathname for the character (raw) EVS
volume device file, such as /dev/evfs/vg01/rlvol5,
/dev/evfs/vx/rdsk/rootdg/vol05, or /dev/evfs/rdsk/
c2t0d1.
Example
The following example checks the integrity of the file system on the EVS volume created in the
previous step:
# fsck /dev/evfs/vg01/rlvol5
Step 2c: Creating the mount point
Use the mkdir command to create the mount point. For example:
mkdir mount_point
where:
mount_point Specifies the path for the mount point.
Example
The following command creates the mount point /opt/encrypted_data:
# mkdir /opt/encrypted_data
Step 2d: Mount the file system on the EVS volume
Mount the file system on the EVS volume:
mount [-F file_sys_type] evfs_volume_path mount_point
where:
-F file_sys_type Specifies the file system type. If you do not specify this option, the mount
command uses the file system type from the corresponding entry in
/etc/fstab. For more information, see mount(1m).
evfs_volume_path Specifies the absolute pathname for the EVFS volume device file, such
as /dev/evfs/vg01/lvol5, /dev/evfs/vx/dsk/rootdg/vol05,
or /dev/evfs/dsk/c2t0d1.
mount_point The path for the mount point.
Example
The following command mounts the EVFS-based file system on the mount point created in the
previous step:
# mount -F vxfs /dev/evfs/vg01/lvol5 /opt/encrypted_data
Option 1: Creating a new EVS volume 51