Recopying a virtual disk – Dell PowerVault MD3260i User Manual

Page 80

Advertising
background image

After the virtual disk copy has completed re-creating a virtual disk copy using the recopy
virtualDiskCopy command

When you create a virtual disk copy pair and after the original virtual disk copy has completed, the target virtual disk is
automatically defined as read-only to the hosts. The read-only status of the target virtual disk ensures that the copied
data on the target virtual disk is not corrupted by additional writes to the target virtual disk after the virtual disk copy is
created. Maintain the read-only status when the following conditions apply:

You are using the target virtual disk for backup purposes

You are copying data from one disk group to a larger disk group for greater accessibility

You are planning to use the data on the target virtual disk to copy back to the source virtual disk in case of a

disabled or failed snapshot virtual disk

At other times you might want to write additional data to the target virtual disk. You can use the set
virtualDiskCopy command to reset the read/write permission for the target virtual disk.

NOTE: If you enabled host writes to the target virtual disk, read and write requests are rejected while the virtual
disk copy has a status of In Progress, Pending, or Failed.

The following syntax is the general form of the command:
set virtualDiskCopy target [targetName] [source

[sourceName]] copyPriority=(highest | high |

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

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

The following example shows how to change parameters using the set virtualDiskCopy command:
client>smcli 123.45.67.89 -c "set virtualDiskcopy

target [\"Obi_1\"] copyPriority=highest

targetreadonlyenabled=false;"

The following example is the script file version of the command:
set virtualDiskcopy target ["Obi_1"] copyPriority=

highest targetreadonlyenabled=false;

Recopying A Virtual Disk

CAUTION: The recopy virtualDiskCopy command overwrites existing data on the target virtual disk and
makes the target virtual disk read

‑only to hosts. The recopy virtualDiskCopy command fails all snapshot

virtual disks associated with the target virtual disk, if any exist.

Using the recopy virtualDiskCopy command, you can create a new virtual disk copy for a previously defined
copy pair that has a status of Stopped, Failed, or Completed. Use the recopy virtualDiskCopy command to
create backups of the target virtual disk, then copy the backup to tape for off-site storage. When using the recopy
virtualDiskCopy command to make a backup, you cannot write to source while the recopy is running. The recopy
might take a long time.
When you run the recopy virtualDiskCopy command, the data on the source virtual disk is copied in its entirety
to the target virtual disk.
Reset the copy priority for the recopy operation by using the recopy virtualDiskCopy command. The higher
priorities allocate storage array resources to the virtual disk copy at the expense of storage array performance.

80

Advertising