Copies the contents of a logical volume to a new logical volume.
To Copy to a New Logical Volume
cplv [ -vg VolumeGroup ] [ -lv NewLogicalVolume | -prefix Prefix ] SourceLogicalVolume
To Copy to an Existing Logical Volume
cplv [ -f ] SourceLogicalVolume DestinationLogicalVolume
| Flag name | Description |
|---|---|
| -f | Copies to an existing logical volume without requesting user confirmation. |
| -lv NewLogicalVolume | Specifies the name to use, in place of a system-generated name, for the new logical volume. Logical volume names must be unique systemwide names, and can range from 1 to 15 characters. |
| -prefix Prefix | Specifies a prefix to use in building a system-generated name for the new logical volume. The prefix must be less than or equal to 13 characters. A name cannot be a name already used by another device. |
| -vg VolumeGroup | Specifies the volume group where the new logical volume resides. If this is not specified, the new logical volume resides in the same volume group as the SourceLogicalVolume. |
cplv fslv03
The new logical
volume is created, placed in the same volume group as fslv03, and
named by the system.cplv -vg vg02 fslv03
The
new logical volume is created, named, and added to volume group vg02.cplv -f lv02 lvtest