– In Linux, mount the virtual disk.
See step 1 to step 4 in Preparing Host Servers To Create A Virtual Disk Copy.
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.
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
• The completion timestamp
• The virtual disk copy priority
• The read-only attribute setting for the target virtual disk
• The source virtual disk World Wide Identifier (WWID) or the target virtual disk WWID
A virtual disk can be a source virtual disk for one virtual disk copy and a target virtual disk for another
virtual disk copy. If a virtual disk participates in more than one virtual disk copy, the details are repeated
for each associated copy pair.
The following syntax is the general form of the command:
show virtualDiskCopy (allVirtualDisks | source
[sourceName] | target [targetName])
82