Table of ContentsView in Frames

Checking the status of a volume copy operation

You can use the vol copy status command to check the status of volume copy operations.

About this task

This command displays the status for a specified volume copy operation. If you do not specify the operation number, the command displays the status of all volume copy operations in progress. In the command output, the operations are differentiated from one another with unique volume copy operation numbers.
Restrictions: Remember the following restrictions when checking volume copy status:
  • If you start a volume copy operation from the system console, you can enter the vol copy status command only through the rsh command when the copy operation is in progress. This is because you do not have access to the system prompt on the console when Data ONTAP is copying the volume.
  • If data is being copied between two storage systems, you can enter the vol copy status command through a remote shell connection to either system. The operation numbers displayed on the source system and the destination system are different because the reading and the writing are considered two different operations.

Step

  1. Enter the following command:vol copy status [ operation_number ]
    operation_number is the specific volume copy operation.
    Omit operation_number to display the status of all current volume copy operations. The operations are numbered from 0 through 3.

Sample status message from the vol copy start command

The following example shows a vol copy start command that copies the vol0 volume to the vol1 volume on the same storage system. When the operation is in progress, it displays the volume copy operation status.

systemA>vol copy start -S vol0 vol1Copy Volume: vol0 on machine 127.0.0.1 to Volume: vol1
Reading the dump stream
VOLCOPY: Starting on volume 1.
This dump contains 257 blocks
10:04 pm : volcopy restore 1 : begun.
10:04 pm : volcopy restore 1 : 5 % done. Estimate 3 minutes
remaining.
.
.
.
10:04 pm : volcopy restore 1 : 95% done. Estimate 1 minutes
remaining.

The following example shows a vol copy status command using rsh.

Before the prompt is displayed again, you can use the vol copy status command on a trusted host of the storage system, as shown in the following example:

rsh systemA vol copy status10:04 pm : volcopy dump 0 : 99 % done. Estimate 1 minutes remaining.
10:04 pm : volcopy restore 1 : 99 % done. Estimate 1 minutes remaining.
No operation 2 in progress.
No operation 3 in progress.

In the previous examples, volume copy operation 0, shown as volcopy dump 0 in the display, is for reading the data from the vol0 volume; volume copy operation 1, shown as volcopy restore 1 in the display, is for writing the data to the vol1 volume.