Library Table of Contents Index Previous Page (Alt-p) Next Page (Alt-n) Comments

Verifying the size of each volume

Verifying the volume size  Top

To see whether the data in one volume can be copied or replicated to another volume, you need to compare the file system size of the two volumes.

Verifying traditional volume size  Top

To compare the file system size of traditional volumes, complete the following steps.

Step

Action

1

On the source system, enter the following command:

vol status -b volume_name

volume_name is the name of the source volume.

Result

Data ONTAP displays the block size of the volume (in bytes), the RAID volume size, and the Write Anywhere File Layout (WAFL) file system size. If no volume name is given, information for all volumes is displayed.

2

On the destination system, repeat Step 1, replacing volume_name with the name of the destination volume.

3

Compare the file system (FS) numbers. If the file system size of the destination is the same as or larger than the file system size of the source, you can use the vol copy command (or SnapMirror) to transfer data from the source to the destination.

Example

vol status -b
Volume    Block Size (bytes)   Vol Size (blocks)   FS Size (blocks)
------    ------------------   -----------------   ---------------
sourcevol 4096                 4346752             4346752
destvol   4096                 4346752             4346752

Verifying FlexVol volume size  Top

You can compare the size of volumes using the vol status -b command as described above, or you can use the vol size command. It might be more convenient to use vol size command, because you use this command to change the size of a FlexVol volume.

To compare the file system size of FlexVol volumes, complete the following steps.

Step

Action

1

On the source system, enter the following command:

vol size volume_name

volume_name is the name of the source volume.

Result

Data ONTAP displays the block size of the volume (in bytes), the RAID volume size, and the Write Anywhere File Layout (WAFL) file system size. If no volume name is given, information for all volumes is displayed.

2

On the destination system, repeat Step 1, replacing volume_name with the name of the destination volume.

3

Compare the sizes. If the size of the destination is the same as or larger than the size of the source, you can use the vol copy command (or SnapMirror) to transfer data from the source to the destination. If the destination volume is smaller than the size of the source, increase the size of the destination volume. For information on increasing the size of a volume see the volume management chapter in the Storage Management Guide.

Example

vol status -b
Volume    Block Size (bytes)   Vol Size (blocks)   FS Size (blocks)
------    ------------------   -----------------   ---------------
sourcevol 4096                 4346752             4346752
destvol   4096                 4346752             4346752

Library Table of Contents Index Previous Page (Alt-p) Next Page (Alt-n) Comments