由于卷的可用空间不足,写入预留空间的 LUN 失败
适用场景
- AFF 系统
- ONTAP 9
问题描述
- iSCSI卷与SQL集群节点意外断开连接。
- 半厚卷配置中预留了空间的LUN:
- 卷保证=卷
- 预留百分比= 0
- 已禁用存储效率
- 无快照
- 自动调整设置:Mode=off
"user-data"超过LUN大小、由于卷已满、它们偶尔会出现写入失败。
[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