FlexVol volumes have different best practices, optimal configurations, and performance characteristics compared to traditional volumes. Make sure you understand these differences by referring to the available documentation on FlexVol volumes and deploy the configuration that is optimal for your environment.
For information about deploying a storage solution with FlexVol volumes, including migration and performance considerations, see the technical report Introduction to Data ONTAP Release 7G (available from the NetApp Library at http://www.netapp.com/tech_library/ftp/3356.pdf). For information about configuring FlexVol volumes, see FlexVol volume operations. For information about configuring aggregates, see Aggregate Management.
The following list outlines some facts about migrating between traditional and FlexVol volumes that you should know:
NetApp Professional Services staff, including Professional Services Engineers (PSEs) and Professional Services Consultants (PSCs) are trained to assist customers with converting volume types and migrating data, among other services. For more information, contact your local NetApp Sales representative, PSE, or PSC.
The following procedure describes how to migrate from a traditional volume to a FlexVol volume. If you are migrating your root volume, you can use the same procedure, including the steps that are specific to migrating a root volume.
To migrate a traditional volume to a FlexVol volume, complete the following steps.
| 1 |
Determine the size requirements for the new FlexVol volume. Enter the following command to determine the amount of space your current volume uses: df -Ah [vol_name] Exampledf -Ah vol0 ResultThe following output is displayed. Aggregate total used avail capacity Root volumeIf the new FlexVol volume is going to be the root volume, it must meet the minimum size requirements for root volumes, which are based on your storage system. Data ONTAP prevents you from designating as root a volume that does not meet the minimum size requirement. For more information, see the "Understanding the Root Volume" chapter in the System Administration Guide. |
| 2 |
You can use an existing aggregate or you can create a new one to contain the new FlexVol volume. To determine if an existing aggregate is large enough to contain the new FlexVol volume, enter the following command: df -Ah Result |
| 3 |
If needed, create a new aggregate by entering the following command: aggr create aggr_name disk-list Exampleaggr create aggrA 8@144 ResultAn aggregate called aggrA is created with eight 144-GB disks. The default RAID level is RAID-DP, so two disks will be used for parity (one parity disk and one dParity disk). The aggregate size will be 1,128 GB. If you want to use RAID4, and use one less parity disk, enter the following command: aggr create aggrA -t raid4 8@144 |
| 4 |
If you want to use the new FlexVol volume to have the same name as the old traditional volume, you must rename the existing traditional root volume before creating the new FlexVol volume. Do this by entering the following command: aggr rename vol_name new_vol_name Exampleaggr rename vol0 vol0trad |
| 5 |
Create the new FlexVol volume in the containing aggregate. For more information about creating FlexVol volumes, see Creating FlexVol volumes. vol create vol_name aggr_name Examplevol create vol0 aggrA 90g Root volumeYou must use the (default) volume space guarantee for root volumes, because it ensures that writes to the volume do not fail due to a lack of available space in the containing aggregate. |
| 6 |
Confirm the size of the new FlexVol volume by entering the following command: df -h vol_name |
| 7 |
Shut down any applications that use the data to be migrated. Make sure that all data is unavailable to clients and that all files to be migrated are closed. |
| 8 |
Enable the ndmpd.enable option by entering the following command: options ndmpd.enable on |
| 9 |
Migrate the data by entering the following command: ndmpcopy old_vol_name new_vol_name Examplendmpcopy /vol/vol0trad /vol/vol0 For more information about using ndmpcopy, see the Data Protection Tape Backup and Recovery Guide. |
| 10 |
Verify that the ndmpcopy operation completed successfully by verifying that the data was replicated correctly. |
| 11 |
If you are migrating your root volume, make the new FlexVol volume the root volume by entering the following command: vol options vol_name root Examplevol options vol0 root |
| 12 |
If you are migrating your root volume, reboot the storage system. |
| 13 |
Update the clients to point to the new FlexVol volume. |
| 14 |
Make sure all clients can see the new FlexVol volume and read and write data. To test whether data can be written, complete the following steps: |
| 15 |
If you are migrating the root volume, and you changed the name of the root volume, update the httpd.rootdir option to point to the new root volume. |
| 16 |
If quotas were used with the traditional volume, configure the quotas on the new FlexVol volume. |
| 17 |
Take a snapshot of the target volume and create a new snapshot schedule as needed. For more information about taking snapshots, see the Data Protection Online Backup and Recovery Guide. |
| 18 |
When you are confident the volume migration was successful, you can take the original volume offline or destroy it. Attention |
To migrate a FlexVol volume to a traditional volume, complete the following steps.
.Copyright © 1994-2005, Network Appliance, Inc. All rights
reserved.
Part No. 210-01085_B0
File: 6vol13.htm
Last updated: 01-Dec-2005 16:51:37