Deleting a consistency group snapshot image, Scheduling snapshot images – Dell PowerVault MD3420 User Manual

Page 60

Advertising
background image

virtual disk that is a member of the consistency group before creating the snapshot images. If the
snapshot image cannot be completed successfully for all of the consistency group members, this
command fails and new snapshot images are not created.
Since all members of a snapshot consistency group normally contain the same number of snapshot
images, adding a new member to a snapshot consistency group with this command create a new
member lacking previously created snapshot images. This is not an indication of an error condition.
To create a consistency group snapshot image:
create cgSnapImage consistencyGroup="consistencyGroupName"

where, consistencyGroup is the name of the consistency group for which you are creating snapshot
images.

Deleting A Snapshot Virtual Disk Or A Consistency Group Snapshot Virtual

Disk

You can use the following command to delete a snapshot virtual disk or a consistency group snapshot
virtual disk. Optionally, you can also delete the repository members.
delete cgSnapVirtualDisk ["snapVirtualDiskName"] [deleteRepositoryMembers=(TRUE

| FALSE)];

where, snapVirtualDiskName is the snapshot you want to delete. The
deleteRepositoryMembers=TRUE parameter will preserve the member virtual disks (default). Setting
the parameter to FALSE will delete the member virtual disks.

Deleting A Consistency Group Snapshot Image

You can delete the snapshot images in a consistency group. However, when you delete a consistency
group snapshot image that is associated with a consistency group snapshot virtual disk, the
corresponding snapshot virtual disk member in the consistency group snapshot virtual disk is transitioned
to a Stopped state. Being in this state means that the snapshot virtual disk member no longer has a
relationship to the snapshot group of the deleted snapshot image. A snapshot virtual disk member in a
Stopped state maintains its relationship to its consistency group snapshot virtual disk.
When a snapshot image(s) is deleted from a consistency group:

• The snapshot is deleted from the storage array.
• The repository’s reserve space for reuse within the consistency group is released.
• Any member virtual disk associated with the deleted snapshot image(s) is moved to a Stopped state.
• The member snapshot virtual disks associated with the deleted snapshot image(s) is deleted.

To delete two snapshot images named all_data_1 from a consistency group, use the following
command:
delete cgSnapImage consistencyGroup="all_data_1"

To succeed, all snapshot images must be deleted or the command will fail and no snapshots will be
deleted.

Scheduling Snapshot Images

Using the enableSchedule and schedule parameters with virtual disk and consistency group
commands, you can schedule regular snapshot images to recover files or schedule regular backups. The
schedule can be set when you initially create a snapshot group or consistency group, or you can add it
later to an existing snapshot group or consistency group.

60

Advertising