NOTE: Use one or all of the optional parameters as needed to define your configuration. It is not
necessary to use any optional parameters.
The following example is a command in which software assigns the physical disks:
client>smcli 123.45.67.89 -c "create
snapshotVirtualDisk sourceVirtualDisk=
\"Mars_Spirit_4\" repositoryDiskGroup=2
freeCapacityArea=2;"
The command in this example creates a new snapshot repository virtual disk in disk group 2. The source
virtual disk is Mars_Spirit_4. The size of the snapshot repository is 4 GB. This command also takes a
snapshot of the source virtual disk, which starts the copy-on-write operation.
Define the capacity of a snapshot repository virtual disk as any percentage of the size of the source virtual
disk. A value of 20 percent is an optimum number. In the previous example, the size of the snapshot
repository is set to 4 GB. The underlying assumption is that the source virtual disk size is 20 GB (0.2 x 20
GB = 4 GB).
The following example is the script file version of the command:
create snapshotVirtualDisk sourceVirtualDisk=
"Mars_Spirit_4" repositoryDiskGroup=2
freeCapacityArea=2;
Creating A Snapshot Virtual Disk By Specifying A Number Of Physical Disks
With this version of the create snapshotVirtualDisk command, you must specify the number of
physical disks and the RAID level for the snapshot repository virtual disk. This version of the create
snapshotVirtualDisk command creates a new disk group. You must have physical disks in the
storage array that are not assigned to a disk group for this command to work:
create snapshotVirtualDisk sourceVirtualDisk=
"sourceVirtualDiskName" [repositoryRAIDLevel=(0 |
1 | 5 | 6) repositoryPhysicalDiskCount=
numberOfPhysicalDisks physicalDiskType=(SAS)
userLabel="snapshotVirtualDiskName"
warningThresholdPercent=percentValue
repositoryPercentOfSource=percentValue
repositoryUserLabel="repositoryName"
repositoryFullPolicy=(failSourceWrites |
failSnapShot)] [enclosureLossProtect=(TRUE |
FALSE)]
NOTE: Use one or all optional parameters as needed to define your configuration. It is not
necessary to use any optional parameters.
The following example is a command in which users specify the number of physical disks:
client>smcli 123.45.67.89 -c "create
snapshotVirtualDisk sourceVirtualDisk=
\"Mars_Spirit_4\" repositoryRAIDLevel=5
repositoryPhysicalDiskCount=3;"
The command in this example creates a new snapshot repository virtual disk that consists of three
physical disks. The three physical disks comprise a new disk group with a RAID level of 5. This command
also takes a snapshot of the source virtual disk, which starts the copy-on-write operation.
72