VERITAS Volume Manager 3.1 Migration Guide

Conversion Error Messages
Appendix A 93
Step 1. Back up all the data associated with the physical volume.
Step 2. Make a current backup of the LVM headers, for example:
vgcfgbackup /dev/vg01
Step 3. Close all the logical volumes associated with the volume group and then
deactivate the volume group.
Step 4. Create a dummy link to the raw device, for example:
ln /dev/rdsk/c0t0d0 /dev/rdsk/temp
Step 5. Destroy the LVM headers using pvcreate -f on the dummy link, for
example:
pvcreate -f /dev/rdsk/temp
Step 6. Remove the dummy link to the raw device, for example:
rm /dev/rdsk/temp
Step 7. Restore the headers from the lvmconf backup, for example:
vgcfgrestore -n /dev/vg01 /dev/rdsk/c0t0d0
Step 8. Activate the volume group and integrity check the data or recover from
backup.