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

NFSv3クライアントとCIFSクライアントでのファイルロックの影響

Views:
97
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
nas
Last Updated:

すべてのとおり  

環境

  • ONTAP 9
  • Data ONTAP 8 7-Mode

回答

:マルチプロトコルアクセス(CIFSとNFS)のような、より複雑なシナリオについては、ここでは説明しません。

  • Network File System(NFS)クライアントによって設定されたロックは強制されません
    • クライアントは、ロックをチェックしてロックを監視するかどうかに応じて、ロックされたファイル、またはロックされたファイルの一部にアクセスできます
    • これはNLMを使用する環境 NFSv3のみですが、 NFSv4には必須のロックインフラがあります
  • CIFS / SMBクライアントによって設定されたロックが適用されます
    • ロックは、クライアントがロックをチェックするかどうかに関係なく、クライアントに適用されます。
    • ロックが存在する場合、クライアントはロックに従ってアクセスのタイプを拒否されます。
  • dumpData ONTAP 8 7-Modeでこのコマンドを実行した場合、ファイルロックは無視されてダンプまたはNDMPバックアップが終了します。
ONTAP はどのようにしてロックを追跡しますか?
  • ロックマネージャ(LMGR)は、同時アクセスを管理するためにファイルロックを実装するONTAP サブシステムです。
    • どのファイルが開いているか、どのロックが許可されているかを追跡します。
    • この処理は、ONTAP のデータ/ WAFLレイヤで行われます
  • ONTAP 9クラスタの各ノードで独自のロックマネージャが実行され、ノードが所有するアグリゲートにあるボリュームを管理します。
    • 注: 7-Modeではコントローラごとに異なります
  • これらのタスクを実行するために、一連のメモリ構造(オブジェクト)がロックマネージャに割り当てられます。これらの構造の量は、ストレージコントローラに取り付けられているメモリの量によって異なり、固定されます。
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.