I am having an error when trying to mount windows share using csi driver. Something is wrong with my mount options/mount folder name (the name contain a space character: [company.com/share_folder/[Decision\040Science/science]). How can I identify the space character in order to mount it properly?
Pod Description:
Normal Scheduled 12m default-scheduler Successfully assigned mts/deployment-smb-5749bf75dc-xbphg to node4
Warning FailedMount 82s (x5 over 10m) kubelet Unable to attach or mount volumes: unmounted volumes=[smb], unattached volumes=[smb kube-api-access-4qk8q]: timed out waiting for the condition
Warning FailedMount 11s (x14 over 12m) kubelet MountVolume.MountDevice failed for volume "pv-smb" : rpc error: code = Internal desc = volume(cifs-volume) mount "//my-company.com/share_folder" on "/var/lib/kubelet/plugins/kubernetes.io/csi/pv/pv-smb/globalmount" failed with mount failed: fork/exec /bin/mount: invalid argument
Mounting command: mount
Mounting arguments: -t cifs -o dir_mode=0770,file_mode=0770,uid=1002,gid=1002,vers=2.0,noperm,nounix,iocharset=utf8,<masked> my-company.com/share_folder /var/lib/kubelet/plugins/kubernetes.io/csi/pv/pv-smb/globalmount
Hello!
I am having an error when trying to mount windows share using csi driver. Something is wrong with my mount options/mount folder name (the name contain a space character: [company.com/share_folder/[Decision\040Science/science]). How can I identify the space character in order to mount it properly?
Pod Description:
logs of the smb-controller: