Encrypted Volume and File System v2.0 Administrator Guide HP-UX 11i v3

The output from the evfsvol check command includes the text EMD is dirty and is similar
to the following:
evfsvol: check error: cannot check encrypted volume "ev1", EMD is dirty
Description
If the system terminates without executing the system shutdown scripts, EVFS volumes will have a
"dirty bit" set in the EMD areas. If you try to enable an EVFS volume with the dirty bit set, EVFS
displays the message EMD is dirty. If this dirty EVFS volume contains a file system, a file system
consistency check is also required (see fsck(1M)).
Solution
Use the following evfsvol check -r command to reset the dirty bit.
evfsvol check -r -a|evfs_volume_path
where:
-r Resets the dirty bit for the specified volume.
-a Resets the dirty bit for all volumes in the /etc/evfs/evfstab file.
evfs_volume_path Specifies the absolute pathname for the EVFS volume device file, such
as /dev/evfs/vg01/lvol5, /dev/evfs/vx/dsk/rootdg/vol05,
or /dev/evfs/dsk/c2t0d1.
EVFS is not starting on system boot
Make sure that the EVFS_ENABLED variable in /etc/rc.config.d/evfs is set to 1:
EVFS_ENABLED = 1
Verify that the /etc/inittab file has the following entry:
evs1::bootwait:/sbin/init.d/evfs_local start </dev/console>/dev/console 2>&1 ## evfs
Error on evfsadm stat output
The evfsadm stat a command returns the following error:
evfsadm: stat error: cannot retrieve "/dev/evfs/vg00/lvol14" state,
unkown failure: errno = 594
Solution
This error occurs when the mapping is not initialized correctly. Make sure that there is no problem
with the volumes and use the evfsadm map a command to restore the mapping.
Error on mounting file system
Make sure that you run fsck as follows after you reset the dirty bit of an EMD, or if the EMD is
corrupted and you recover it from the EMD backup file by doing evfsvol restore
evfs_volume_path:
fsck [-F file_sys_type] raw_evfs_volume_path
Without running fsck, you may not be able to mount the file system on the EVS volume successfully.
Reporting problems
If you are unable to resolve a problem with EVFS, complete the following steps:
1. Read the EVFS product release notes to see if the problem is a known problem. If it is, follow
the documented solution.
2. Determine if you have a valid warranty or support contract for your HP-UX system. Your
operations manager can supply you with the necessary information.
3. Go to the HP Support Center website at the following URL:
http://www.hp.com/go/hpsc
Reporting problems 153