VERITAS Volume Manager 5.0 Migration Guide (September 2006)

72 Conversion error messages
Device device_name has the
following bad blocks... Cannot
convert LVM Volume Group
Unlike LVM, VxVM does not support bad block
revectoring at the physical volume level. If there
appear to be any valid bad blocks in the bad
block directory (BBDIR) of any disk used in an
LVM volume group, the group cannot be
converted.
To clear the BBDIR:
1 Stop all access to the physical volume, and
back up all the data in thevolume group.
2 If the errors are persistent or the disk has
not been replaced, have a certified
engineer revector the blocks or replace the
disk.
3 Back up the LVM headers, for example:
# vgcfgbackup /dev/vg01
4 Close all the logical volumes associated
with the volume group, and then deactivate
the volume group.
5 Create a dummy link to the raw device, for
example:
# ln /dev/rdsk/c0t0d0 \
/dev/rdsk/temp
6 Destroy the LVM headers on the dummy
link:
# pvcreate -f /dev/rdsk/temp
7 Remove the dummy link to the raw device:
# rm /dev/rdsk/temp
8 Restore the headers from the lvmconf
backup, for example:
# vgcfgrestore -n /dev/vg01 \
/dev/rdsk/c0t0d0
9 Activate the volume group. Check the
integrity of the data, or recover the data
from a backup.
The conversion process was
unable to deactivate the volume
group vol_grp_name
This indicates that the conversion process cannot
deactivate the volume group.
The conversion cannot be completed without
rebooting the machine. If you cannot afford to
reboot, then choose abort and try again later.
Table A-1 Conversion error messages
Message Description