NOTE: Use one or all of the optional parameters as needed to help define your configuration. You
do not need to use any optional parameters.
See step 1 through step 4 in the preceding section, Preparing Host Servers To Create An Initial Snapshot
Virtual Disk. The following example shows a command in which users assign the physical disks:
client>smcli 123.45.67.89 -c "create
snapshotVirtualDisk sourceVirtualDisk=
\"Mars_Spirit_4\" repositoryRAIDLevel=5
repositoryPhysicalDisks=(1,1 1,2 1,3 1,4 1,5);"
The command in this example creates a new snapshot of the source virtual disk Mars_Spirit_4. The
snapshot repository virtual disk consists of five physical disks that form a new disk group. The new disk
group has a RAID level of 5. This command also takes a snapshot of the source virtual disk, starting the
copy-on-write operation.
See step 1 through step 4 in the preceding section, Preparing Host Servers To Create An Initial Snapshot
Virtual Disk. The following example is the script file version of the command:
create snapshotVirtualDisk sourceVirtualDisk=
"Mars_Spirit_4" repositoryRAIDLevel=5
repositoryPhysicalDisks=(1,1 1,2 1,3 1,4 1,5);
A minimal version of this command might look like the following example:
client>smcli 123.45.67.89 -c "create
snapshotVirtualDisk sourceVirtualDisk=
\"Mars_Spirit_4\";"
The command in this example creates a new snapshot for the source virtual disk Mars_Spirit_4. The
repository virtual disk is created in the same disk group as the source virtual disk, which means that the
repository virtual disk has the same RAID level as the source virtual disk. This command starts the copy-
on-write operation.
Refer to steps 1 through 4 in the preceding section, Preparing Host Servers To Create An Initial Snapshot
Virtual Disk. The following example is the script file version of the command:
create snapshotVirtualDisk sourceVirtualDisk= "Mars_Spirit_4";
Creating A Snapshot Virtual Disk With Software-Assigned Physical Disks
This version of the create snapshotVirtualDisk command lets you choose an existing disk group to
place the snapshot repository virtual disk. The storage management software determines which physical
disks to use. You can also define how much space to assign to the repository virtual disk. Because you are
using an existing disk group, the RAID level for the snapshot virtual disk defaults to the RAID level of the
disk group in which you place it. You cannot define the RAID level for the snapshot virtual disk. The
general syntax for this command is:
create snapshotVirtualDisk sourceVirtualDisk=
"sourceVirtualDiskName" [repositoryDiskGroup=
diskGroupNumber freeCapacityArea=
freeCapacityIndexNumber userLabel=
"snapshotVirtualDiskName"
warningThresholdPercent=percentValue
repositoryPercentOfSource=percentValue
repositoryUserLabel="repositoryName"
repositoryFullPolicy=(failSourceWrites |
failSnapShot)] [enclosureLossProtect=(TRUE |
FALSE)]
71