(索引节点数不足)错误—AutoSupport 消息
适用场景
- ONTAP 9
- 灵活卷(FlexVol)
- HA组通知(索引节点不足)错误
事件摘要
- 如果卷的索引节点不足、而索引节点指向单个文件、其他类型的文件和目录、则会出现此消息。
- 当卷的索引节点用尽时、在增加索引节点数或释放现有索引节点之前、无法在此卷中创建更多文件。
验证
在事件日志中标识卷
- 运行以下命令:
::>event log show -severity error -message-name *inodes:*
- 确认此事件存在:
[node1: wafl_exempt12: wafl.vol.outOfInodes:error]: file system on Volume volume1@vserver:bf5f-00a0989c3f7e 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
或者、通过命令行界面查询来标识卷
在ONTAP 中、您可以使用以下命令在高级权限模式下查看每个卷的索引节点数:
::>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
备用命令
df -i volume_name (
使用事件日志中标识的卷运行)
::> df -i volume1
Filesystem iused ifree %iused Mounted on
/vol/volume1/ 30646220 0 100% /home
解决方法
请参见 如何增加灵活卷的最大文件数
追加信息