跳转到主内容

允许的最大索引节点数略低于指定值

Views:
12
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
core<a>2009年194210年</a>
Last Updated:

适用场景

ONTAP 9

问题描述

卷上允许的最大索引节点数可以等于或略低于指定值(maxfiles)。 
  • 允许的最大索引节点数等于指定值(maxfiles)。 

cluster1::> volume modify -vserver svm1_cluster1 -volume vol_inode -files 80000
Volume modify successful on volume vol_inode of Vserver svm1_cluster1.

cluster1::> volume show -volume vol_inode -fields files
vserver     volume   files
------------- --------- -----
svm1_cluster1 vol_inode 80000

cluster1::> df -i vol_inode
Filesystem         iused    ifree  %iused  Mounted on          Vserver
/vol/vol_inode/       96   79904   0%  ---             svm1_cluster1

 

注:

  • 允许的最大索引节点数从 df -i 等于 iused 和之和 ifree
  • 在这种情况 volume showdf -ivolume modify下、和中允许的最大索引节点数等于中指定的值80000。 

 

  • 允许的最大索引节点略小于指定值

cluster1::> volume modify -vserver svm1_cluster1 -volume vol_inode -files 110000
Volume modify successful on volume vol_inode of Vserver svm1_cluster1.

cluster1::> volume show -volume vol_inode -fields files
vserver     volume   files
------------- --------- ------
svm1_cluster1 vol_inode 109991

cluster1::> df -i vol_inode
Filesystem         iused    ifree  %iused  Mounted on          Vserver
/vol/vol_inode/       96  109895   0%  ---             svm1_cluster1

 

注:

  • 在这种情况下、maxfiles设置为110、000。
  • 中显示的最大允许索引节点 volume show 数为109991、比指定值少9个。
  • 中显示的最大允许索引节点 df -i数也为96 + 109895 = 109991。 

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.

 

  • 这篇文章对您有帮助吗?