Table of ContentsView in Frames

Enabling the space_alloc option

If a LUN runs out of space and the containing volume cannot automatically grow more, the LUN goes offline. To keep a LUN online, you should set the LUN option space_alloc to enable.

About this task

The LUN option –space_alloc is set to disable by default. If you leave this option set to disable, then the LUN goes offline when the volume runs out of space and is not permitted to grow. If you set this option to enable, Data ONTAP notifies the host that the LUN has run out of space. However, the LUN stays online. The host cannot write to the LUN, but the host can still read the LUN.

Steps

  1. To enable space alloc, enter the following command:
    lun set space_alloc /vol/vol0/lun_name enable

    Example

    system1> lun set space_alloc /vol/vol0/lun1 enable
    system1> lun set space_alloc /vol/vol0/lun1
    Reporting of space allocation events is enabled
    

  2. Rescan/Remount the LUN so that the change to space_alloc option is reflected on the host.