HP 3PAR OS 3.1.3 Command Line Interface Reference
createvvcopy
DESCRIPTION
The createvvcopy command creates a full physical copy of a Virtual Volume (VV) or a read/write
virtual copy on another VV. This enables you to create copies of VV to perform tasks such as moving
data to a larger VV or creating a copy of data for testing.
SYNTAX
The syntax for the createvvcopy command can be one of the following:
• createvvcopy –p <parent_volume | parent_volumeset> [options]
<destination_volume | destination_volumeset>
• createvvcopy –p <parent_volume> -online [-snp_cpg <snap_cpg>] [-tpvv]
<destination cpg> <destination volume>
• createvvcopy –r [options] <destination_volume |
destination_volumeset>
• createvvcopy –halt <destination_volume | destination_volumeset>
AUTHORITY
• Super, Edit
• Any role that is granted the vvcopy_create right.
OPTIONS
–p <parent_volume | parent_volumeset>
Specifies that a snapshot of the specified parent volume or volume set is created and copied to a
specified destination volume or volume set (as indicated with the <destination_volume |
destination_volumeset> specifier). The set name must start with set:. The parent volume
must be a base volume or read/write snapshot. This option cannot be used with the –r option.
–r
Specifies that the destination volume be resynchronized with its parent volume using a saved
snapshot so that only the changes since the last copy or resynchronization need to be copied. A
snapshot of the parent saved using the –s option in an earlier createvvcopy instance is required
for the resynchronization operation. This old snapshot is replaced by a new snapshot for the next
resynchronization operation (the –s option is implied, and need not be specified). This option
cannot be used with the –p option.
–halt
Specifies that an ongoing physical copy to be stopped. This will cause the destination volume to
be marked with the 'cpf' status, which will be cleared up when a new copy is started.
–s
Saves the snapshot of the source volume after the copy of the volume is completed. This enables
a fast copy for the next resynchronization. If not specified, the snapshot is deleted and the
association of the destination volume as a copy of the source volume is removed. The –s option
is implied when the –r option is used and need not be explicitly specified.
–b
Specifies that this command blocks until the operation is completed. If not specified, the
createvvcopy command operation is started as a background task.
-pri <high|med|low>
148 Create Commands