Changing the state of a volume
Volume states
A volume can be in one of the following three states:
- Off-line--Read or write access is not allowed.
- Restricted--Some operations, such as copying volumes and parity reconstruction, are allowed, but data access is not allowed.
- On-line--Read and write access is allowed. An on-line volume can be in one of the following states:
- Normal--Volume is unmirrored and all of its RAID groups are functional.
- Mirrored--Volume is mirrored and all of its RAID groups are functional.
- Degraded--Volume contains at least one degraded RAID group that is not being reconstructed.
- Mirror degraded--Volume is a mirrored volume and one of its plexes is off-line or resynchronizing.
- Foreign--Disks that the volume contains were moved to the current filer from another filer.
- Reconstruct--At least one RAID group in the volume is being reconstructed.
- Partial--At least one disk was found for the volume, but two or more disks are missing.
- Growing--Disks are in the process of being added to the volume.
- Initializing--Volume is in the process of being initialized.
- Needs check--WAFL consistency check needs to be performed on the volume.
- Resyncing--Volume contains two plexes; one plex is resynchronizing with the volume.
- Ironing--WAFL consistency check is being performed on the volume.
- Copying--Volume is currently the target volume of active vol copy or snapmirror operations.
- Snapmirrored--Volume is a snapmirrored replica of another volume.
- Verifying--Mirror verification operation is currently running on the volume.
- Wafl inconsistent--Volume has been marked corrupted; contact Network Appliance Technical Support.
- Invalid--Volume does not contain a valid file system.
Determining the state of volumes
To determine what state a volume is in, complete the following step.
Step
|
Action
|
|
1 |
Enter the following command:
vol status
|
When to take a volume off-line
You can take a volume off-line and make it unavailable to the filer. You do this for the following reasons:
- To perform maintenance on the volume
- To move a volume to another filer
- To destroy a volume
Taking a volume off-line
To take a volume off-line, complete the following step.
Step
|
Action
|
|
1 |
Enter the following command:
vol offline vol-name
vol-name is the name of the volume to be taken off-line.
|
When to make a volume restricted
When you make a volume restricted it is available only for a few operations. You do this for the following reasons:
- To copy a volume to another volume (see the Data Protection Guide for volume copy details)
- To perform a level-0 SnapMirror operation (see the Data Protection Guide for SnapMirror operation details)
Making a volume restricted
To make a volume restricted, complete the following step.
Step
|
Action
|
|
1 |
Enter the following command:
vol restrict vol-name
vol-name is the name of the volume to be made restricted.
|
Bringing a volume on-line
You bring a volume on-line to make it available to the filer after deactivating it. To bring a volume back on-line, complete the following step.
Step
|
Action
|
|
1 |
Enter the following command:
vol online vol-name
vol-name is the name of the volume to reactivate. If the volume is inconsistent, the command prompts you for confirmation.
Note If you bring an inconsistent volume on-line, it could suffer further file system corruption. |
Copyright © 1994-2003, Network Appliance, Inc. All rights
reserved.
Part No. 210-00322
File: data-or8.htm
Last updated: 01/22/03 16:16:52