evfsadm.1m (2010 09)

e
evfsadm(1M) evfsadm(1M)
(EVFS Software Required)
Options
evfsadm recognizes the following options and parameters:
evfs_volume_path The absolute pathname of the EVFS volume device file, such as
/dev/evfs/vg01/lvol1
, /dev/evfs/vx/dsk/rootdg/vol01
,or
/dev/evfs/dsk/c2t0d1
.
volume_path The absolute pathname of the block device file for the underlying LVM, VxVM, or
physical volume, such as
/dev/vg01/lvol1
, /dev/vx/dsk/rootdg/vol01
,
or
/dev/dsk/c2t0d1
.
-a Specifies all the maps in the
/etc/evfs/evfstab
configuration file. When
specified with the
map subcommand, EVFS will re-map all volumes in the
/etc/evfs/evfstab
file.
-b Begin tracing. (Support personnel only.)
-c Load tracing parameters from config file. (Support personnel only.)
-e End tracing. (Support personnel only.)
-f Specify file-level encryption mode. Volume-level encryption mode is used if this
option is not specified.
-i Display tracing status. (Support personnel only.)
-l Specify tracing level. (Support personnel only.)
-m Specify tracing modules. (Support personnel only.)
-n number Specifies the number of kernel threads to create for EVFS encryption and decryp-
tion processing. This option is not valid on systems where
kernel_encryption_mode
is set to local in the /etc/evfs/evfs.conf
file.
Range: On single-processor systems, 1 is the only valid value.
On multi-processor systems, the maximum number of threads is the
number of active processors in the system.
Default: On single-processor systems, the default is 1.
On multi-processor systems, the default is the number of active proces-
sors in the system minus 1.
-s Prints statistics to the output including the number of blocks read, written,
encrypted, and decrypted, as well as encryption and decryption rates. This option
also displays information about EVFS volume status (enabled or disabled).
-z The option resets the EVFS encryption and decryption statistics to zero.
RETURN VALUE
evfsadm returns one of the following values:
0 Success
<>0 Failure.
ERRORS
Error numbers will be returned by each routine.
EXAMPLES
The following command will create an encrypted device special file for
lvol4 in volume-level encryption
mode. (This is the first step in creating an encrypted volume):
% evfsadm map /dev/vg01/lvol4
For a VxVM volume, the command would be:
% evfsadm map /dev/vx/dsk/rootdg/vol1
For a whole disk (physical) volume, the command would be:
% evfsadm map /dev/dsk/c1t0d0
2 Hewlett-Packard Company 2 HP-UX 11i Version 3: September 2010