VERITAS Volume Manager 4.1 Migration Guide

5
Contents
About This Document
1. VxVM and LVM
Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Introducing the VERITAS Volume Manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Notable Features of VxVM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
VERITAS Volume Manager includes the following features:. . . . . . . . . . . . . . . . . . . . 2
VxVM and LVM-Conceptual Comparison . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Coexistence of VxVM and LVM Disks. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
2. Converting LVM to VxVM
Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10
Converting Unused LVM Physical Volumes to VxVM Disks. . . . . . . . . . . . . . . . . . . . . 11
Removing LVM Disk Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Initializing Disks for VxVM Use . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Converting LVM Volume Groups to VxVM Disk Groups. . . . . . . . . . . . . . . . . . . . . . . . 13
Volume Group Conversion Limitations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Conversion Process Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Conversion Steps Explained. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Restoring the LVM Volume Group Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Rollback to LVM Using vxvmconvert. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Full LVM Restoration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Example: displaying the vxvmconvert menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Example: listing disk information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Example: listing LVM volume group information. . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Example: analyzing LVM volume groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
Example of a failed analysis. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
Example: converting LVM volume groups to VxVM disk groups. . . . . . . . . . . . . . . . 35
Example of a failed conversion. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
Example: list, listvg, and vxprint outputs of an LVM volume group before and after
conversion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .42
Example: VxVM to LVM rollback. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
General Information Regarding Conversion Speed . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46