HP 3PAR Command Line Interface Administrator's Manual: HP 3PAR OS 3.1.2 (QR482-96525, September 2013)

Creating an Offline Physical Copy
To create an offline physical copy of a virtual volume, issue the createvvcopy -p
<parent_volume | parent_volumeset> -s <destination_volume> |
destination_volumeset> -pri high command, where:
-p <parent_volume | parent_volumeset> creates a snapshot of the parent volume
or volume set, as identified by <parent_volume | parent_volumeset>, and copies
the snapshot data to the destination volume.
<destination_volume> | destination_volumeset> is the name of the destination
volume or volume set. The destination volume (or each member of the destination volume set)
must be equal to or greater in size than the parent volume, must be a writable volume, and
must not be exported as a VLUN.
-s saves the snapshot for quick resynchronization and retains the parent/copy relationship
between the parent and destination volumes.
-pri <high|med|low> specifies the priority of the copy operation before it is started. This
option allows you to control the speed at which the task is performed. If this option is not
specified, the operation is started with default priority of medium. High priority indicates that
the operation will complete as fast as possible. Low priority indicates that the operation will
run slower than the default priority task. You can use the -pri option to raise the priority of
the task if your virtual volumes are unavailable and restoring access to the volume is the highest
priority. However, raising the priority of the task may impact host I/O performance. This
option cannot be used with -halt option.
The priority of the task can also be changed after it is running by using the settask command.
For more information about changing the priority of a running task, see “Setting the Priority
of a Running Task” (page 128).
For a complete list of options available for the createvvcopy command, see the HP 3PAR
Command Line Interface Reference and the HP 3PAR CLI Help.
NOTE: The -halt option cancels a running physical copy operation. The destination volume is
marked with the cpf status, which indicates that the copy operation failed. The cpf status can be
cleared by issuing a new instance of the createvvcopy command.
Creating an Online Physical Copy
To create an online physical copy of a virtual volume, issue the createvvcopy -p
<parent_volume> -online [-snp_cpg <snap_cpg>] [-tpvv] <destination cpg>
<destination volume> command, where:
-p <parent_volume> creates a snapshot of the parent volume, as identified by
<parent_volume>, and copies the snapshot data to the destination volume.
-online specifies that the copy is to be performed online. The destination volume is
automatically created and can be immediately exported.
[-snp_cpg <snap_cpg>] (optional) specifies the snapshot CPG to associate with the
destination volume.
[-tpvv] (optional) indicates that the destination volume is a TPVV.
<destination cpg> specifies the destination CPG to use for the destination volume.
<destination volume> specifies the destination volume name for the copy operation
NOTE: The online option cannot be used with the -r, -halt, -s, -b, or -pri options.
98 Managing Virtual Volume Copies