Space guarantees on a FlexVol volume ensure that writes to a specified FlexVol volume or writes to files with space reservations enabled do not fail because of lack of available space in the containing aggregate.
Other operations such as creation of snapshots or new volumes in the containing aggregate can occur only if there is enough available uncommitted space in that aggregate; other operations are restricted from using space already committed to another volume.
When the uncommitted space in an aggregate is exhausted, only writes to volumes or files in that aggregate with space guarantees are guaranteed to succeed.
The space management for a FlexVol volume with space guarantee of volume is equivalent to a traditional volume, or all volumes in versions of Data ONTAP earlier than 7.0.
For more information on file space reservation see Space reservations.
Note
Because out-of-space errors are unexpected in a CIFS environment, do not set space guarantee to none for volumes accessed using CIFS.
Space guarantee is an attribute of the volume. It is persistent across storage system reboots, takeovers, and givebacks, but it does not persist through reversions to versions of Data ONTAP earlier than 7.0.
Space guarantees are honored only for online volumes. If you take a volume offline, any committed but unused space for that volume becomes available for other volumes in that aggregate. When you bring that volume back online, if there is not sufficient available space in the aggregate to fulfill its space guarantees, you must use the force (-f) option, and the volume's space guarantees are disabled.
For more information, see Bringing a volume online in an overcommitted aggregate.
Traditional volumes provide the same space guarantee as FlexVol volumes with space guarantee of volume. To guarantee that writes to a specific file in a traditional volume will always succeed, you need to enable space reservations for that file. (LUNs have space reservations enabled by default.)
For more information about space reservations, see Space reservations.
To specify the space guarantee for a volume at creation time, complete the following steps.
Note
To create a FlexVol volume with space guarantee of volume, you can ignore the guarantee parameter, because volume is the default.
To change the space guarantee for an existing FlexVol volume, complete the following steps.
Aggregate overcommitment provides flexibility to the storage provider. Using aggregate overcommitment, you can appear to provide more storage than is actually available from a given aggregate. This could be useful if you are asked to provide greater amounts of storage than you know will be used immediately. Alternatively, if you have several volumes that sometimes need to grow temporarily, the volumes can dynamically share the available space with each other.
To use aggregate overcommitment, you create FlexVol volumes with a space guarantee of none or file. With a space guarantee of none or file, the volume size is not limited by the aggregate size. In fact, each volume could, if required, be larger than the containing aggregate. The storage provided by the aggregate is used up only as LUNs are created or data is appended to files in the volumes.
Of course, when the aggregate is overcommitted, it is possible for these types of writes to fail due to lack of available space:
Therefore, if you have overcommitted your aggregate, you must monitor your available space and add storage to the aggregate as needed to avoid write errors due to insufficient space.
Note
Because out-of-space errors are unexpected in a CIFS environment, do not set space guarantee to none for volumes accessed using CIFS.
When you take a FlexVol volume offline, it releases its allocation of storage space in its containing aggregate. Storage allocation for other volumes in that aggregate while that volume is offline can result in that storage being used. When you bring the volume back online, if there is insufficient space in the aggregate to fulfill the space guarantee of that volume, the normal online command fails unless you force the volume online by using the -f flag.
Attention
When you force a FlexVol volume to come online due to insufficient space, the space guarantees for that volume are disabled. That means that attempts to write to that volume could fail due to insufficient available space. In environments that are sensitive to that error, such as CIFS or LUNs, forcing a volume online should be avoided if possible.
When you make sufficient space available to the aggregate, the space guarantees for the volume are automatically re-enabled.
Note
FlexCache volumes cannot be brought online if there is insufficient space in the aggregate to fulfill their space guarantee.
For more information about FlexCache volumes, see Managing FlexCache volumes.
To bring a FlexVol volume online when there is insufficient storage space to fulfill its space guarantees, complete the following step.
| 1 |
vol_name is the name of the volume you want to force online. |
Copyright © 1994-2005, Network Appliance, Inc. All rights
reserved.
Part No. 210-01085_B0
File: 6vol28.htm
Last updated: 01-Dec-2005 16:51:37