Table of ContentsView in Frames

Creating an aggregate

You create an aggregate to provide storage to one or more FlexVol volumes.

Before you begin

You should know what drives or array LUNs will be used in the new aggregate.

If you have multiple drive types in your system (heterogeneous storage), you should understand how you can ensure that the correct drive type is selected.

About this task

Aggregate names must conform to the following requirements:

Steps

  1. Display a list of available spares by entering the following command:aggr status -s
  2. Create the aggregate by entering the following command: aggr create aggr_name [-f] [-m] [-n] [-t {raid0 | raid4 | raid_dp}] [-r raidsize] [-T disk-type] -R rpm] [-L] [-p] disk-list
    aggr_name is the name for the new aggregate.

    -f overrides the default behavior that does not permit drives in a plex to belong to different pools. This option also enables you to mix drives with different RPM speeds even if the appropriate raid.rpm option is not off.

    -m specifies the optional creation of a SyncMirror-replicated volume if you want to supplement RAID protection with SyncMirror protection.

    -n displays the results of the command but does not execute it. This is useful for displaying the drives that would be automatically selected prior to executing the command.

    -t {raid0 | raid4 | raid_dp} specifies the level of RAID protection you want to provide for this aggregate. If no RAID level is specified for an aggregate composed of drives, the default value (raid_dp) is applied. raid0 is used only for array LUNs.

    -r raidsize is the maximum size of the RAID groups for this aggregate. If no size is specified, the default is used.

    -T disk-type specifies the Data ONTAP drive type. This option is needed when creating aggregates on systems that have mixed drive types or both drives and array LUNs.

    -R rpm specifies the type of drive to use based on its speed. Valid values for rpm include 5400, 7200, 10000, and 15000.

    -p specifies the pool from which the drives are selected.

    disk-list is one of the following values:

    • ndisks[@disk-size]

      ndisks is the number of drives to use.

      disk-size is the drive size to use, in gigabytes.

    • -d disk_name1 disk_name2... disk_nameN

      disk_name1, disk_name2, and disk_nameN are drive IDs of available drives; use a space to separate drive IDs.

  3. Verify the RAID group and drives of your new aggregate by entering the following command: aggr status -r aggr_name

Examples

The following command creates a 64-bit aggregate called newfastaggr, with 20 drives, the default RAID group size, and all drives with 15K RPM: aggr create newfastaggr -R 15000 20

The following command creates a 64-bit aggregate called newFCALaggr. aggr create newFCALaggr -T FCAL 15