beautypg.com

Copying the virtual disk – Dell PowerVault MD3260i User Manual

Page 78

background image

1.

Stop all I/O activity to the source and target virtual disk.

2.

Using your Windows system, flush the cache to both the source and the target virtual disk (if mounted). At the host

prompt, type SMrepassist -f and press .
See "SMrepassist Utility" in the Owner’s Manual for more information.

3.

Remove the drive letter(s) of the source and (if mounted) virtual disk in Windows or unmount the virtual drive(s) in

Linux to help guarantee a stable copy of the drive for the virtual disk. If this is not done, the copy operation reports

that it has completed successfully, but the copied data is not updated properly.

4.

Follow any additional instructions for your operating system. Failure to follow these additional instructions can

create unusable virtual disk copies.

NOTE: If your operating system requires additional instructions, you can find those instructions in your
operating system documentation.

After your server has been prepared, see Copying The Virtual Disk to copy the virtual disk.

Copying The Virtual Disk

After first preparing the host server(s) as specified in the preceding procedure, use the following examples to make a
virtual disk copy.
The following syntax is the general form of the command:
create virtualDiskCopy source="sourceName" target=

"targetName" [copyPriority=(highest | high |

medium | low | lowest) targetReadOnlyEnabled=(TRUE | FALSE)]

NOTE: Use one or both of the optional parameters as needed to help define your configuration. It is not necessary
to use any optional parameters.

Once the virtual disk copy has started, the source virtual disk is read only to all I/O activity. Any write attempts to the
source virtual disk fails until the operation completes.
Once the virtual disk copy operation is completed register the target virtual disk with the operating system to be used by
performing the following steps:

Enable write permission on the target virtual disk by either removing the Virtual Disk Copy Pair or explicitly

setting write permission.

– In Windows, assign a drive letter to the virtual disk.
– 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.

78