Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

Dell PowerVault ME5 Series Storage System CLI Reference Guide

PDF

create task

Description Creates a task that can be scheduled.

You can create a task to:

  • Enable drive spin down for spinning disks. The disks cannot be in a virtual pool. The disks cannot be using ADAPT data protection. You can use this to enable or resume spin down during hours of infrequent activity. When drive spin down is enabled, disks will spin down after 60 minutes of inactivity by default.
  • Disable drive spin down. You can use this to disable or suspend spin down during hours of frequent activity.
  • Create a snapshot of a source volume, which can be a virtual base volume or a virtual snapshot.
  • Reset a snapshot. This deletes the data in the snapshot and resets it to the current data in the volume from which the snapshot was created. The snapshot name and other volume characteristics are not changed.
  • Replicate a virtual replication set primary volume or volume group to a peer system
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.
Minimum role standard
Syntax To create a task to take a snapshot:

create task

retention-count <#>

snapshot-prefix <prefix>

source-volume <volume>

type TakeSnapshot

name

To create a task to reset a snapshot:

create task

snapshot-volume <volume>

type ResetSnapshot

<name>

To create a task to replicate a virtual volume:

create task

[last-snapshot]

replication-set <replication-set-ID>

type Replicate

<name>

To create a task to enable spin down:

create task

type EnableDSD

<name>

To create a task to disable spin down:

create task

type DisableDSD

<name>

Parameters last-snapshot

Optional. For a Replicate task this specifies to replicate the most recent snapshot of the primary volume in a single-volume replication set. At the time the scheduled replication occurs, the snapshot must exist. This snapshot may have been created either manually or by scheduling the snapshot. This option cannot be used for a replication set that contains a volume group.

replication-set <replication-set-ID>

For a Replicate task this specifies the ID of the replication set to replicate.

retention-count #

For a TakeSnapshot task this specifies the number of snapshots created by this task to retain, from 1 to 16. When a new snapshot exceeds this limit, the oldest snapshot is reset and renamed with the same prefix. The oldest snapshot is the one whose name has the lowest number (such as 01 as compared with 02). Resetting the oldest snapshot does not change its creation date/time.

snapshot-prefix <prefix>

For a TakeSnapshot task this specifies a label to identify snapshots created by this task. Input rules:

  • The value is case sensitive.
  • The value can have a maximum of 26 bytes.
  • The value can include spaces and printable UTF-8 characters except: " , . < \
  • A value that includes a space must be enclosed in double quotes.
snapshot-volume <volume>

For a ResetSnapshot task this specifies the name or serial number of the snapshot to reset. A name that includes a space must be enclosed in double quotes.

source-volume <volume>

For a TakeSnapshot task this specifies the name or serial number of the source volume of which to take a snapshot. A name that includes a space must be enclosed in double quotes.

type TakeSnapshot|ResetSnapshot|Replicate|EnableDSD|DisableDSD

The task type:

  • TakeSnapshot: Creates a snapshot.
  • ResetSnapshot: Resets the data in a snapshot.
  • Replicate: Replicates a virtual replication set primary volume or volume group to a peer system.
  • EnableDSD: Enables drive spin down.
  • DisableDSD: Disables drive spin down.
  • name

A name for the new task. Input rules:

  • The value is case sensitive.
  • The value can have a maximum of 32 bytes.
  • The value can include spaces and printable UTF-8 characters except: " , . < \
  • A value that includes a space must be enclosed in double quotes.
Examples Create task Snap that creates a snapshot of volume V1 and retains only the latest four snapshots with the prefix V1 (for example, V1_S0001).

# create task type TakeSnapshot source-volume V1 snapshot-prefix V1 retention-count 4 Snap

Create task Reset that resets snapshot V1_S0001.

# create task type ResetSnapshot snapshot-volume V1_S0001 Reset

Create task replicateRS1 that replicates virtual replication set RS1 primary volume or volume group.

# create task type Replicate replication-set RS1 replicateRS1

Create task replicateRS2 that replicates the newest snapshot of virtual replication set RS2 primary volume or volume group

# create task type Replicate replication-set RS2 replicateRS2 last-snapshot

Create task taskDSDresume to enable or resume spin down.

# create task type EnableDSD taskDSDresume

Create task taskDSDsuspend to disable or suspend spin down.

# create task type DisableDSD taskDSDsuspend

See also

create schedule

delete task

set task

show tasks

show volumes


Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\