dirty bit is set even though the backup volume has not been enabled. You must reset the dirty bit in the EMD of the backup volume using the evfsvol check –rcommand.

The syntax is as follows:

evfsvol check -r evfs_volume_path

Where evfs_volume_path is the absolute pathname for the EVFS 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 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/vx/dsk/testdg/backupvol

9.Use 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/vx/dsk/testdg/backupvol of=/dev/rmt/0m

10.Close raw access to the backup EVFS 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 EVFS 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–01and vol05–02. The administrator dissociates plex vol05–02to 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 EVFS volume because it is open for raw access.

Backing Up EVFS Volumes 113

Page 113
Image 113
HP UX Encrypted Volume and Filesystem (EVFS) manual # evfsvol raw /dev/evfs/vx/dsk/testdg/backupvol