Verifying the size of each volume
Verifying the volume size
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
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
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
Copyright © 1994-2005, Network Appliance, Inc. All rights
reserved.
Part No. 210-01081_B0
File: volcopy4.htm
Last updated: 01-Dec-2005 16:36:24