Skip to main content
NetApp Knowledge Base

Discrepancies in Used Size Between 'volume show'and 'lun show' and 'df' Commands

Views:
145
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
CORE
Last Updated:

Applies to

  • ONTAP 9
  • iSCSI LUNs
  • Thick Provisioning
  • Deduplication and Compression
  • Only one LUN exists in the volume

Issue

There are discrepancies in the reported used size between the volume show, lun show, and df commands. 
Some volumes show consistent used sizes across these commands, while others do not.
 
Example:

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% ---

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.