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

ONTAP 9でmaxdir-sizeを変更する方法

Views:
645
Visibility:
Public
Votes:
1
Category:
ontap-9
Specialty:
core
Last Updated:

環境

概要

  • ディレクトリのファイル名メタファイルが設定された制限を超えると、クライアントに容量不足エラー(ENOSPC)が発行され、イベント管理システムメッセージ(EMS)がトリガーされます。
  • ディレクトリサイズの問題を解決するには、ストレージ管理者はmaxdir-size設定を増やすか、ディレクトリを再構築することができます。

手順

変更前に考慮すべき事項
変更を行う
  1.   高度な権限を設定します。

::> set advanced

  1. 現在の maxdir size を表示します。How to identify the current maxdir-size value for my volume?を参照してください。
  2. 次の式に従って新しい値を計算します。

(maxdir-size × 2%)+ maxdir-size = 新しい値

例:

320 * 2% = 6.4 + 320 = 327
  1. コマンドを使用してmaxdirsizeを増やします。

 volume modify -vserver {NAME} -volume {NAME} -maxdir-size {size}

例:

svm1という名前のStorage Virtual Machine(SVM)上のvol1という名前のボリュームに対して最大ディレクトリサイズを327MBに設定します。

::> set advanced

::*>  volume modify -vserver svm1 -volume vol1 -maxdir-size 327MB

Volume modify successful on volume: vol1
::*> volume show -volume vol1 -fields maxdir-size
(volume show)
vserver volume maxdir-size
------- ------ -----------
svm1     vol1   327MB

注: -maxdir-sizeの値の末尾に「MB」が含まれていることを確認してください

ビデオリファレンス

     

    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.