VERITAS Volume Manager 3.5 Migration Guide (September 2004)
Chapter 2
Converting LVM to VxVM
Examples
32
vxprint Explained The vxprint list given above provides the following information:
The disk group dg08 contains the VxVM disk dg0801 and the volume dg08lv1. The VxVM disk dg0801 is
associated with disk device c0t8d0 and is 2080768 blocks in length. The volume dg08lv1 is of type fsgen, is
enabled in the VxVM kernel driver, is of length 102400, and is in the ACTIVE state. This means that the
volume is started, and the plex is enabled. Operations to the volume such as recovery and data access will be
governed by the usage type fsgen.
The plex dg08lv1-01 is associated with volume dg08lv1, and maps the entire address range of the volume.
Associated with the plex is one subdisk, dg0801-01 which maps the plex address range from 0 to the entire
length of the plex, i.e. 102400 blocks. As implied by the root of its name, the subdisk dg0801-01 uses an
extent from the VxVM disk dg0801.
Example: VxVM to LVM rollback
Volume Manager Support Operations
Menu: VolumeManager/LVM_Conversion
1 Analyze LVM Volume Groups for Conversion
2 Convert LVM Volume Groups to VxVM
3 Roll back from VxVM to LVM
list List disk information
listvgList LVM Volume Group information
? Display help about menu
?? Display help about the menuing system
q Exit from menus
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 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. User data is untouched by
rollback.
CAUTION If the VxVM configuration has changed since the conversion you should NOT use this
operation. See the section “Restoring the LVM Volume Group Configuration” on page 19” for
more information.
More than one Volume Group or pattern may be entered at the prompt.
Here are some LVM Volume Group selection examples:
all: Rollback all converted LVM Volume Groups
listvg:list all LVM Volume Groups eligible for rollback
list: list all disk devices
Select Volume Group(s) to rollback :
[<pattern-list>,all,list,listvg,q,?]
vg08
Roll back this Volume Group? [y,n,q,?] (default: y)
Rolling back LVM configuration records for Volume Group vg08
Selected Volume Groups have been restored.
Hit RETURN to continue.
Rollback other LVM Volume Groups? [y,n,q,?] (default: n)