Write to space-reserved LUN fails due to volume runs out of free space
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.
[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