Initializing unused LVM physical volumes as VxVM disks

LVM disks that are not part of any volume group and contain no user data are cleaned up, so that there are no LVM disk headers. Then the disks are put under VxVM control through the normal means of initializing disks.

Warning:

You must be absolutely certain that the disks are not in use in any LVM configuration. If there is any user data on these disks, it will be lost during initialization.

To initialize unused LVM physical volumes as VxVM disks

  1. Remove the LVM disk header information from the disks, using the following command:
    # chpv -C diskname

    where diskname is any physical disk, such as hdisk4.

  2. Initialize the disk for VxVM use, in one of the following ways:
    • Use the vxdiskadm command and select the option:

      1) Add or initialize one or more disks
    • Or use the command:

      # vxdisk init disk_name

    VxVM utilities will not tamper with disks that are recognized as owned by LVM (by virtue of the LVM VGRA disk headers). The vxdisk init or vxdiskadm commands fail if you attempt to use them on an LVM disk without first using the chpv command.