Discrepancies in Used Size Between 'volume show'and 'lun show' and 'df' Commands
Applies to
- ONTAP 9
- iSCSI LUNs
- Thick Provisioning
- Deduplication and Compression
- Only one LUN exists in the volume
Issue
volume show, lun show, and df commands. Cluster::> vol show -vserver svm-iscsi
Vserver Volume Aggregate State Type Size Available Used%
--------- ------------ ------------ ---------- ---- ---------- ---------- -----
svm-iscsi vol1 aggr1 online RW 3.52TB 1.78TB 36%
svm-iscsi vol2 aggr1 online RW 963.6GB 425.1GB 50%
Cluster::> lun show -fields size,size-used
vserver path size size-used
-------------- ------------------------ ------ ---------
svm-iscsi /vol/vol1/lun01 1.76TB 1.39TB
svm-iscsi /vol/vol2/lun01 440GB 1.86GB
Cluster::> df -h -vserver svm-iscsi
Filesystem total used avail capacity Mounted on
/vol/vol1/ 2883GB 1059GB 1823GB 36% ---
/vol/vol1/.snapshot 720GB 3068MB 717GB 0% ---
/vol/vol2/ 867GB 442GB 425GB 50% ---
/vol/vol2/.snapshot 96GB 0B 96GB 0% ---
