VMware shows inaccurate space compared to storage when using thin provisioning
Applies to
- ONTAP 9.x and above
- VMware ESXi
- THIN provisioned LUNs
Issue
- VMware Datastore shows the correct size and usage but NetApp shows incorrect LUN free space.
- Deleting files or VMs on VMware does not return space to the LUN or volume, and the space shows as full.
- Lun shows full in the ASUP as per
df
Log-
df output-
/vol/vol1/lun1 8847884288 8847884288 0 100% /vol/vol1/
EMS
reports events related to insufficient space and lun offline events-
Sun Jul 21 01:45:21 +0800 [NetApp-01: wafl_exempt13: wafl.vol.full:alert]: Insufficient space on volume volnetapp@vserver:22b8374a-013d-11ef-a3bd-xxxxxxxxx to perform operation. 68.0KB was requested but only 1.00KB was available.
Sun Jul 21 05:31:59 +0800 [NetApp-01: VdomFSMThr_06: LUN.out.of.space:EMERGENCY]: LUN /vol/vol1/lun1, vol vol1 (DSID 10xx) is out of space (UUID: f53f44f5-b2b2-4b7d-9d8e-595e128xxxx).
Sun Jul 21 05:39:40 +0800 [NetApp-01: wafl_spcd_main: monitor.volumes.one.ok:debug]: Volume volnetapp@vserver:22b8374a-013d-11ef-a3bd-xxxxxxxxx is OK.
Sun Jul 21 05:39:43 +0800 [NetApp-01: VdomFSMThr_08: LUN.online:notice]: LUN /vol/vol1/lun1, vol volnetapp (DSID 10xx) was brought online (UUID: f53f44f5-b2b2-4b7d-9d8e-xxxxxxxxxxxx).
Sun Jul 21 05:49:43 +0800 [NetApp-01: wafl_exempt01: wafl.spacemgmnt.policyChg:notice]: The space management policy for volume volnetapp has changed: autosize volume maximum size 322122547200KB.
Sun Jul 21 05:49:43 +0800 [NetApp-01: wafl_exempt15: wafl.spacemgmnt.policyChg:notice]: The space management policy for volume volnetapp has changed: autosize state enabled.
Sun Jul 21 05:49:44 +0800 [NetApp-01: wafl_exempt01: wafl.inode.fill.disable:debug]: fill reservation disabled for inode 96 (vol volnetapp).
Sun Jul 21 05:49:53 +0800 [NetApp-01: VdomFSMThr_03: LUN.offline:notice]: LUN /vol/vol1/lun1, vol volnetapp (DSID 10xx) was brought offline (UUID: f53f44f5-b2b2-4b7d-9d8e-595e12885c6b).'
Sun Jul 21 05:50:00 +0800 [NetApp-01: VdomFSMThr_12: LUN.online:notice]: LUN /vol/vol1/lun1, vol volnetapp (DSID 10xx) was brought online (UUID: f53f44f5-b2b2-4b7d-9d8e-595e128xxxx).