| United States-English |
|
|
|
![]() |
VERITAS Volume Manager 3.1 Migration Guide: for HP-UX 11i and HP-UX 11i Version 1.5 > Chapter 2 Converting LVM to VxVMConverting Unused LVM Physical Volumes to VxVM Disks |
|
LVM disks which are not part of any volume group, and contain no user data, are simply cleaned up, so that there are no LVM disk headers. Then the disks are given over to VxVM through the normal means of initializing disks.
To remove LVM disk information from the disks use the following command:
The pvremove will not allow the removal of disk headers which indicate a Volume Group membership for the disk. If the disk fails pvremove for this reason, you should first make certain that the group membership information is stale. Do this by using pvdisplay:
If pvdisplay finds no valid group information associated with the disk, you can overwrite the LVM headers using pvcreate:
After running pvcreate, then use pvremove to erase all vestiges of LVM disk headers. To initialize the disk for VxVM use, use the vxdiskadm command, selecting the option:
Or use the command:
VxVM utilities will not tamper with disks that are recognized as owned by LVM (by virtue of the LVM disk headers). If you attempt to use vxdisk init, or vxdiskadm on an LVM disk without using the pvremove command first, the command will fail. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||