#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 EVFS Volume

Mount the file system on the EVFS volume:

mount [-Ffile_sys_type] /dev/evfs/evfs_volume_path mount_point

where:

 

-Ffile_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. See mount(1m) for more information.

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

Step 2e: (Optional) Adding an Entry to /etc/fstab

Optionally, add an entry to the /etc/fstab file for the encrypted volume. The system can use this entry for the mount -acommand (mount all file systems in the /etc/fstab file) or to automatically mount the file system at system startup. For file systems on EVFS volumes in the /etc/fstab file that you want the system to mount at system startup, the key database must reside on the local root file system (the system must be able access the keys early in the system startup procedure).

The syntax for the entry is as follows:

evfs_volume_path

mount_point file_sys_type [options]

where:

 

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.

file_sys_type

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.

options

Options for the entry. See fstab(4) for more information.

Option 1: Creating a New EVFS Volume 57

Page 57
Image 57
HP UX Encrypted Volume and Filesystem (EVFS) manual Creating the Mount Point, Mount the File System on the Evfs Volume