Typically, root aggregates are created in the factory, and data aggregates are created during initial system setup. However, if you need to create a new data aggregate using partitioned drives, there are some differences in the procedure from creating an aggregate using physical, unpartitioned drives.
Before you begin
You should know what drives or partitions will be used in the new aggregate.
You should have determined the correct RAID group size given the number of drives or partitions you are using to create the aggregate and your plans for expanding the aggregate in the future.
About this task
Drives and partitions are owned by a specific node; when you create an aggregate, all of the partitions you use for the new aggregate must be owned by the same node, which becomes the home node for the new aggregate.
When you provision partitions, you must ensure that you do not leave the node without a disk with both partitions as spare. If you do, and the node experiences a controller disruption, valuable information about the problem (the core file) might not be available to provide to technical support.
Aggregate names must conform to the following requirements:
- They must begin with either a letter or an underscore (_).
- They can contain only letters, digits, and underscores.
- They can contain 250 or fewer characters.
- View the list of spare data partitions: storage aggregate show-spare-disks -original-owner node_name
The list of disks with at least one spare partition is displayed. Data partitions are shown under Local Data Usable. You must use data partitions when you create a data aggregate.
- Determine how many partitions you want to use in the aggregate.
Remember to leave an appropriate number of spare data partitions. Data ONTAP will not use a root partition as a spare for a data aggregate.
- Simulate the creation of the aggregate: storage aggregate create -aggregate aggr_name -node node_name -diskcount number_of_partitions -simulate true
This enables you to see the result of the aggregate creation without actually provisioning any storage. If any warnings are displayed from the simulated command, you can adjust the command and repeat the simulation.
- Create the aggregate: storage aggregate create -aggregate aggr_name -node node_name -diskcount number_of_partitions
- Check zeroing status and verify the composition of the aggregate: storage aggregate show-status aggr_name