メインコンテンツへスキップ

フレキシブルボリュームの最大ファイル数を増やす方法

Views:
6,158
Visibility:
Public
Votes:
4
Category:
ontap-9
Specialty:
Core
Last Updated:

環境

  • ONTAP 9
  • フレキシブルボリューム(FlexVol)
  • 最大inode数(maxfiles)

説明

この資料では、Flexibleボリュームのファイル(inode)の最大数を増やす方法について説明します。

Error message: no space left on the device

Error message: file system is out of inodes
wafl.vol.outOfInodes: file system on Volume vol_test1@vserver:vserver_1 is out of inodes because it has reached the maximum number of files

wafl.vol.runningOutOfInodes: The file system on Volume vol1@vserver:20884ed5-68e5-11ea-a757-00a098c4fca2 is using 80 percent or more of the files that can be contained on the volume.

INODE: System/Cluster Notification from filer (OUT OF INODES) ALERT

手順

ボリュームを拡張するか最大inode容量を拡張するかを決定する
  • ボリュームのサイズを増やすと、使用可能なinodeの数が増える可能性があります。
  • ボリュームを拡張できない場合は 、 volume modify コマンドを使用してinode容量を拡張します。
inode容量を手動で拡張する
  1. 既存のワークロードの場合、現在のinode容量を一度に2%ずつ増やすのがベストプラクティスです。移行の場合は、ソースファイル数より2%多い値を設定します。新規ファイルの増加率が高い場合は、2%以上高い値に設定することも可能です。 
  • (現在のinode容量x 2%)+現在のinode容量=新しいinode容量

(35501358 x 2%)+ 35501358 =36211385

  1. ボリュームを変更して inode容量(-files )を拡張します。

volume modify –vserver <vserver name> -volume <volume name> -files <number of files>

::> volume modify -vserver svm1 -volume vol1 -files 36211385 Volume modify successful on volume vol1 of Vserver svm1. ::> volume show -vserver svm1 -volume vol1 -fields files vserver volume files ------- ------ -------- svm1 vol1 36211385

  • inode容量がボリュームサイズあたりの最大値に設定されている場合は、削除するファイルを選択するか、ボリュームサイズを増やす必要があります。
  • 指定した新しいサイズがボリュームで対応可能なサイズよりも大きい場合、ONTAPは可能な最大値を報告します。

::*> vol modify -vserver svm1 -volume vol1 -files 125000000                                   
Error: command failed: Unable to set volume attribute "files" for volume "vol1" on Vserver
      "svm1". Reason: The value you entered (125000000) is invalid; maximum inode count cannot
       exceed 124518391.
       Cannot support more than one inode per 4 KB of disk space.

 

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.