Skip to main content
NetApp Knowledge Base

Write to space-reserved LUN fails due to volume runs out of free space

Views:
1,329
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
core
Last Updated:
3/24/2025, 12:06:44 PM

Applies to

  • AFF systems
  • ONTAP 9

Issue

  • iSCSI volume disconnects unexpectedly from SQL cluster nodes.
  • Space-reserved LUN with semi-thick volume configuration:
    • Volume guarantee=Volume
    • Fractional reserve=0
    • Storage efficiency is disabled
    • No snapshots
    • Autosize settings: mode=off
  • The "user-data" exceeds the LUN size, and they occasionally run into the write failures because of the volume being full.

Example:
 
[Node01: wafl_spcd_main: monitor.volume.full:debug]: Volume Vol1@vserver:XXXXX is full (using or reserving 98% of space and 0% of inodes).
[Node01: wafl_exempt00: wafl.vol.full:alert]: Insufficient space on volume Vol@vserver:XXXXX to perform operation. 64.0KB was requested but only 1.00KB was available.
[Node01: wafl_exempt00:wafl.write.fail.spcres:error]: Write failed to file with space reservations due to lack of disk space in volume Vol1@vserver:XXXXX(guarantee volume, inode 96, offset 22128820224, len 65536)
 
::> df -h -vserver vs01 -volume Vol1
Filesystem          total  used   avail  capacity  Mounted on Vserver
/vol/Vol1/          315GB  315GB  0B     100%      /Vol1  vs01
/vol/Vol1/.snapshot 0B     0B     0B     0%        /Vol1/.snapshot  vs01
2 entries were displayed.

::> vol show-space Vol1 -fields performance-metadata,user-data,filesystem-metadata,inodes,total-used,physical-used,logical-used;

vserver volume  user-data filesystem-metadata inodes performance-metadata total-used physical-used logical-used

------- ------- --------- ------------------- ------ -------------------- ---------- ------------- ------------
vs01    Vol1    305.4GB   138.4MB             24KB   9.45GB               315.0GB    288.4GB       315GB

::> lun show -vserver vs01 -path /vol/Vol1/Lun1 -instance
                  Vserver Name: vs01
                      LUN Path: /vol/Vol1/lun1
                  Volume Name: Vol1
                    Qtree Name: ""
                      LUN Name: lun1
                      LUN Size: 300GB
                       OS Type: linux
             Space Reservation: enabled
    Space Reservations Honored: false
              Space Allocation: enabled
                         State: online
    Space Reservations Honored: false
              Space Allocation: enabled
                         State: online
                        Mapped: mapped
Physical Size of Logical Block: 512B
                     Read Only: false
         Fenced Due to Restore: false
                     Used Size: 282.33GB
           Maximum Resize Size: 128TB

 

 

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.