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

 

5254838

4697538

2704

4710186

-----EVFS Volume Name -------- State ------------------- Rates ---------------

kbpsr kbpsw dkbps ekbps

/dev/evfs/vg01/ldp_raw

raw

2195

18

901

89

Step 2 To create an HP-UX EVFS volume on the target client system, evfs6.hp.com, and open raw access to the volume, complete the following tasks:

1. To create an LVM volume on the target client system, enter the following command:

evfs6# lvcreate -L 5120 -n ldp_raw vg01

The following output is displayed:

Logical volume "/dev/vg01/ldp_raw" has been successfully created with character device "/dev/vg01/rldp_raw".

Logical volume "/dev/vg01/ldp_raw" has been successfully extended. Volume Group configuration for /dev/vg01 has been saved in /etc/lvmconf/vg01.conf

2. To map the LVM volume to the HP-UX EVFS volume, enter the following command:

evfs6# evfsadm map /dev/vg01/ldp_raw

The following output is displayed:

Volume "/dev/vg01/ldp_raw" has been successfully mapped to EVFS

volume

"/dev/evfs/vg01/ldp_raw"

 

3. To generate user keys for the HP-UX EVFS volume, enter the following command:

$ evfspkey keygen -p

The system prompts for the passphrase. Enter the passphrase.

Enter passphrase:

Enter the passphrase again.

Re-enter passphrase:

The following output is displayed:

Public/Private key pair "root.root" has been successfully generated

4. To create an EMD area, enter the following command:

evfs6# evfsvol create /dev/evfs/vg01/ldp_raw

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

Enter owner passphrase:

The following output is displayed:

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

5. Enable the encrypted volume using the evfsvol enable command, as follows:

26