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
Examples
- To create a copy of the logical volume lv01, so that a
total of two copies exist, type:
mklvcopy lv01