Creating aggregates manually

Before you create aggregates manually, you should review disk configuration options and simulate creation. Then you can issue the storage aggregate create and verify the results.

Before you begin

You must have determined the number of disks and the number of hot spare disks you need in the aggregate.

About this task

If root-data-data partitioning is enabled and you have 24 solid state drives (SSDs) or fewer in your configuration, it is recommended that your data partitions be assigned to different nodes.

The procedure for creating aggregates on systems with root-data partitioning and root-data-data partitioning enabled is the same as the procedure for creating aggregates on systems using unpartitioned disks. If root-data partitioning is enabled on your system, you should use the number of disk partitions for the -diskcount option. For root-data-data partitioning, the -diskcount option specifies the count of disks to use.
Note: When creating multiple aggregates for use with FlexGroups, aggregates should be as close in size as possible.

The storage aggregate create man page contains more information about aggregate creation options and requirements.

Steps

  1. View the list of spare disk partitions to verify that you have enough to create your aggregate: storage aggregate show-spare-disks -original-owner node_name
    Data partitions are displayed under Local Data Usable. A root partition cannot be used as a spare.
  2. Simulate the creation of the aggregate: storage aggregate create -aggregate aggregate_name -node node_name -raidtype raid_dp -diskcount number_of_disks_or_partitions -simulate true
  3. If any warnings are displayed from the simulated command, adjust the command and repeat the simulation.
  4. Create the aggregate: storage aggregate create -aggregate aggr_name -node node_name -raidtype raid_dp -diskcount number_of_disks_or_partitions
  5. Display the aggregate to verify that it was created: storage aggregate show-status aggregate_name