HP 3PAR StoreServ 7450 4-node HP 3PAR Command Line Interface Administrator& - Page 98

Creating an Offline Physical Copy, HP 3PAR, Command Line Interface Reference

Page 98 highlights

Creating an Offline Physical Copy To create an offline physical copy of a virtual volume, issue the createvvcopy -p -s | destination_volumeset> -pri high command, where: • -p creates a snapshot of the parent volume or volume set, as identified by , and copies the snapshot data to the 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 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 -online [-snp_cpg ] [-tpvv] command, where: • -p creates a snapshot of the parent volume, as identified by , 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 ] (optional) specifies the snapshot CPG to associate with the destination volume. • [-tpvv] (optional) indicates that the destination volume is a TPVV. • specifies the destination CPG to use for the 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

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204

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