mklvcopy Command

Purpose

Creates a mirror of a logical volume.

Syntax

mklvcopy LogicalVolume [ PhysicalVolume ... ]

Description

The mklvcopy command creates a mirror (an additional copy) of a LogicalVolume. The LogicalVolume parameter can be a logical volume name or logical volume ID. You can request that the new copy of the logical volume be allocated on specific physical volumes (within the volume group) with the PhysicalVolume parameter; otherwise, all the physical volumes within the volume group are available for allocation. The new copy of the logical volume will be placed on a separate physical volume.

Note:
Only one additional copy of a logical volume can be created.

Exit Status

See Virtual I/O Server command exit status.

Examples

  1. To create a copy of the logical volume lv01, so that a total of two copies exist, type:
    mklvcopy lv01

Related Information

The extendlv command, the lslv command, the mklv command, the rmlv command, and the rmlvcopy command.


Send feedback |  Rate this page