Classification : CIFS file share keeps failing with retry
Applies to
- BlueXP Classification
- BlueXP
- CIFS Shares
Issue
Mapping/Classification of CIFS shares on classification UI keeps failing with
retry error while manual mount is working fineCause
Classification system is not able to mount cifs on UI due to some missing kernel modules and throwing below error :
log v1.0 | 2025-01-29 14:22:34,316 | WARNING | ds_logger | utils | 21 | 9022 | None | utils_21 | Error while executing cmd '['nsenter', '-t', '15271', '-m', '-p', '-n', 'timeout', '21', '/sbin/mount.cifs', '-o', 'rw,soft,nobrl,nounix,vers=3.0,iocharset=utf8,credentials=/tmp/tmpf9khkgoa/efd8e9b0-2f16-4420-85f1-d62605fc7204', '//XX.XX.XX.XX/volume_nam_321_share', '/tmp/mounts/pid_52375/XX.XX.XX.XX/volume_nam_321_share']' mount error(79): Can not access a needed shared library
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg)Solution
Installing the below missing package fixed the issue :
$sudo apt install linux-modules-extra-$(uname -r)Partner Notes
partnerNotes_text
Additional Information
additionalInformation_text
Internal Notes
internalNotes_text
