メインコンテンツまでスキップ

maxdirsizeの問題を回避するために、どのディレクトリ構造を使用する必要がありますか。

Views:
168
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
core
Last Updated:

 

環境

  • ONTAP 9
  • Cloud Volumes ONTAP
  • Data ONTAP 8
  • 最大ディレクトリサイズ

回答

ファイル数が多いディレクトリのパフォーマンスへの影響を抑えるには、ファイルシステム内のより多くのディレクトリにファイルを分散させる方法が最善です。

  • 新しいプラットフォームではより多くのメモリとCPU容量が提供され、AFF システムではファイル数の多い環境でパフォーマンスを向上できます。
  • 1つのフォルダに数百万のファイルが1つのレベルで格納されている場合、maxdirsize値はフラットディレクトリ構造を使用する場合に注意する必要があります。
  • ファイル、フォルダ、サブフォルダが混在しているフォルダ構造は、maxdirsizeにはあまり影響しません。
ディレクトリ構造には、いくつかの方法論があります
  • 最高のパフォーマンスを得るためには、ONTAP でフラットなディレクトリ構造をできるだけ使用しないようにしてください。
  • ファイルまたはフォルダのパス長がNASプロトコル標準を超えない限り、ワイドまたはディープディレクトリ構造が最適に機能します。 
ディレクトリ構造(Directory Structure) レイアウト 推奨
フラットディレクトリ構造

多数のファイルを含む単一のディレクトリ

maxdirsizeの問題 maxdirsizeの問題
ワイドディレクトリ構造

多くのトップレベルディレクトリでは、ファイルはディレクトリに分散しています。

maxdirsizeの問題 maxdirsizeの問題
深いディレクトリ構造

最上位ディレクトリの数は少なくなりますが、多くのサブフォルダがあり、ファイルはディレクトリ間に分散されます。

maxdirsizeの問題 maxdirsizeの問題
  • フラットディレクトリ構造が避けられない場合は、ボリュームのmaxdirsize値に十分注意し、必要に応じて値を増やします。
  • NFSパスの長さはクライアントOSによって定義されます。
  • SMBパスの長さについては 、このMicrosoft Dev Centerリンク参照してください。

 

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.

 

  • この記事は役に立ちましたか?