HP MSA2324sa HP StorageWorks 2300 Family Modular Smart Array CLI reference gui - Page 42

dest-prefix, modified-snapshot yes|no, Task1, VD1_V1, VD1_V1_S0001, C_V0001, Example, See also

Page 42 highlights

dest-prefix prefix Optional. A label to identify the volume copy created by this task. Copy names have the format prefix_c001 through prefix_c1023. modified-snapshot yes|no Optional. Specifies whether to include or exclude modified write data from the snapshot in the copy. This parameter applies only when the source volume is a snapshot; it is ignored if the source volume is a master volume. • yes: Include modified snapshot data. • no: Exclude modified snapshot data. If this parameter is omitted for a snapshot, modified snapshot data is excluded. name A name for the new task. The name is case sensitive, cannot include a comma, double quote, or backslash, and can have a maximum of 32 bytes. A name that includes a space must be enclosed in double quotes. Example Create task Task1 that takes a snapshot of master volume VD1_V1 and retains only the latest four snapshots with the prefix VD1_V1 (e.g., VD1_V1_S0001): # create task type TakeSnapshot master-volume VD1_V1 snapshot-prefix VD1_V1 retention-count 4 Task1 Success: Command completed successfully. - The task was created. Create task Task2 that resets snapshot VD1_S0001: # create task type ResetSnapshot snapshot-volume VD1_S0001 Task2 Success: Command completed successfully. - The task was created. Create task Task3 that copies volume VD1_V1 to vdisk VD2 with name C_V0001: # create task type VolumeCopy source-volume VD1_V1 dest-vdisk VD2 dest-prefix C modified-snapshot yes Task3 Success: Command completed successfully. - The task was created. See also • create schedule • show task-details • show tasks • show volumes 42 Alphabetical list of commands

  • 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

42
Alphabetical list of commands
dest-prefix
prefix
Optional. A label to identify the volume copy created by this task. Copy names have the format
prefix
_c
001 through
prefix
_c
1023.
modified-snapshot yes|no
Optional. Specifies whether to include or exclude modified write data from the snapshot in the copy.
This parameter applies only when the source volume is a snapshot; it is ignored if the source volume
is a master volume.
yes
: Include modified snapshot data.
no
: Exclude modified snapshot data.
If this parameter is omitted for a snapshot, modified snapshot data is excluded.
name
A name for the new task. The name is case sensitive, cannot include a comma, double quote, or
backslash, and can have a maximum of 32 bytes. A name that includes a space must be enclosed in
double quotes.
Example
Create task
Task1
that takes a snapshot of master volume
VD1_V1
and retains only the latest four
snapshots with the prefix
VD1_V1
(e.g.,
VD1_V1_S0001
):
# create task type TakeSnapshot master-volume VD1_V1 snapshot-prefix VD1_V1
retention-count 4 Task1
Success: Command completed successfully. - The task was created.
Create task
Task2
that resets snapshot
VD1_S0001
:
# create task type ResetSnapshot snapshot-volume VD1_S0001 Task2
Success: Command completed successfully. - The task was created.
Create task
Task3
that copies volume
VD1_V1
to vdisk
VD2
with name
C_V0001
:
# create task type VolumeCopy source-volume VD1_V1 dest-vdisk VD2 dest-prefix C
modified-snapshot yes Task3
Success: Command completed successfully. - The task was created.
See also
create schedule
show task-details
show tasks
show volumes