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

maxdir-sizeとは何ですか?

Views:
3,099
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
core
Last Updated:

 

環境

  • ONTAP 9
  • Cloud Volumes ONTAP
  • 最大ディレクトリサイズ(maxdir-size)

回答

  • Maxdir-sizeは、各ディレクトリのメタファイルの最大サイズを制限するボリュームオプションです。
  • このメタファイルには、そのディレクトリ内のファイル名が含まれています。
  • maxdir-sizeは、ファイル名の長さに応じて、ディレクトリに格納できるファイルの数を決定します。
  • デフォルトのmaxdir-sizeは、ONTAP 9.14.1以降では320MBです。 
    • 平均ファイル長を78文字と仮定すると、この設定のディレクトリには最大430万個のファイルを格納できます。
    • 各名前はディレクトリ名ファイル内でバイトを消費するため、実際のファイル数はファイル名の長さに依存します。  
  • ほとんどの環境では、この設定を変更する必要はありません。
  • デフォルト値の320MBは増やすことができます。  参照:ONTAP 9でmaxdir-sizeを変更する方法

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.