5.Open raw access to the backup EVFS volume using the evfsvol raw command.

CAUTION: After you open the volume for raw access, any entity reading data from the EVFS volume receives encrypted data. Any entity writing data to the EVFS volume writes directly to the underlying disk; EVFS does not encrypt the text. HP recommends that you use the evfsvol raw command only when creating encrypted backup media or restoring encrypted backup media.

The syntax for the evfsvol raw command is as follows: evfsvol raw evfs_volume_path

where evfs_volume_path is the absolute pathname for the EVFS volume device file. For example:

#evfsvol raw /dev/evfs/vg01/lvol5

6.Use a file-based utility or a block device utility, such as dd, to copy data from the backup EVFS volume to the target device. For example:

#dd bs=64k if=/dev/evfs/vg01/lvol5 of=/dev/rmt/0m

7.Close raw access to the backup EVFS volume using the evfsvol close command to begin the procedure to return the volume to its original state. For example:

#evfsvol close /dev/evfs/vg01/lvol5

8.Enable the EVFS volume using the evfsvol enable command and remount the file system on the EVFS volume.

Example

In the following example, /dev/evfs/vg01/lvol5 is the source volume, and /dev/rmt/0m is the target tape device. The dd command receives encrypted text from the source EVFS volume because it is open for raw access.

#fuser -cku /opt/encrypted_data

#umount /dev/evfs/vg01/lvol5

#evfsvol disable -k my_key /dev/evfs/vg01/lvol5

#evfsvol raw /dev/evfs/vg01/lvol5 (EVFS prompts if you want to continue)

#dd bs=64k if=/dev/evfs/vg01/lvol5 of=/dev/rmt/0m

#evfsvol close /dev/evfs/vg01/lvol5

#evfsvol enable -k my_key /dev/evfs/vg01/lvol5

#mount -F vxfs /dev/evfs/vg01/lvol5 /opt/encrypted_data

122 Backing Up and Restoring Data on EVFS Volumes

Page 122
Image 122
HP UX Encrypted Volume and Filesystem (EVFS) manual # evfsvol raw /dev/evfs/vg01/lvol5