CIFSロックが原因でNTFSボリュームへのアクセス中にNFSクライアントが断続的に権限拒否エラーを取得する
環境
- ONTAP 9以降
- CIFSロック
- NFS
問題
- NTFSボリューム上のディレクトリ/ファイルの名前を変更しているときにUNIXサーバで断続的に権限拒否エラーが発生する。
- sectraceで、次のエラーに気付きました。
vs1 1 Security Style: NTFS and Access is allowed because
NT ACL explicit ACE grants requested
access. Access is denied. The
requested permissions are not
granted by the ACE while
checking parent's modebits
during delete. Access is not
granted for: "Execute",
"Write"
Protocol: nfs
Volume: vol1
Share: -
Path: /dir1/dir2/dir3/dir4
Win-User: -
UNIX-User: 12345
Session-ID: -
- packet trace show rename操作が、access deniedエラーで失敗しています。
- CIFSクライアントおよびクライアントによってすでに開かれているファイル/ディレクトリに共有ロックが設定されました:
::>vserver locks show -vserver vs1 -path /vol1/dir1/dir2/dir3/dir4/file -instance
Notice: Using this command can impact system performance. It is recommended
that you specify both the vserver and the volume when issuing this command to
minimize the scope of the command's operation. To abort the command, press Ctrl-C.
Vserver: vs1
Volume: vol1
Logical Interface: data_lif1
Object Path: /vol1/dir1/dir2/dir3/dir4/file
Lock State: granted
Shared Lock Access Mode: read-deny_none
Shared Lock is Soft: false
Client Address: 10.1.2.3
Client Address Type: ipv4