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.
Each filer supports a given number of simultaneous volume copy operations. For the number of copy operations supported per filer type, see Maximum number of simultaneous replications on a filer.
Whether Data ONTAP can execute a vol copy start command depends on how many volume copy operations are already in progress on the filers 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 an F85 filer, 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 filer. 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 an F85 filer named filerA to copy volumes to another F85 filer named filerB:
vol copy start vol0 filerB:vol0
vol copy start vol1 filerB:vol1
vol copy start vol2 filerB:vol2
When these commands are in progress, filerA runs three volume copy operations to read the volumes, and filerB runs three volume copy operations to write the volumes.
An additional vol copy start command to copy between filerA and filerB will succeed because the command adds one more volume copy operation to each filer.
However, if you enter an additional vol copy start command to copy volumes locally on either filerA or filerB, it will fail. This is because the additional command creates two volume copy operations, one for reading and one for writing, on the filer that performs the local copying.
The following table describes the snapshots that will be copied from the source volume and the resulting snapshots 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 snapshots 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 named nightly.0 at midnight, Data ONTAP does not copy the nightly.0 snapshot.
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 snapshots to copy. source_volume and dest_volume are the names of the source and destination volumes. If a volume is on a different filer, precede the volume name with the filer 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 filer 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-2003, Network Appliance, Inc. All rights
reserved.
Part No. 210-00325
File: volcopy8.htm
Last updated: 01/14/03 17:51:07