Library Table of Contents Index Previous Next Comments

Preparing to copy a volume

Verifying and changing status of source and destination volumes

Verifying and changing volume status  Top

To verify that the source volume is online and that the destination volume exists and is restricted, and to change the status of a volume when necessary, complete the following steps.

Step

Action

1

To verify that the destination volume exists and is restricted, enter the following command on the destination filer:

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 filer.

If the volume does not exist, Data ONTAP returns an error. See the System Administrator's Guide for information about how to create a volume.

Note
The destination volume cannot 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.

2

To verify that the source volume is online, repeat Step 1on the source filer, 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 filer:

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 filer:

vol online source_volume

source_volume is the name of the source volume.

5

If you needed 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:

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

Library Table of Contents Index Previous Next Comments