After spending the whole of yesterday trying to get a samba share to work, I now need a bit of help, please.
I keep getting the following error:-
● data-smb-projects.mount - Projects - SMB share Loaded: loaded (/etc/systemd/system/data-smb-projects.mount; enabled; vendor preset: disabled) Active: failed (Result: exit-code) since Fri 2020-09-11 15:28:00 BST; 7s ago Where: /data/smb/projects What: //192.168.1.79/data/projects systemd: Mounting Projects - SMB share... mount: mount error(2): No such file or directory mount: Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg) systemd: data-smb-projects.mount: Mount process exited, code=exited, status=32/n/a systemd: data-smb-projects.mount: Failed with result 'exit-code'. systemd: Failed to mount Projects - SMB share.
Both paths exist and I can cd to them.
TriggeredBy: ● data-projects.automount
Unit File location is
Unit File Contents
[Unit] Description=Projects - SMB share After=network.target [Mount] What=//$server/data/projects Where=/data/smb/projects Type=cifs Options=_netdev,iocharset=utf8,rw,file_mode=0777,dir_mode=0777,user=$user,password=$password,workgroup=WORKGROUP TimeoutSec=30 [Install] WantedBy=multi-user.target
$server I have used my hostname and also tried the ip address like this :-
I have of course searched the forum and also battered my search engine into a cocked hat.