84 Using the Virtual Disk Copy Feature
The create virtualDiskCopy command might look like the following example:
client>smcli 123.45.67.89 -c "create
virtualDiskcopy source=\"Jaba_Hut\" target=
\"Obi_1\" copyPriority=medium
targetreadonlyenabled=true"
The command in this example copies the data from the source virtual disk
named Jaba_Hut to the target virtual disk named Obi_1. Setting the copy
priority to medium provides a compromise between the following storage
array operations:
• The speed with which the data is copied from the source virtual disk to the
target virtual disk
• The amount of processing resource required for data transfers to other
virtual disks in the storage array
Setting the targetReadOnlyEnabled parameter to TRUE means that write
requests cannot be made to the target virtual disk. This setting also ensures
that the data on the target virtual disk remains unaltered.
Refer to steps 1 through 4 in the preceding section, "Preparing Host Servers to
Create a Virtual Disk Copy" on page 82. The following example is the script
file version of the command:
create virtualDiskcopy source="Jaba_Hut" target=
"Obi_1" copyPriority=medium targetreadonlyenabled=
true;
After the virtual disk copy operation is completed, the target virtual disk
automatically becomes read-only to the hosts. Any write requests to the target
virtual disk are rejected, unless you disable the read-only attribute. Use the set
virtualDiskCopy command to disable the read-only attribute.
Viewing Virtual Disk Copy Properties
Using the show virtualDiskCopy command, you can view information about
one or more selected source virtual disks or target virtual disks. This
command returns the following information:
• The virtual disk role (target or source)
• The copy status
• The start timestamp
book.book Page 84 Wednesday, June 8, 2011 12:20 PM