72
Using the Snapshot Feature
The following example of the
create snapshotVirtualDisk
command includes
user-defined parameters:
client>smcli 123.45.67.89 -c "create
snapshotVirtualDisk sourceVirtualDisk=
\"Mars_Spirit_4\" repositoryRAIDLevel=5
repositoryPhysicalDiskCount=5 physicalDiskType=
SAS userLabel=\"Mars_Spirit_4_snap1\"
repositoryUserLabel=\"Mars_Spirit_4_rep1\"
warningThresholdPercent=75
repositoryPercentOfSource=40
repositoryFullPolicy=failSnapShot;"
The following example is the script file version of the command:
create snapshotVirtualDisk sourceVirtualDisk=
"Mars_Spirit_4" repositoryRAIDLevel=5
repositoryPhysicalDiskCount=5 physicalDiskType=
SAS userLabel="Mars_Spirit_4_snap1"
repositoryUserLabel="Mars_Spirit_4_rep1"
warningThresholdPercent=75
repositoryPercentOfSource=40
repositoryFullPolicy=failSnapShot;
NOTE:
In the previous examples, the names for the snapshot virtual disk and
repository virtual disk are defined by the user. If you do not choose to create names
for the snapshot virtual disks or the repository virtual disks, the RAID controller
modules provide default names. (See "Names of Snapshot Virtual Disks and
Repository Virtual Disks" on page 72 for an explanation of naming conventions.)
Names of Snapshot Virtual Disks and Repository Virtual Disks
The names of snapshot virtual disks and repository virtual disks can be any
combination of alphanumeric characters, hyphens, and underscores. The
maximum length of the virtual disk names is 30 characters. You must enclose
the name in quotation marks. The character string cannot contain a new line.
Make sure that you use unique names or the RAID controller module
firmware returns an error.
One technique for naming the snapshot virtual disk and the repository virtual
disk is to add a hyphenated suffix to the original name of the source virtual
disk. The suffix distinguishes between the snapshot virtual disk and the
repository virtual disk. For example, if you have a source virtual disk with a
book.book Page 72 Friday, March 4, 2011 10:45 AM
Summary of Contents for PowerVault MD3200 Series
Page 1: ...Dell PowerVault Modular Disk Storage Arrays CLI Guide ...
Page 42: ...42 About the Script Commands ...
Page 263: ...Script Commands 263 ...
Page 269: ...268 Sample Script Files ...
Page 271: ...270 CLI Command Updates ...
Page 279: ...Index 278 ...