跳转到主内容

数据分类无法添加要扫描的 CIFS 共享,出现连接错误

Views:
537
Visibility:
Public
Votes:
0
Category:
cloud-manager
Specialty:
ds_dc
Last Updated:

适用于

  • NetApp Console Agent
  • NetApp Data Classification(前称为 Data Sense)
  • Cloud Volumes ONTAP (CVO)
  • CIFS 

问题

  • 数据分类无法扫描 CIFS 共享并显示错误: 请检查分类实例与卷之间的网络连接 即使网络连接已到位
  • 无论出现什么错误,都可以添加共享,但扫描将不起作用。
  • datasense_celery_dirlist_worker from Classification 日志显示以下内容:
datasense_celery_dirlist_worker.0.xxxxxxxxxxxx@cloudcompliance   | datasense.data_providers.consts.MountShareNotExistError: Failed to connect share //data_lif_IP/cifs_share_name: No such file or directory
  • 在分类实例上手动挂载 CIFS 共享失败,出现错误 1:
log v1.0 | 2024-09-05 07:02:06,191 | WARNING | ds_logger | utils | 21 | xxxxxxx | None | utils_21 | Error while executing cmd '['nsenter', '-t', 'xxxxxxx', '-m', '-p', '-n', 'timeout', '21', '/sbin/mount.cifs', '-o', 'credentials=/tmp/tmpxxxxxxxx/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx,rw,soft,nobrl,nounix,vers=2.0,iocharset=utf8', '//data_lif_IP/cifs_share_name', '/tmp/mounts/pid_xxxx/data_lif_IP/cifs_share_name']' mount error(22): Invalid argument Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
  • 在分类实例上手动挂载 CIFS 共享失败,出现错误 2:

datasense_celery_dirlist_worker.0.xxxxxxxxxxxx@cloudcompliance | datasense.data_providers.consts.MountError: Error while executing cmd '['/data/tools/3rd/docker/docker', 'inspect', '--format', '{{.State.Pid}}', '0c11bffeb72e']', stdout:
datasense_celery_dirlist_worker.0.xxxxxxxxxxxx@cloudcompliance | stderr:Error response from daemon: client version 1.41 is too old. Minimum supported API version is 1.44, please upgrade your client to a newer version

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.