HP MSA2324sa HP StorageWorks 2300 Family Modular Smart Array CLI reference gui - Page 41
create task, Description, Syntax, Parameters
![]() |
View all HP MSA2324sa manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 41 highlights
create task Description Creates a task that can be scheduled. You can create a task to take a snapshot of a master volume, to copy a snapshot or a master volume to a new standard volume, or to reset a snapshot. CAUTION: Before scheduling a reset snapshot task, consider that if the snapshot is mounted to a host operating system, the snapshot must be unmounted before the reset is performed; leaving it mounted can cause data corruption. You should create a scheduled job on the host to unmount the snapshot prior to resetting the snapshot. Syntax To create a task to take a snapshot: create task type TakeSnapshot master-volume volume snapshot-prefix prefix retention-count # name To create a task to reset a snapshot: create task type ResetSnapshot snapshot-volume volume name To create a task to copy a volume: create task type VolumeCopy source-volume volume dest-vdisk vdisk dest-prefix prefix [modified-snapshot yes|no] name Parameters type TakeSnapshot|ResetSnapshot|VolumeCopy The task type: • TakeSnapshot: Takes a snapshot of a master volume. • ResetSnapshot: Deletes the data in the snapshot and resets it to the current data in the associated master volume. The snapshot's name and other volume characteristics are not changed. CAUTION: Before scheduling a reset snapshot task, consider that if the snapshot is mounted to a host operating system, the snapshot must be unmounted before the reset is performed; leaving it mounted can cause data corruption. • VolumeCopy: Copies a snapshot or a master volume to a new standard volume. The command creates the destination volume you specify, which must be in a vdisk owned by the same controller as the source volume. master-volume volume Name or serial number of the volume to take a snapshot of. For syntax, see Command syntax. snapshot-prefix prefix Optional. A label to identify snapshots created by this task. Snapshot names have the format prefix_s001 through prefix_s1023. retention-count # Optional. The number of snapshots with this prefix to retain. When a new snapshot exceeds this limit, the oldest snapshot with the same prefix is deleted. snapshot-volume volume Name or serial number of the snapshot to reset. For syntax, see Command syntax. source-volume volume Name or serial number of the master volume or snapshot to copy. For syntax, see Command syntax. dest-vdisk vdisk Name or serial number of the destination vdisk for the volume copy. For syntax, see Command syntax. HP StorageWorks 2000 G2 Modular Smart Array CLI Reference Guide 41
![](/manual_guide/products/hewlettpackard-msa2312i-hp-storageworks-2300-family-modular-smart-array-cli-reference-guide-500912002-2010-2bf014b/41.png)