Mirroring volumes on a VxVM disk

Mirroring volumes creates one or more copies of your volumes on another disk. By creating mirror copies of your volumes, you protect your volumes against loss of data if a disk fails.

You can use this task on your root disk to make a second copy of the boot information available on an alternate disk. This lets you boot your system even if your root disk fails.

Note:

This task only mirrors concatenated volumes. Volumes that are already mirrored or that contain subdisks that reside on multiple disks are ignored

To mirror volumes on a disk

  1. Make sure that the target disk has an equal or greater amount of space as the source disk.
  2. From the vxdiskadm main menu, select Mirror volumes on a disk .
  3. At the prompt, enter the disk name of the disk that you wish to mirror:
    Enter disk name [<disk>,list,q,?] mydg02
  4. At the prompt, enter the target disk name (this disk must be the same size or larger than the originating disk):
    Enter destination disk [<disk>,list,q,?] (default: any) mydg01
  5. At the prompt, press Return to make the mirror:
    Continue with operation? [y,n,q,?] (default: y)

    The vxdiskadm program displays the status of the mirroring operation, as follows:

    VxVM vxmirror INFO V-5-2-22 Mirror volume voltest-bk00
       .
       .
       . 
    VxVM INFO V-5-2-674 Mirroring of disk mydg02 is complete.
  6. At the prompt, indicate whether you want to mirror volumes on another disk (y) or return to the vxdiskadm main menu (n):
    Mirror volumes on another disk? [y,n,q,?] (default: n)