SANtricity 11.8 Commands ( CA08871-194 ~ 196 )
Create read-only snapshot volume
The create snapVolume
command creates a read-only snapshot volume for the snapshot images of a base volume. To change a read-only snapshot volume to a read/write volume, use the set snapVolume convertToReadWrite
command.
Supported Series
This command applies to any individual storage system, including the HB2100/HB2200/HB2300, HB5100/HB5200, AB6100 and AB3100 series, as long as all SMcli packages are installed.
Roles
To execute this command on an HB2100/HB2200/HB2300, HB5100/HB5200, AB6100, or AB3100 storage system, you must have the Storage Admin role.
Context
You cannot use this command for a snapshot image that is used in online volume copy. |
Syntax
create snapVolume userLabel="snapVolumeName" snapImageID="snapCGID:imageID" readOnly
Parameters
Parameter | Description | ||
---|---|---|---|
|
The name that you want to give to a snapshot volume. Enclose the snapshot volume name in double quotation marks (" "). |
||
|
The name of a snapshot image that you want to add to the new read-only snapshot volume. The name of a snapshot image is comprised of two parts:
The identifier for the snapshot image can be one of these:
Enclose the snapshot image name in double quotation marks (" "). |
||
|
This parameter sets the snapshot volume to read-only. This parameter is actually a Boolean; however, in the context of this command, the Boolean value is always
|
Notes
You can use any combination of alphanumeric characters, underscore (_), hyphen (-), and pound (#) for the names. Names can have a maximum of 30 characters.
The identifier of a snapshot image has two parts separated by a colon (:):
-
The name of the snapshot group
-
The identifier of the snapshot image
For example, if you want to create a read-only volume named engData1 using the most recent snapshot image in a snapshot group that has the name snapGroup1, you would use this command:
create snapVolume userLabel="engData1" snapImageID="snapGroup1:newest" readOnly;