Table of ContentsView in Frames

Creating an aggregate

You create an aggregate to provide storage to one or more FlexVol volumes and Infinite Volumes. Aggregates are a physical storage object; they are associated with a specific node in the cluster.

Before you begin

About this task

Drives and array LUNs are owned by a specific node; when you create an aggregate, all drives in that aggregate must be owned by the same node, which becomes the home node for that aggregate.

Aggregate names must conform to the following requirements:

Steps

  1. Display a list of available spares: storage disk show -spare -owner node_name
  2. Create the aggregate by using the storage aggregate create command.
    If you are logged in to the cluster on the cluster management interface, you can create an aggregate on any node in the cluster. To ensure that the aggregate is created on a specific node, use the -nodes parameter or specify drives that are owned by that node.

    You can specify the following options:

    • Aggregate's home node (that is, the node on which the aggregate is located unless the aggregate fails over to the node's storage failover partner)
    • The number of drives or array LUNs to be used, or a list of specific drives or array LUNs that are to be included in the aggregate
    • Checksum style to use for the aggregate
    • Type of drives to use
    • Size of drives to use
    • Drive speed to use
    • RAID type for RAID groups on the aggregate
    • Maximum number of drives or array LUNs that can be included in a RAID group
    • Whether drives with different RPM are allowed

    For more information about these options, see the storage aggregate create man page.

  3. Verify the RAID groups and drives of your new aggregate: storage aggregate show -aggregate aggr_name

Example

You want to create a storage configuration for a single node cluster and have 4 shelves of SAS disks totaling 96 drives, with 3 drives used for the root aggregate. You decide to allocate the remaining drives in the following manner:
  • 2 spares
  • 91 drives used for data in one aggregate:
    • 4 RAID groups of 18 drives each
    • 1 RAID group of 19 drives

To accomplish this goal, you use the following steps:

  1. Create the first RAID group of 19 disks: storage aggregate create -aggregate n01sas01 -node cl-01 -diskcount 19 -maxraidsize 19 -disktype SAS
  2. Change the aggregate's maximum RAID group size to 18: storage aggregate modify -aggregate n01sas01 -maxraidsize 18
  3. Add the remaining 54 disks as 4 RAID groups of 18 disks each: storage aggregate add-disks -aggregate n01sas01 -node cl-01 -diskcount 54 -disktype SAS

Later, if you added a 24-drive shelf to the node and wanted to add the storage to this aggregate, you could again modify the RAID group size to 24 so that the entire shelf could be accommodated in a single RAID group, provided that a RAID group size of 24 is acceptable for your installation.