I'm trying to mount a CIFS share, which I've entered in /etc/fstab, but I receive the following error when I try to mount it:
I triple-checked all paths, credentials, etc. - and they were correct.mount error(2): No such file or directory
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
[SOLUTION]
I tried to mount a subfolder within the samba/cifs share, and there seems to be a problem with that.
So, I've removed the subfolder from the mount parameter and it worked.
Here are bogus fstab example lines:
Code: Select all
//server_name/share/subfolder /mnt/whatever cifs noauto,...
After removing the subfolder after the "share" name, The share can be mounted without problems:
Code: Select all
//server_name/share /mnt/whatever cifs noauto,...