Skip to main content

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.

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.

  1. View the list of spare disk partitions and/or spare disks 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