Creating a consistency group snapshot image – Dell PowerVault MD3260i User Manual

Page 53

Advertising
background image

Unique command syntax and naming rules apply. The name of a snapshot image has two parts separated by a colon (:):

identifier of the snapshot group

identifier of the snapshot image

If you do not specify the repositoryVirtualDiskType or readOnly parameters, the repositories for the
consistency group snapshot virtual disk will be selected automatically. If the disk group or disk pool where the base
virtual disk resides does not have enough space, the command will fail.
Create a read/write consistency group snapshot virtual disk on a snapshot consistency group named snapCG1 with
these three members cgm1, cgm2, and cgm3. The repository virtual disks already exist and are selected in this
command.
create cgSnapVirtualDisk userLabel="cgSnapVirtualDisk1"

cgSnapImageID="snapCG1:oldest" members=(cgm1:repos_0010 cgm2:repos_0011

cgm3:repos_0007);

Note the colon (:) in the name of the snapshot image to be included in the consistency group snapshot virtual disk. The
colon is a delimiter that separates the name of the snapshot virtual disk from a particular snapshot image that you might
want to use. Any of the following three options can be used following the colon:

An integer value that is the actual sequence number of the snapshot image.

NEWEST specifies the latest consistency group snapshot image.

OLDEST specifies the earliest snapshot image created.

The use of the colon following the names of the members of the snapshot consistency group define the mapping
between the member and a repository virtual disk. For example:
cgm1:repos_10, member cgm1 maps to repository virtual disk repos_0010

Create a read-only consistency group snapshot virtual disk on a snapshot consistency group named snapCG1 with
members cgm1, cgm2, and cgm3 using the following command:
create cgSnapVirtualDisk userLabel="cgSnapVirtualDisk3"

cgSnapImageID="snapCG1:oldest" readOnly;

Create a consistency group snapshot virtual disk that has a repository full limit set to 60 percent on a snapshot
consistency group named snapCG1 with these three members cgm1, cgm2, and cgm3, with the following command:
create cgSnapVirtualDisk userLabel="cgSnapVirtualDisk3"

cgSnapImageID="snapCG1:oldest" repositoryFullLimit=60;

Create a read/write consistency group snapshot virtual disk with automatic repository selection on a snapshot
consistency group named snapCG1 with members cgm1, cgm2, and cgm3, with the following command:
create cgSnapVirtualDisk userLabel="cgSnapVirtualDisk4"

cgSnapImageID="snapCG1:oldest";

Creating A Consistency Group Snapshot Image

To create a new snapshot image for each base virtual disk in snapshot consistency group, use the create
cgSnapImage command. The command will suspend all pending I/O operations to each base 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"

53

Advertising