Table of ContentsView in Frames

Copying one volume to another volume using the vol copy command

You can copy one volume to another volume, by using the vol copy command.

Step

  1. Enter the following command on either the source or destination system: 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 storage 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: If the copying takes place between two storage systems, you can enter the vol copy start command on either the source or destination storage system. However, you cannot enter the command on a third storage system that does not contain the source or destination volume.

Examples of the vol copy start command

The following table shows several examples of the vol copy start command.

If you want to... Use...
Copy all Snapshot copies from the vol0 volume to the vol1 volume on the same storage system vol copy start -S vol0 vol1
Copy a nightly Snapshot copy from the vol0 volume to the vol1 volume on the same storage system vol copy start -s nightly.1 vol0 vol1
Create a Snapshot copy in the vol0 volume to be copied to the vol1 volume on the same storage system vol copy start vol0 vol1
Copy all Snapshot copies from the vol0 volume to the vol1 volume on a different storage system named systemA vol copy start -S vol0 systemA:vol1