Provided that the configuration of the converted disk groups has not been changed, you can use the vxvmconvert
command to convert the disk groups back to the original LVM volume groups. The information that was recorded during conversion about the LVM configuration and other configuration files such as /etc/fstab
and LVM device files is used to restore the LVM volume groups. User data is not changed.
If the configuration has changed, an error is displayed. You must then use full restoration from backups instead.
root
file system. However, this should not be taken as assurance that a full restoration from backups will not be needed.To restore an LVM volume group
3 Roll back from VxVM to LVM
from the main menu of the vxvmconvert
command, as shown in this example:
Volume Manager Support Operations
Menu:: VolumeManager/LVM_Conversion
1 Analyze LVM Volume Groups for Conversion
2 Convert LVM Volume Groups to VxVM
listvg List LVM Volume Group information
?? Display help about the menuing system
Select an operation to perform: 3
Rollback one or more LVM Volume Groups
Menu:: VolumeManager/LVM_Conversion/Rollback_LVM_VG
Use this operation to rollback from a previous conversion of an
LVM Volume Group. This operation will tear down the VxVM disk
group and recreate the LVM volume group in its original form.
WARNING: If the VxVM disk group has changed since the conversion
you should NOT use this operation.
More than one Volume Group or pattern may be entered at the prompt.
Here are some selection examples:
all: rollback all converted LVM Volume Groups
list: list former LVM Volume Groups eligible for rollback
vg05: a single LVM Volume Group, named vg05
Select Volume Group(s) to rollback : [all,list,q,?] list
Select Volume Group(s) to rollback : [all,list,q,?] vg02
Rolling back LVM configuration records for Volume Group vg02
Starting Rollback for VG "vg02"