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

Changing the state of an aggregate

Aggregate states  Top

An aggregate can be in one of the following three states:

Determining the state of aggregates  Top

To determine what state an aggregate is in, complete the following step.

Step

Action

1

Enter the following command:

aggr status

This command displays a concise summary of all the aggregates and traditional volumes in the storage system.

Example

In the following example, the State column displays whether the aggregate is online, offline, or restricted. The Status column displays the RAID level and, lists any status other than normal (in the case of volA, below, the status is mirrored).

> aggr status
Aggr Type  State      Status    Options
vol0 AGGR  online     raid4     root, 
volA TRAD  online     raid_dp 
                      mirrored

When to take an aggregate offline  Top

You can take an aggregate offline and make it unavailable to the storage system. You do this for the following reasons:

Taking an aggregate offline  Top

There are two ways to take an aggregate offline, depending on whether Data ONTAP is running in normal or maintenance mode. In normal mode, you must first offline and destroy all of the FlexVol volumes in the aggregate. In maintenance mode, the FlexVol volumes are preserved.

To take an aggregate offline while Data ONTAP is running in normal mode, complete the following steps.

Step

Action

1

Ensure that all FlexVol volumes in the aggregate have been taken offline and destroyed.

2

Enter the following command:

aggr offline aggr_name 

aggr_name is the name of the aggregate to be taken offline.

To enter into maintenance mode and take an aggregate offline, complete the following steps.

Step

Action

1

Turn on or reboot the system. When prompted to do so, press Ctrl-C to display the boot menu.

2

Enter the choice for booting in maintenance mode.

3

Enter the following command:

aggr offline aggr_name 

aggr_name is the name of the aggregate to be taken offline.

4

Halt the system to exit maintenance mode by entering the following command:

halt
5

Reboot the system. The system will reboot in normal mode.

Restricting an aggregate  Top

You only restrict an aggregate if you want it to be the target of an aggregate copy operation. For information about the aggregate copy operation, see the Data Protection Online Backup and Recovery Guide.

To restrict an aggregate, complete the following step.

Step

Action

1

Enter the following command:

aggr restrict aggr_name 

aggr_name is the name of the aggregate to be made restricted.

Bringing an aggregate online  Top

You bring an aggregate online to make it available to the storage system after you have taken it offline and are ready to put it back in service.

To bring an aggregate online, complete the following step.

Step

Action

1

Enter the following command:

aggr online aggr_name

aggr_name is the name of the aggregate to reactivate.

Attention
If you bring an inconsistent aggregate online, it might suffer further file system corruption.

If the aggregate is inconsistent, the command prompts you for confirmation.

Renaming an aggregate  Top

Generally, you might want to rename aggregates to give them descriptive names.

To rename an aggregate, complete the following step.

Step

Action

1

Enter the following command:

aggr rename aggr_name new_name

aggr_name is the name of the aggregate you want to rename.

new_name is the new name of the aggregate.

Result:

The aggregate is renamed.

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