Hp StorageWorks 2000 Family Modular Smart Array CLI reference guide (481600-002, May 2008)

62 HP StorageWorks 2000 Family Modular Smart Array CLI reference guide May 2008
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 Task2 that resets snapshot VD1_S0001.
Create task Task3 that copies volume VD1_V1 to virtual disk VD2 with the name
C_V0001.
Related Commands
“create schedule” on page 56
“delete task” on page 81
“show schedule-details” on page 210
“show task-details” on page 223
“show tasks” on page 227
“show volumes” on page 237
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.
# create task Task1 type TakeSnapshot master-volume VD1_V1
snapshot-prefix VD1_V1 retention-count 4
Success: Task created
# create task Task2 type ResetSnapshot snapshot-volume VD1_S0001
Success: Task created
# create task Task3 type VolumeCopy source-volume VD1_V1
dest-vdisk VD2 dest-prefix C modified-snapshot yes
Success: Task created
Parameter Description