I want to have a network share available for two clients (Raspberry Pi). I have setup both with the same fstab entry, mount point / permissions and credentials.
One of the clients mounts the share at startup without issue, while the other throws errors in dmesg and a `mount -a` gives:
Code:
root@EMK-RPi2:~# mount -a
Retrying with upper case share name
mount error(6): No such device or address
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
A mount via `mount -t cifs` fails as well. I
can start `smbclient` and mount the share with it, though.
Software on both is different since they serve different purposes:
*** Working:
Code:
dpkg -l samba*
ii samba 2:4.1.17+dfsg-2 armhf SMB/CIFS file, print, and login server for Unix
ii samba-common 2:4.1.17+dfsg-2 all common files used by both the Samba server and client
ii samba-common-bin 2:4.1.17+dfsg-2 armhf Samba common files used by both the server and the client
ii samba-dsdb-modules 2:4.1.17+dfsg-2 armhf Samba Directory Services Database
ii samba-libs:armhf 2:4.1.17+dfsg-2 armhf Samba core libraries
ii samba-vfs-modules 2:4.1.17+dfsg-2 armhf Samba Virtual FileSystem plugins
pi@EMK-RPiBv1:~$ dpkg -l cifs*
ii cifs-utils 2:6.4-1 armhf Common Internet File System utilities
pi@EMK-RPiBv1:~$ dpkg -l smbclient
ii smbclient 2:4.1.17+dfsg-2 armhf command-line SMB/CIFS clients for Unix
***
Not working:
Code:
root@EMK-RPi2:~# dpkg -l samba*
ii samba-common 2:4.1.17+dfsg-2 all common files used by both the Samba server and client
ii samba-libs:armhf 2:4.1.17+dfsg-2 armhf Samba core libraries
root@EMK-RPi2:~# dpkg -l cifs*
ii cifs-utils 2:6.4-1 armhf Common Internet File System utilities
root@EMK-RPi2:~# dpkg -l smbclient
ii smbclient 2:4.1.17+dfsg-2 armhf command-line SMB/CIFS clients for Unix
So, the non-working installations has the dsdb and vfs modules missing, and also the samba-common-bin.
But for a client-only role, I thought that what is installed is enough. Is this wrong? What do I need to install in addition for a samba client only, and why?