Library Table of Contents Index Previous Page (Alt-p) Next Page (Alt-n) Comments

Adding disks to aggregates

Rules for adding disks to an aggregate  Top

You can add disks of various sizes in an aggregate, using the following rules:

If you want to add disks of different speeds, follow the guidelines described in the section about Disks must have the same RPM..

Checksum type rules for creating or expanding aggregates  Top

You must use disks of the appropriate checksum type to create or expand aggregates, as described in the following rules.

The following table shows the types of disks that you can add to an existing aggregate of each type.

Disk type

Block checksum aggregate

Zoned checksum aggregate

Block checksum

OK to add

OK to add

Zoned checksum

Not OK to add

OK to add

Hot spare disk planning for aggregates  Top

To fully support an aggregate's RAID disk failure protection, at least one hot spare disk is required for that aggregate. As a result, the storage system should contain spare disks of sufficient number and capacity to

To avoid possible data corruption with a single disk failure, always install at least one spare disk matching the size and speed of each aggregate disk.

Adding disks larger than the parity disk  Top

If an added disk is larger than an existing parity disk, the added disk replaces the smaller disk as the parity disk, and the smaller disk becomes a data disk. This enforces a Data ONTAP rule that the parity disk must be at least as large as the largest data disk in a RAID group.

Note
In aggregates configured with RAID-DP, the larger added disk replaces any smaller regular parity disk, but its capacity is reduced, if necessary, to avoid exceeding the capacity of the smaller-sized dParity disk.

Adding disks to an aggregate  Top

To add new disks to an aggregate or a traditional volume, complete the following steps.

Step

Action

1

Verify that hot spare disks are available for you to add by entering the following command:

aggr status -s
2

Add the disks by entering the following command:

aggr add aggr_name [-f] [-n] {ndisks[@disk-size] | [-d 
disk1 [disk2 ...] [disk1 [disk2 ...] ] }

aggr_name is the name of the aggregate to which you are adding the disks.

-f overrides the default behavior that does not permit disks in a plex to span disk pools (only applicable if SyncMirror is licensed). This option also allows you to mix disks with different speeds.

-n causes the command that Data ONTAP will execute to be displayed without actually executing the command. This is useful for displaying the disks that would be automatically selected prior to executing the command.

ndisks is the number of disks to use.

disk-size is the disk size, in gigabytes, to use. You must have at least ndisks available disks of the size you specify.

-d specifies that the disk-name will follow. If the aggregate is mirrored, then the -d argument must be used twice (if you are specifying disk-names).

disk-name is the disk number of a spare disk; use a space to separate disk numbers. The disk number is under the Device column in the aggr status -s display.

Note
If you want to use block checksum disks in a zoned checksum aggregate even though there are still zoned checksum hot spare disks, use the -d option to select the disks.

Examples

The following command adds four 72-GB disks to the thisaggr aggregate:

aggr add thisaggr 4@72

The following command adds the disks 7.17 and 7.26 to the thisaggr aggregate:

aggr add thisaggr -d 7.17 7.26 

Adding disks to a specific RAID group in an aggregate  Top

If an aggregate has more than one RAID group, you can specify the RAID group to which you are adding disks. To add disks to a specific RAID group of an aggregate, complete the following step.

Step

Action

1

Enter the following command:

aggr add aggr_name -g raidgroup ndisks[@disk-size] | -d 
disk-name... 

raidgroup is a RAID group in the aggregate specified by aggr_name

Example

The following command adds two disks to RAID group 0 of the vol0 volume:

aggr add aggr0 -g rg0 2

The number of disks you can add to a specific RAID group is limited by the raidsize setting of the aggregate to which that group belongs. For more information, see Chapter 4, Changing the size of existing RAID groups

Forcibly adding disks to aggregates  Top

If you try to add disks to an aggregate (or traditional volume) under the following situations, the operation will fail:

If you add disks to an aggregate (or traditional volume) under the following situation, the operation will prompt you for confirmation, and then succeed or abort, depending on your response.

To force Data ONTAP to add disks in these situations, complete the following step.

Step

Action

1

Enter the following command:

aggr add aggr-name -f [-g raidgroup] -d disk-name...

Note
You must use the -g raidgroup option to specify a RAID group other than the last RAID group in the aggregate.

Displaying disk space usage on an aggregate  Top

You use the aggr show_space command to display how much disk space FlexVol volumes use in an aggregate. The command shows the following categories of information. If you specify the name of an aggregate, the command only displays information about that aggregate. Otherwise, the command displays information about all of the aggregates in the storage system.

All of the values are displayed in 1024-byte blocks, unless you specify one of the following sizing options:

To display the disk usage of an aggregate, complete the following step.

Step

Action

1

Enter the following command:

aggr show_space aggr_name

Example


 
aggr show_space -h aggr1

 
Aggregate `aggr1'
Volume            Reserved          Used     Guarantee
vol1               100MB            80MB        volume
vol2                50MB            40MB        volume
vol3                21MB            21MB          none

 
Aggregate         Reserved          Used         Avail
Total space          171MB         142MB          83MB
Snap reserve          13MB        2788KB          10MB
WAFL reserve          30MB        1476KB          28MB

After adding disks for LUNs, you run reallocation jobs  Top

After you add disks to an aggregate, run a full reallocation job on each FlexVol volume contained in that aggregate. For information on how to perform this task, see your Block Access Management Guide.

Library Table of Contents Index Previous Page (Alt-p) Next Page (Alt-n) Comments