SUSE 主机的空间回收问题
适用于
- ONTAP 9
- SUSE 主机
问题描述
- 在主机上删除数据后,无法回收卷空间。
- 卷(Space Guarantee=volume)和底层 LUN(space reservation=enabled and space allocation disabled)均已粗调配。
::> lun show -vserver vs -path /vol/vol1/xxx -instance
Space Reservation: disabled
Space Reservations Honored: false
Space Allocation: disabled
::>volume show -vserver vs1 -volume vol1
Space Guarantee Style: volume
Space Guarantee In Effect: true
- LUN 在主机端显示 0B 可用空间,但在存储端,我们没有看到 LUN 已满。
- EMS 报告LUN 的空间错误,但未满。
- 即使客户扩展了卷空间,卷空间仍在继续增长。
Fri Apr 21 12:00:00 IST [NetApp: wafl_exempt05: wafl.spacemgmnt.policyChg:notice]: The space management policy for volume xxx has changed: autosize volume maximum size 15397457760KB.
Fri Apr 21 13:53:00 IST [NetApp: wafl_exempt12: LUN.space.resv.not.honored:notice]: Space reservations in volume xxx (DSID xxx2) are not honored, either because the volume space guarantee is set to 'none' or it is disabled due to lack of space in its containing aggregate.
Sat Apr 22 08:04:00 IST [NetApp: VdomFSMThr_16: LUN.out.of.space:EMERGENCY]: LUN /vol/volx/xxx, vol xxx (DSID xxx2) is out of space (UUID: 9b7d30f5-7583-4aa8-a255-e9ea30fb3xxx).
- 卷 xxx 已过度配置。
- 大小为 14TB 的卷有 14 个 LUN,总大小为 22TB
- 总卷空间为 14.45 TB
- 已用空间为 13.6 TB,可用空间为 1.86 TB
- 卷总共有14个LUN,这些LUN消耗的总空间= 22TB
- 卷详细信息显示'
fractional-reserve
'为 0% ,默认情况下,对于具有space-guarantee volume.
的卷,它应为 100% 。可以使用以下命令验证:vol show -vserver <vserver_name> -volume <vol_name> -fields fractional-reserve, space-guarantee
- Space reservation honored设置为false,根据输出-
lun show -vserver <vserver_name> -volume <volume_name> -fields space-reserve-honored,space-reserve
- 当底层卷的'fractional-reserve'为0%时,厚LUN的'space-reserve-honored'更改为'false'