HP P2000 G3 MSA System CLI Reference Guide
61
create task
Description
Creates a task that can be scheduled. You can create a task to take a snapshot of a standard or
master volume; to copy a standard, master, or snapshot volume to a new standard volume; to
replicate a replication set's primary volume to a remote system; to reset a snapshot; or to enable or
disable drive spin down.
The first time a snapshot or volume copy is created of a standard volume, the volume is converted to
a master volume and a snap pool is created in the volume's vdisk. The snap pool's size is either 20%
of the volume size or 5.37 GB, whichever is larger. Before creating or scheduling snapshots or
copies, verify that the vdisk has enough free space to contain the snap pool.
CAUTION:
Before scheduling a
ResetSnapshot
task, consider that if the snapshot is
mounted/presented/mapped to a host, the snapshot must be unmounted/unpresented/unmapped
before the reset is performed; leaving it mounted/presented/mapped can cause data corruption.
You should create a scheduled job on the host to unmount/unpresent/unmap the snapshot prior to
resetting it.
Syntax
To create a task to take a snapshot:
create task
type TakeSnapshot
source-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
To create a task to replicate a volume:
create task
type ReplicateVolume
source-volume
volume
snapshot-prefix
prefix
retention-count
#
[replication-mode new-snapshot|last-snapshot]
name
To create a task to enable spin down for all disks:
create task type EnableDSD taskDSDresume
To create a task to disable spin down for all disks:
create task type DisableDSD taskDSDsuspend
Summary of Contents for P2000 G3
Page 1: ...HP P2000 G3 MSA System CLI Reference Guide Part number 500912 009 First edition February 2014 ...
Page 14: ...14 About this guide ...
Page 30: ...30 Categorical list of commands ...
Page 199: ...HP P2000 G3 MSA System CLI Reference Guide 199 See also set cache parameters show volumes ...
Page 294: ...294 Alphabetical list of commands See also set volume set vdisk ...
Page 498: ...498 XML API basetype properties PROPERTY name mrc version type uint8 0 PROPERTY OBJECT ...
Page 524: ...524 Glossary ...
Page 532: ...532 Index ...