Encrypted Volume and File System v2.2 Administrator Guide (777846-001, April 2014)
evfsvol check -r evfs_volume_path
Where evfs_volume_path is the absolute pathname for the EVS volume device file.
For example:
# evfsvol check -r /dev/evfs/vx/dsk/testdg/backupvol
Encrypted volume "/dev/evfs/vx/dsk/testdg/backupvol" has not been properly shut down.
Resetting dirty bit...
Encrypted volume "/dev/evfs/vx/dsk/testdg/backupvol" has been successfully recovered
8. Open raw access to the backup EVS volume using the evfsvol raw command.
CAUTION: After you open the volume for raw access, any entity reading data from the EVS
volume receives encrypted data. Any entity writing data to the EVS 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 EVS volume device file.
For example:
# evfsvol raw /dev/evfs/vx/dsk/testdg/backupvol
9. Use a block device utility, such as dd, to copy data from the backup EVS volume to the target
device. For example:
# dd bs=64k if=/dev/evfs/vx/dsk/testdg/backupvol of=/dev/rmt/0m
10. Close raw access to the backup EVS volume using the evfsvol close command to begin
the procedure to return the backup volume to its original state. For example:
# evfsvol close /dev/evfs/vx/dsk/testdg/backupvol
11. Unmap the backup EVS volume using the evfsadm unmap command. For example:
# evfsadm unmap /dev/evfs/vx/dsk/testdg/backupvol
12. Stop the backup VxVM volume using the vxvol stop command. For example:
# vxvol -g testdg stop backupvol
13. Dissociate the plex from the backup VxVM volume using the vxplex dis command. For
example:
# vxplex -g testdg -v backupvol dis vol05-02
14. Attach the plex back to the original VxVM volume using the vxplex att command. For
example:
# vxplex -g testdg -v vol05 att vol05-02
15. Remove the temporary backup volume using the vxassist remove volume command.
For example:
# vxassist -g testdg remove volume backupvol
Example
In the following example, the volume vol05 in disk group testdg has two plexes, vol05–01
and vol05–02. The administrator dissociates plex vol05–02 to use as the source for the backup.
The target is the tape device /dev/rmt/0m. The dd command receives encrypted text from the
source EVS volume because it is open for raw access.
# vxplex -g testdg dis -v vol05 vol05-02
# vxmake -g testdg -U gen vol backupvol plex=vol05-02
# vxvol -g testdg start backupvol
# evfsvol map /dev/vx/dsk/testdg/backupvol
# evfsvol check -r /dev/evfs/vx/dsk/testdg/backupvol
# evfsvol raw /dev/evfs/vx/dsk/testdg/backupvol (EVFS prompts if you want to continue.)
88 Backing up and restoring data on EVS volumes