跳转到主内容

目录列表显示的已用空间超过NFS配额允许的空间

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

适用场景

  • ONTAP 9
  • NFS配额

问题描述

运行 ls 命令时、目录显示的占用空间可能超过配置的配额允许的空间。

示例:
  • 为50mb配置的配额:
Cluster01::> volume quota report -vserver svm1 -volume vol1
Vserver: svm1
 
----Disk----  ----Files-----  Quota
Volume  Tree    Type   ID     Used  Limit   Used  Limit  Specifier
-------  --------  ------  -------  -----  -----  ------  ------  ---------
vol1   qtree   user   *      0B  50MB    0    -  *
  • 列出目录会显示已用60 MB:
$ ls -l
 
-rw-rw-r-- 1 user1  user1 20480000 Feb 15 17:13 user1_20mb-01.txt
-rw-rw-r-- 1 user1  user1 20480000 Feb 15 17:14 user1_20mb-02.txt
-rw-rw-r-- 1 user1  user1 20480000 Feb 15 17:13 user1_20mb-03.txt
  • 写入文件时、可能会显示类似于以下内容的消息:
cp: failed to close 'user1_20mb-03.txt': Disk quota exceeded

 

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.