Dell PowerVault MD3260i User Manual

Page 67

Advertising
background image

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 in which 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)]

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 a good compromise between size and speed. 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).

67

Advertising