Step 4 To create a sample directory to mount the HP-UX EVFS volume, enter the following command:

$ mkdir /dp_raw

Step 5 To mount the file system, enter the following command:

$ mount -F vxfs /dev/evfs/vg01/ldp_raw /dp_raw

Step 6 Create sample files in the directory on which the source HP-UX EVFS volume is mounted. In this example, 5.3 GB of data is copied to the /dp_raw directory, as illustrated in the following directory listing:

$ ll /dp_raw

The following output is displayed:

total 10447988

 

 

 

 

drwxr-xr-x

2

root

root

96 Dec 18

11:19 lost+found

-rw-rw-rw-

1

root

sys

5349361664 Dec

18 15:52 temp.tar

Step 7 To unmount the file system, enter the following command:

$ umount /dp_raw

Step 8 To disable the HP-UX EVFS volume, enter the following command:

$ evfsvol disable /dev/evfs/vg01/ldp_raw

The system prompts for the user passphrase. Enter the user passphrase.

Enter user passphrase:

The following output is displayed:

Encrypted volume "/dev/evfs/vg01/ldp_raw" has been successfully disabled

Step 9 To open raw access to the HP-UX EVFS volume, enter the following command:

$ evfsvol raw /dev/evfs/vg01/ldp_raw

The following output is displayed:

Are you sure you want to enable raw access to "/dev/evfs/vg01/ldp_raw"?

Raw access returns encrypted data to the user. Answer [yes/no]:yes

Successfully enabled raw access to EVFS volume "/dev/evfs/vg01/ldp_raw"

Step 10 To ensure that the HP-UX EVFS volume is open for raw access, enter the following command and check the state of the HP-UX EVFS volume:

$ evfsadm stat /dev/evfs/vg01/ldp_raw

The following output is displayed:

----- EVFS Volume Name -----

--- State ---

---------------- Queues

--------------

 

 

 

orr

owr

odr

oer

 

/dev/evfs/vg01/ldp_raw

raw

 

0

0

0

0

-----EVFS Volume Name -------- State ------------------ Counters -------------

bpr bpw bpd bpe

/dev/evfs/vg01/ldp_raw

raw

2728

4670435

2704

4683083

13