Changing the state of an aggregate
Aggregate states
An aggregate can be in one of the following three states:
- Online--Read and write access to volumes hosted on this aggregate is allowed. An online aggregate can be further described as follows:
- copying--The aggregate is currently the target aggregate of an active aggr copy operation.
- degraded--The aggregate contains at least one degraded RAID group that is not being reconstructed after single disk failure.
- double degraded--The aggregate contains at least one RAID group with double disk failure that is not being reconstructed (this state is possible if RAID-DP protection is enabled for the affected aggregate).
- double reconstruction xx% complete--At least one RAID group in the aggregate is being reconstructed after experiencing double disk failure (this state is possible if RAID-DP protection is enabled for the affected aggregate).
- foreign--Disks that the aggregate contains were moved to the current storage system from another storage system.
- growing--Disks are in the process of being added to the aggregate.
- initializing--The aggregate is in the process of being initialized.
- invalid--The aggregate does not contain a valid file system.
- ironing--A WAFL consistency check is being performed on the aggregate.
- mirrored--The aggregate is mirrored and all of its RAID groups are functional.
- mirror degraded--The aggregate is a mirrored aggregate and one of its plexes is offline or resynchronizing.
- needs check--WAFL consistency check needs to be performed on the aggregate.
- normal--The aggregate is unmirrored and all of its RAID groups are functional.
- partial--At least one disk was found for the aggregate, but two or more disks are missing.
- reconstruction xx% complete--At least one RAID group in the aggregate is being reconstructed after experiencing single disk failure.
- resyncing--The aggregate contains two plexes; one plex is resynchronizing with the aggregate.
- verifying--A mirror verification operation is currently running on the aggregate.
- wafl inconsistent--The aggregate has been marked corrupted; contact technical support.
- Restricted--Some operations, such as parity reconstruction, are allowed, but data access is not allowed (aggregates cannot be restricted if they still contain FlexVol volumes).
- Offline--Read or write access is not allowed (aggregates cannot be taken offline if they still contain any FlexVol volumes).
Determining the state of aggregates
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
You can take an aggregate offline and make it unavailable to the storage system. You do this for the following reasons:
- To perform maintenance on the aggregate
- To destroy an aggregate
- To undestroy an aggregate
Taking an aggregate offline
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
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
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
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.
|
Copyright © 1994-2005, Network Appliance, Inc. All rights
reserved.
Part No. 210-01085_B0
File: 5aggr4.htm
Last updated: 01-Dec-2005 16:51:35