cifs mount problems
Posted: Tue Jan 07, 2020 6:31 pm
hi everyone
I have a very strange problem:
in my fstab there are a number of lines referring to smb servers, all with the same structure:
everything is working correctly: no one is automatically mounted at boot ("noauto" option), and everyone is mounted if I run mount with the "source" syntax:
.. or with the "target" syntax:
this is true for all the shares...except for one of them, where: is working... while:
IS NOT WORKING and gives the following output:
if I mount it explicitly (i.e. with the "full syntax", without relying to fstab content), with:
, it works as well
It seems that, just for this share, the implicit "source" syntax ("mount <source>") fails, while the other syntaxes are working (both the "explicit" one and the "target" one)
I've tried almost everything found on the internet... no success
any idea?
thanks
rosanna
I have a very strange problem:
in my fstab there are a number of lines referring to smb servers, all with the same structure:
Code: Select all
//192.168.1.2/data2 /mntpoint2 cifs vers=2.0,noauto,credentials=/etc/.xxx,uid=1000,user 0 0
//192.168.1.3/data3 /mntpoint3 cifs vers=2.0,noauto,credentials=/etc/.xxx,uid=1000,user 0 0
//192.168.1.4/data4 /mntpoint4 cifs vers=2.0,noauto,credentials=/etc/.xxx,uid=1000,user 0 0
....
Code: Select all
mount //192.168.1.2/data2
Code: Select all
mount /mntpoint2
this is true for all the shares...except for one of them, where:
Code: Select all
mount /mntpoint4
Code: Select all
mount //192.168.1.4/data4
Code: Select all
mount: //192.168.1.4/data4: No such file or directory
Code: Select all
mount //192.168.1.4/data4 /mntpoint4 cifs vers=2.0,noauto,credentials=/etc/.xxx,uid=1000,user
It seems that, just for this share, the implicit "source" syntax ("mount <source>") fails, while the other syntaxes are working (both the "explicit" one and the "target" one)
I've tried almost everything found on the internet... no success
any idea?
thanks
rosanna