The filers involved in a volume copy operation must meet several requirements for data to be copied successfully. The following list is a brief description of these requirements. The rest of this section provides more detailed information about verifying whether the source and destination volumes meet these requirements.
The destination volume must exist before you enter the vol copy start command to start copying a volume. If the volume does not exist, the command does not create the volume and the command returns an error. See "Creating volumes" for information about how to create a volume.
After you verify that the destination volume exists, check the status of the source volume and the destination volume.
The source volume must be on-line and the destination volume must be off-line. To verify whether a volume is on-line or off-line, use the following command syntax:
vol status volume_name
If you need to change the status of a volume, use one of the following command syntaxes:
Note: The vol offline command takes effect only after you reboot the filer.
The capacity of the destination volume must be greater than or equal to the capacity of the source volume, regardless of how many snapshots you try to copy. To verify the capacity of a volume, follow these steps:
df /vol/volume_name
The command displays information about disk space in the active file system and in the snapshot for the specified volume.
If the destination volume is not a new volume, make sure that the destination volume does not contain data that you might need in the future. This is because after the filer starts copying the source volume, it overwrites the entire destination volume. That is, all data in the active file system and in the snapshot of the destination volume is lost after the filer starts copying the data.
If the source and destination volumes in a volume copy operation reside on two filers, the filers must have a trusting relationship with each other. That is, you must specify each filer as a trusted host in the /etc/hosts.equiv file of the other filer. The /etc/hosts.equiv file contains a list of host names, each of which is on a separate line.
If you want to copy data between volumes on the same filer, you must specify localhost on the filer as a trusted host in the filer's /etc/hosts.equiv file. Localhost is the interface through which the filer sends packets to itself.
If you have not already listed localhost as a trusted host, follow these steps to include localhost in /etc/hosts.equiv:
To avoid performance problems when copying to a different filer, you might want to set up a private network for copying between the source and destination filers. This is because when a filer copies data between two volumes, it floods the network with packets. Users of the filers involved in a volume copy operation might notice a degradation in response time during the copy.
Copyright © 1999, Network Appliance, Inc. All rights reserved.
Part No. 210-02334
File: volcopy2.htm
Last updated: 02/24/99 12:17:12