CLI Guide

Notes
You can use any combination of alphanumeric characters, underscore (_), hyphen (-), and pound (#) for
the names. Names can have a maximum of 30 characters.
If you do not specify the repositoryVolType or readOnly parameters, the MD storage management
software selects the repositories for the consistency group snapshot virtual disk. If the disk group or disk
pool where the base virtual disk resides does not have enough space, this command fails.
The create cgSnapVirtualDisk command has unique forms that are explained by these examples:
Creating a read/write consistency group snapshot virtual disk on a snapshot consistency group
named snapCG1 that has three members cgm1, cgm2, and cgm3. The repository virtual disks already
exist and selected by the user in this command.
create cgSnapVirtualDisk userLabel="cgSnapVirtualDisk1"
cgSnapImageID="snapCG1:oldest" members=(cgm1:repos_0010 cgm2:repos_0011
cgm3:repos_0007);
Note the use of 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. You can use one of these options
following the colon:
An integer value that is the actual sequence number of the snapshot image.
newest - Use this option when you want to show the latest consistency group snapshot image.
oldest - Use this option when you want to show the earliest snapshot image created.
The use of the colon following the names of the members of the snapshot consistency group acts
define the mapping between the member and a repository virtual disk. For example, in
cgm1:repos1_10, member cgm1 maps to repository virtual disk repos1_0010.
Creating a read/write consistency group snapshot virtual disk on a snapshot consistency group
named snapCG1 of only members cgm1 and cgm2:
create cgSnapVirtualDisk userLabel="cgSnapVirtualDisk2"
cgSnapImageID="snapCG1:14214" members=(cgm1:repos_1000 cgm2:repos_1001);
Creating a read-only consistency group snapshot virtual disk on a snapshot consistency group named
snapCG1 that has three memebers cgm1, cgm2, and cgm3:
create cgSnapVirtualDisk userLabel="cgSnapVirtualDisk3"
cgSnapImageID="snapCG1:oldest" readOnly;
Creating a consistency group snapshot virtual disk that has a repository full limit set to 60 percent on
a snapshot consistency group named snapCG1 that has three members cgm1, cgm2, and cgm3:
create cgSnapVirtualDisk userLabel="cgSnapVirtualDisk3"
cgSnapImageID="snapCG1:oldest" repositoryFullLimit=60;
Creating a read/write consistency group snapshot virtual disk with automatic repository selection on a
snapshot consistency group named snapCG1 that has three memebers cgm1, cgm2, and cgm3:
create cgSnapVirtualDisk userLabel="cgSnapVirtualDisk4"
cgSnapImageID="snapCG1:oldest";
Create Consistency Group Snapshot Virtual Disk Mapping
Description
This command creates a logical mapping from a consistency group snapshot virtual disk to a host or a
host group.
163