You configure data storage by creating aggregates and FlexVol volumes, traditional volumes, and LUNs for a SAN environment. You can also use qtrees to partition data in a volume.
You can create up to 100 aggregates per storage system. Minimum aggregate size is two disks (one data disk, one parity disk) for RAID4 or three disks (one data, one parity, and one double parity disk) for RAID-DP. However, you are advised to configure the size of your RAID groups according to the anticipated load. For more information, see the chapter on system information and performance in the System Administration Guide.
To create an aggregate and a FlexVol, complete the following steps.
| 1 |
(Optional) Determine the free disk resources on your storage system by entering the following command: aggr status -s -s displays a listing of the spare disks on the storage system. ResultData ONTAP displays a list of the disks that are not allocated to an aggregate. With a new storage system, all disks except those allocated for the root volume's aggregate (explicit for a FlexVol and internal for a traditional volume) will be listed. |
| 2 |
(Optional) Determine the size of the aggregate, assuming it is aggr0, by entering one of the following commands: df -A aggr0 For size in 4096-byte blocks, enter: aggr status -b aggr0 For size in number of disks, enter: aggr status { -d | -r } aggr0
Note |
| 3 |
Create an aggregate by entering the following command: aggr create [-m] [-r raidsize] aggr ndisks[@disksize] Exampleaggr create aggr1 24@72G ResultAn aggregate named aggr1 is created. It consists of 24 72- GB disks. -m instructs Data ONTAP to implement SyncMirror. -r raidsize specifies the maximum number of disks of each RAID group in the aggregate. The maximum and default values for raidsize are platform-dependent, based on performance and reliability considerations. By default, the RAID level is set to RAID-DP. If raidsize is sixteen (16), aggr1 consists of two RAID groups, the first group having fourteen (14) data disks, one (1) parity disk, and one (1) double parity disk, and the second group having six (6) data disks, one (1) parity disk, and one (1) double parity disk. If raidsize is eight (8), aggr1 consists of three RAID groups, each one having six (6) data disks, one (1) parity disk, and one (1)double parity disk. |
| 4 |
(Optional) Verify the creation of this aggregate by entering the following command: aggr status aggr1 |
| 5 |
Create a FlexVol volume in the specified aggregate by entering the following command: vol create vol aggr size Examplevol create new_vol aggr1 32g ResultThe FlexVol volume new_vol, with a maximum size of 32 GB, is created in the aggregate, aggr1. The default space guarantee setting for FlexVol volume creation is volume. The vol create command fails if Data ONTAP cannot guarantee 32 GB of space. To override the default, enter one of the following commands. For information about space guarantees, see Space guarantees. vol create vol -s none aggr size vol create vol -s file aggr size |
| 6 |
(Optional) To verify the creation of the FlexVol named new_vol, enter the following command: vol status new_vol -v |
| 7 |
If you want to create additional FlexVol volumes in the same aggregate, use the vol create command as described in Step 5. Note the following constraints:
|
| 8 |
To create qtrees within your volumes, enter the following command: qtree create /vol/vol/qtree Exampleqtree create /vol/new_vol/my_tree ResultThe qtree my_tree is created within the volume named new_vol. Note |
| 9 |
(Optional) To verify the creation of the qtree named my_tree, within the volume named new_vol, enter the following command: qtree status new_vol -v |
If you upgrade to Data ONTAP 7.0 or later from a previous version of Data ONTAP, the upgrade program keeps your traditional volumes intact. You might want to maintain your traditional volumes and create additional traditional volumes because some operations are more practical on traditional volumes or require traditional volumes, such as:
To create a traditional volume, complete the following steps:
:Copyright © 1994-2005, Network Appliance, Inc. All rights
reserved.
Part No. 210-01085_B0
File: 2qset3.htm
Last updated: 01-Dec-2005 16:51:22