Table of ContentsView in Frames

Verifying and changing the status of source and destination volumes

You can verify whether the source volume is online, and that the destination volume exists and is restricted. You can also change the status of a volume when necessary.

Before you begin

You must have ensured that the destination volume for a vol copy operation must not be the root volume. This is because the destination volume must be offline when Data ONTAP executes the vol copy command, and a root volume must always be online.

Steps

  1. To verify that the destination volume exists and is restricted, enter the following command on the destination storage system:vol status dest_volume

    dest_volume is the name of the volume whose status you want to check.

    If you do not provide a volume name, the command displays the status of all volumes in the storage system.

    If the volume does not exist, Data ONTAP returns an error. For information about how to create a volume, see the Data ONTAP Storage Management Guide for 7-Mode.

  2. To verify that the source volume is online, repeat Step 1 on the source storage system, replacing dest_volume with the name of the source volume.
  3. If you need to change the status of a volume because of the results of Step 1, enter the following command on the destination storage system:vol restrict dest_volume
    dest_volume is the name of the destination volume.
  4. If you need to change the status of a volume because of the results of Step 2, enter the following command on the source storage system: vol online source_volume
    source_volume is the name of the source volume.
    If you need to perform Step 3 or Step 4, you might want to perform Step 1 or Step 2 again to verify the changes that you made.

Example

systemA> vol status
    Volume State  Status   Options
    vol0 online normal   root
    vol1 online normal   raidsize=14
    vol2 online restricted
volextra offline