Skip to main content
NetApp Knowledge Base

Data Classification fails to add CIFS share to scan with connectivity errors

Views:
992
Visibility:
Public
Votes:
0
Category:
cloud-manager
Specialty:
ds_ct
Last Updated:

Applies to

  • NetApp Console Agent
  • NetApp Data Classification (Formerly known as Data Sense)
  • Cloud Volumes ONTAP (CVO)
  • CIFS 

Issue

  • Data Classification fails to scan CIFS shares and gives error : Check network connectivity between the Classification instance and the volume even though network connectivity is in place.
  • The share may be added regardless of the errors, but scanning will not work.
  • datasense_celery_dirlist_worker from Classification logs show the following:
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
  • Manual mounting of CIFS share on classification instance fails with error 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)
  • Manual mounting of CIFS share on classification instance fails with error 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.