Table of ContentsView in Frames

Enabling guarantees for FlexVol volumes

When a volume’s guarantee is disabled, the volume functions as though it has a guarantee of none. If you have volumes with disabled guarantees, you should address the situation by making more space available to those volumes as soon as possible.

Before you begin

The FlexVol volume must be online.

About this task

Enabled guarantees preallocate space in the aggregate. In volumes with disabled guarantees, operations that require space, such as writes and even deletions, might be disallowed. If a volume's guarantee becomes disabled, you should reenable the guarantee to be able to manually increase the volume size. Volumes with a disabled guarantee and the autogrow feature enabled can still automatically increase in size.

You can view the status of the volume's guarantee first or try to enable the guarantee. If enabling the guarantee fails, Data ONTAP provides the reason (typically insufficient space) and specifies the amount of free space needed in the aggregate. A guarantee type of none is never disabled, because there is no space allocated for this guarantee type.

You can set a volume's guarantee to none. In this case, there is no concept of enabled or disabled, because the guarantee requires no space.

Steps

  1. Optional: View the status of the volume’s guarantee by using the vol status command.
    If it is not disabled, it will not be listed in the Options column.

    If you want to see both the type of guarantee and also whether it is disabled, you can use the vol options command.

    In the command output, look for the guarantee type or whether the guarantee is disabled.

    Example
    The following vol status command displays the status of the guarantee for a volume called vol2. The Options column displays the guarantee because it is disabled.
    sys1> vol status vol2
             Volume State           Status                Options         
               vol2 online          raid_dp, flex         guarantee=volume(disabled)     
                                    64-bit            
    

    The following vol options command displays the type of guarantee and whether it is disabled for a volume called vol2.

    sys1> vol options vol2
    nosnap=on, nosnapdir=off, minra=off, no_atime_update=off, nvfail=off, 
    ignore_inconsistent=off, snapmirrored=off, create_ucode=off, 
    convert_ucode=off, maxdirsize=41861, schedsnapname=ordinal, 
    fs_size_fixed=off, guarantee=volume(disabled), svo_enable=off, 
    svo_checksum=off, svo_allow_rman=off, svo_reject_errors=off, 
    no_i2p=off, fractional_reserve=100, extent=off, try_first=volume_grow, 
    read_realloc=off, snapshot_clone_dependency=off, dlog_hole_reserve=off,
    nbu_archival_snap=off
    
    The output displays the guarantee type and whether the guarantee is enabled or disabled for the specified volume.
  2. Enable or reenable the guarantee.

    Use the vol options command with the guarantee option set to the existing guarantee type. If you specify a different guarantee than the one currently configured for this volume, Data ONTAP changes the guarantee to the one you specify and enables that guarantee.

    The guarantee is enabled, or you receive an error message that tells you how much space you need to create in the aggregate before the guarantee can be enabled.
  3. If there is not enough space in the aggregate to enable the guarantee, you must create more space.
    Example
    The following is an example of an error message displayed when trying to enable a guarantee for a volume named testvol:
    sys1::> vol options testvol guarantee volume
    vol options: Request to enable guarantee for this volume failed because 
    there is not enough space in the aggregate. Create 4.79MB of free space 
    in the aggregate.
    
  4. Try to enable the guarantee again, and view the command output to see whether the guarantee is now enabled.
    If the guarantee is still not enabled, you must try another method of creating more space.