跳转到主内容

Linux SMBClient 下载文件失败、并显示错误 "Getattrib : NT_STATE_NOT _SUPENTRICATED "

Views:
53
Visibility:
Public
Votes:
0
Category:
data-ontap-8
Specialty:
cifs
Last Updated:

适用于

  • NetApp Data ONTAP 以 7 模式运行
  • 选项 cifs.smb 2. 启用
  • Linux SMBClient

问题

  • 下载文件时,使用以下命令失败并显示错误“getattrib: NT_STATUS_NOT_SUPPORTED”。

示例:

[root@centos-02 ~]# smbclient //10.128.242.240/vol_test -U domain\\user Password -D "\\qtree_test" -c "get test.txt"
getattrib: NT_STATUS_NOT_SUPPORTED

  • 从数据包的角度来看、在SMB2_FILE_ALL_INFO发出上述命令时、 SMBClient 会发送该命令、但在以 7- 模式运行的 Data ONTAP 中不支持该命令。

示例:

2020-05-13 13:58:18.197617 0.000356 10.128.242.31 10.128.242.240 SMB2 0 GetInfo Request FILE_INFO/SMB2_FILE_ALL_INFO File: qtree_test\test.txt
2020-05-13 13:58:18.197644 0.000027 10.128.242.240 10.128.242.31 SMB2 0 GetInfo Response, Error: STATUS_NOT_SUPPORTED

 

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

New to NetApp?

Learn more about our award-winning Support

Scan to view the article on your device