跳转到主内容

对于包含 Windows 稀疏文件的卷, ONTAP df 命令无法正确报告已用大小

Views:
27
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
core<a>2008852791</a>
Last Updated:

适用场景

  • ONTAP 9
  • 空间核算
  • Windows稀疏文件

问题描述

托管稀疏文件(如Microsoft SQL数据库)的卷可使用 volume show-spacevolume show-footprint (但不能使用 df 命令)正确报告其已用物理大小。
 
  • volume show-footprint 输出:

Volume : VOl1_HyV_SQL

Feature                                           Used      Used%
--------------------------------      ----------------      -----
Volume Data Footprint                           4.25TB         7%
Flexible Volume Metadata                        27.0GB         0%
Delayed Frees                                    359GB         1%

Total                                           4.63TB         8%
 
 
  • volume show-space 输出:

Volume : VOl1_HyV_SQL

Feature                                           Used      Used%
--------------------------------      ----------------      -----
User Data                                       56.5TB        94%
Filesystem Metadata                             4.01GB         0%
Inodes                                          6.84MB         0%
Deduplication                                   4.00KB         0%
Quota Metafiles                                 20.0KB         0%
Total                    >>> 56.6TB <<<   94%
Total Physical Used                             4.25TB         7%
Logical Used                                    61.9TB       103%
Logical Available                               3.39TB         6%
 
 
  • df -h 输出:
 
Filesystem                     Total Size  used     avail   capacity
/vol/VOl1_HyV_SQL/   60.00t     56.61t   3.39t   94%
 
 

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.