VERITAS Volume Manager 3.1 Migration Guide
Contents
5
1. VxVM and LVM
Introducing the VERITAS Volume Manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Notable Features of VxVM. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
VxVM and LVM—Conceptual Comparison . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Coexistence of VxVM and LVM Disks. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
2. Converting LVM to VxVM
Converting Unused LVM Physical Volumes to VxVM Disks. . . . . . . . . . . . . . . . . . . . . 24
Removing LVM Disk Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Initializing Disks for VxVM Use . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Converting LVM Volume Groups to VxVM Disk Groups. . . . . . . . . . . . . . . . . . . . . . . . 26
Volume Group Conversion Limitations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Conversion Process Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Conversion Steps Explained. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Restoring the LVM Volume Group Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
Rollback to LVM Using vxvmconvert. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
Full LVM Restoration. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
Example: displaying the vxvmconvert menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
Example: listing disk information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
Example: listing LVM volume group information. . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
Example: analyzing LVM volume groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
Example: converting LVM volume groups to VxVM disk groups. . . . . . . . . . . . . . . . 48
Example: list, listvg, and vxprint outputs of an LVM volume group before and after
conversion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .55
Example: VxVM to LVM rollback. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
General Information Regarding Conversion Speed . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
3. Command Differences
LVM and VxVM Command Equivalents. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
Comparison of LVM and VxVM Tasks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
Tasks With No Direct LVM Equivalents. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
Existing Features in LVM not supported in VxVM . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
4. SAM and Storage Administrator
Launching Storage Administrator from SAM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84
Listing Disk Devices in SAM. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
Listing Volume Groups and Disk Groups in SAM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86