Enter the following command:aggr create aggr_name [-f] [-m] [-n] [-t {raid4|raid_dp}] [-r raidsize] [-T disk-type] -R rpm] [-L] disk-list
aggr_name is the name for the new aggregate.
-f overrides the default behavior that does not permit disks in a plex to belong to different disk pools. This option also allows you to mix disks 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. A SyncMirror license is required for this feature.
-n displays the results of the command but does not execute it. This is useful for displaying the disks that would be automatically selected prior to executing the command.
-t{raid4 | raid_dp}
specifies the level of RAID protection you want to provide for this aggregate. If no RAID level is specified, the default value (raid_dp) is applied.
-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 one of the following types of disk to be used:
ATA,
SATA,
SAS, or
FCAL. This option is only needed when creating aggregates on systems that have mixed disks. Use
FCAL for FC disks,
ATA for ATA disks connected via FC-AL,
SATA for SAS-attached ATA disks, and
SAS for SAS-attached SAS disks.
Note: FCAL and SAS disks are considered to be the same type for the purposes of creating an aggregate. Similarly, ATA and SATA disks are considered to be the same type.
-R rpm specifies the type of disk to use based on its speed. Valid values for rpm include 5400, 7200, 10000, and 15000.
-L creates a SnapLock aggregate. For more information, see the na_aggr(1) man page or the Data Protection Online Backup and Recovery Guide.
disk-list is one of the following values:
- ndisks[@disk-size]
ndisks is the number of disks to use. It must be at least 3 for RAID-DP aggregates or 2 for RAID-4 aggregates.
disk-size is the disk size to use, in gigabytes.
- -d disk_name1 disk_name2... disk_nameN
disk_name1, disk_name2, and disk_nameN are disk IDs of available disks; use a space to separate disk IDs.