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

oplockによるoplock遅延が原因のCIFSクライアントアクセスの問題のトラブルシューティング方法

Views:
906
Visibility:
Public
Votes:
0
Category:
data-ontap-8
Specialty:
nas
Last Updated:

のとう

のとう

環境

  • Data ONTAP 8.2 7-Mode
  • Data ONTAP 8.1 7-Mode
  • Data ONTAP 7 以前

説明

oplock遅延ブレークAccess Deniedは、通常、エンドユーザがストレージシステムにエラーまたは一般的な接続の問題を報告したあとにストレージシステムのメッセージログに表示されます。エラー自体には、ストレージシステムの問題 が含まれているわけではありません。実際、クライアントに関連付けられている問題 はストレージシステムから報告されています。oplockの遅延解除メッセージについて理解するには、oplockの仕組みを理解することが重要です。

oplock の一般的なフローは次のとおりです。

  1. Client1が、 \storage systemsharefile1 バッチまたは排他的なoplockを要求して開きます
  2. ストレージシステムは、ファイル 1 のバッチまたは排他的な oplock を client1 に応答します
  3. client2 は \storage systemsharefile1、バッチまたは排他的 oplock の要求を開こうとします
  4. ストレージシステムは、Client2へのオープン要求を保持し、すべてのロックをフラッシュするように要求するoplock Break要求をClient1に送信します
  5. Client1は、oplock break要求によるキャッシュのフラッシュに応答します
  6. ストレージシステムは、適切なロックを使用してクライアント 2 にオープンを許可します

上記の例では、手順4でストレージシステムがClient1にoplock Break要求を送信すると、35秒タイマーが開始されます。Client1が35秒以内にoplock break要求に応答しない場合、ストレージシステムは次の3つの処理を行います。

  1. 問題のクライアントのIPアドレスを含むoplock Delayed Breakメッセージをsyslog
    の例に記録します。
    Sun Nov 1 09:51:29 CET [srv123@ntap1:cifs.oplock.break.timeout:warning]: CIFS: An oplock break request to station <IP>()
  2. Client1のファイルに関連付けられているロックを強制的にクリーンアップします
  3. Client2にオープン応答を付与します

oplockの遅延ブレークはクライアントの問題を示すものであるため、トラブルシューティングにはクライアントに重点を置く必要があります。クライアントが oplock ブレーク要求に応答しない一般的な理由は、次の 3 つです。

  1. クライアントが異常にリブートし(ブルースクリーンなど)、ファイルがロックされていると判断されなくなりました。
  2. クライアントにストレージシステムへの開いている接続が多すぎるため、oplock break要求に応答できません。
  3. クライアントとストレージシステムの間にネットワーク接続の問題があり、クライアントによるoplock break要求の受信を阻害しています。

 

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

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.