在文件上设置 atime 为 -2 时,访问 CIFS 共享的应用程序可能会失败
适用于
- ONTAP 9
- CIFS
问题描述
- 应用程序无法将日志文件写入 ONTAP CIFS 共享
- 客户端在文件句柄上将 atime 值设置为 -1,然后在同一文件句柄上将 atime 值设置为 -2 并接收到
STATUS_UNSUCCESSFUL错误。
来自数据包跟踪的示例
10.6.1.123 10.6.4.28 SMB2 SetInfo Request FILE_INFO/SMB2_FILE_BASIC_INFO File: PATH\TO\FILE\file1.ext
SetInfo Request (0x11)
[Filename: PATH\TO\FILE\file1.ext]
StructureSize: 0x0021
Class: FILE_INFO (0x01)
InfoLevel: SMB2_FILE_BASIC_INFO (0x04)
Setinfo Size: 40
Setinfo Offset: 0x0060
Reserved: 0
Additional Info: 0x00000000
GUID handle File: PATH\TO\FILE\file1.ext
SMB2_FILE_BASIC_INFO
Create: No time specified (0)
Last Access: Not representable >>>>>>>> (i.e. 0xfffffffe)
Last Write: No time specified (0)
Last Change: No time specified (0)
File Attributes: 0x00000000
Reserved: 00000000
10.6.4.28 10.6.1.123 SMB2 SetInfo Response, Error: STATUS_UNSUCCESSFUL