You use the vol copy start command to generate volume copy operations, which produce screen messages that show the progress of the operations.
Each vol copy start command generates two volume copy operations, each of which is assigned a number:
You need the volume copy operation number if you want to stop a volume copy operation or change the volume copy operation speed.
For information about obtaining the volume copy operation number, see Checking the status of a volume copy operation.
Whether Data ONTAP can execute a vol copy start command depends on how many volume copy operations are already in progress on the storage systems specified in the vol copy start command, as illustrated in the following examples.
To copy volumes locally, you can enter the following two vol copy start commands on a storage system, which supports four simultaneous copy operations:
vol copy start vol0 vol1
vol copy start vol2 vol3
When these commands are in progress, if you enter additional vol copy start commands, they will fail, because four volume copy operations are already running on the system. Two of the operations are for reading the vol0 and vol2 volumes, and two of the operations are for writing the vol1 and vol3 volumes.
Suppose you enter the following three vol copy start commands on a storage system named systemA to copy volumes to another storage system named systemB:
vol copy start vol0 systemB:vol0
vol copy start vol1 systemB:vol1
vol copy start vol2 systemB:vol2
When these commands are in progress, systemA runs three volume copy operations to read the volumes, and systemB runs three volume copy operations to write the volumes.
An additional vol copy start command to copy between systemA and systemB will succeed because the command adds one more volume copy operation to each storage system.
However, if you enter an additional vol copy start command to copy volumes locally on either systemA or systemB, it will fail. This is because the additional command creates two volume copy operations, one for reading and one for writing, on the storage system that performs the local copying.
The following table describes the Snapshot copies that will be copied from the source volume and the resulting Snapshot copies on the destination volume, depending on the option you use with the vol copy start command.
Note
The vol copy start -S command does not copy any Snapshot copies that are created while the copying is in progress. For example, if the copying lasts from 11:45 p.m. to 1:00 a.m. the next day and Data ONTAP creates a Snapshot copy named nightly.0 at midnight, Data ONTAP does not copy the nightly.0 Snapshot copy.
To copy one volume to another, complete the following step.
| 1 |
vol copy start [-S | -s snapshot_name] source_volume dest_volume The -S and -s arguments specify the Snapshot copies to copy. source_volume and dest_volume are the names of the source and destination volumes. If a volume is on a different system, precede the volume name with the system name and a colon. For examples illustrating how to specify volume names, see Examples of the vol copy start command in the following table. Note |
The following table shows several examples of the vol copy start command.
If your storage system does not meet the requirements for copying a volume, the vol copy start command generates one or more error messages. The following table explains the possible error messages and their meanings.
Copyright © 1994-2005, Network Appliance, Inc. All rights
reserved.
Part No. 210-01081_B0
File: volcopy8.htm
Last updated: 01-Dec-2005 16:36:24