HP UX Encrypted Volume and Filesystem (EVFS) EMD Is Dirty, Evfsvol check -r -aevfsvolumepathwhere

Models: UX Encrypted Volume and Filesystem (EVFS)

1 174
Download 174 pages 22.98 Kb
Page 138
Image 138

EMD Is Dirty

Symptom

The evfsvol enable or evfsvol check command fails. The output from the evfsvol enable command includes the text EMD is dirty and is similar to the following:

evfsvol: enable error: cannot enable encrypted volume "/dev/evfs/vg01/lvol5", EMD is dirty

evfsvol: enable error: failed to enable encrypted volume /dev/evfs/vg01/lvol5

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.

Solution

Use the following evfsvol check -rcommand to reset the dirty bit.

evfsvol check -r -aevfs_volume_pathwhere:

-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.

138 Troubleshooting EVFS

Page 138
Image 138
HP UX Encrypted Volume and Filesystem (EVFS) manual EMD Is Dirty, Evfsvol check -r -aevfsvolumepathwhere