跳转到主内容

(OUT OF INODES) 错误 - AutoSupport 消息

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

适用于

  • ONTAP 9
  • 灵活卷 (FlexVol)
  • HA 组通知(超出 INODES)错误

事件摘要

  • 当卷的 inode 不足时会出现此消息,inode 是指单个文件、其他类型的文件和目录。
  • 当卷用完索引节点时,在增加索引节点数量或释放现有索引节点之前,无法在该卷中创建更多文件。

验证

方法 1:识别事件日志中的卷
  1. 运行以下命令:

::>event log show -severity error -message-name *Inodes*

  1. 确认此事件存在:

[node1: wafl_exempt12: wafl.vol.outOfInodes:error]: file system on Volume volume1@vserver:bf5f-00a0989xxxxx is out of inodes because it has reached the maximum number of files
[node1: wafl_exempt12: callhome.no.inodes:error]: Call home for OUT OF INODES

方法 2:通过 CLI 查询识别卷
  • 在 ONTAP 中,您可以在高级权限模式下使用以下命令查看每个卷的 inode 计数:

::>set advanced

::*> volume show -volume <Vol name> -fields size, files,files-used,files-maximum-possible

示例:

::> set advanced
::*> volume show -volume vol1 -fields size, files,files-used,files-maximum-possible

vserver volume size files files-used files-maximum-possible
------- ------ ----- -------- ---------- ----------------------
svm1 vol1 500GB 15564791 96 124518391

  • files - inode 容量(允许的最大文件数)
  • files-used - 卷中使用的文件数
  • files-maximum-possible - 每个卷大小允许的最大 inode 容量
  • 作为备用命令,运行df -i volume_name(使用事件日志中标识的卷)

::> df -i volume1
Filesystem iused ifree %iused Mounted on
/vol/volume1/ 30646220 0 100% /home

解决方法

 

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.