Hi guys,
I seem to have resolved the issue, but I thought that I would post it here in case it may help others.
After updating OSMC on my Raspberry Pi 3 to February 2018 which includes the kernal update for the Raspberry Pi to 4.14 my external hard drive which is mounted on my Asus DSL-N17U was no longer mounting.
When trying to browse to a location on the mount I got the following:
No such device
My mounts through fstab looked like this (yes, unprotected on my ‘dev’ box, but the same applies to using authentication with protected shares):
//192.168.0.254/sda2/Downloads /mnt/External/Downloads cifs guest,uid=1000,gid=1000,noauto,x-systemd.automount,rw,iocharset=utf8 0 0
When looking through the logs I found this:
Mar 05 20:46:47 osmcnew systemd[1]: mnt-External-Downloads.automount: Got automount request for /mnt/External/Downloads, triggered by 479 (nzbget)
Mar 05 20:46:47 osmcnew systemd[1]: Mounting /mnt/External/Downloads…
Mar 05 20:46:47 osmcnew kernel: No dialect specified on mount. Default has changed to a more secure dialect, SMB2.1 or later (e.g. SMB3), from CIFS (SMB1). To use the less secure SMB1 dialect to access old servers which do not support SMB3 (or SMB2.1) specify vers=1.0 on mount.
Mar 05 20:46:47 osmcnew kernel: CIFS VFS: cifs_mount failed w/return code = -112
Mar 05 20:46:47 osmcnew systemd[1]: mnt-External-Downloads.mount: Mount process exited, code=exited status=32
Mar 05 20:46:47 osmcnew systemd[1]: Failed to mount /mnt/External/Downloads.
Mar 05 20:46:47 osmcnew systemd[1]: mnt-External-Downloads.mount: Unit entered failed state.
The line that caught my attention:
Mar 05 20:46:47 osmcnew kernel: No dialect specified on mount. Default has changed to a more secure dialect, SMB2.1 or later (e.g. SMB3), from CIFS (SMB1). To use the less secure SMB1 dialect to access old servers which do not support SMB3 (or SMB2.1) specify vers=1.0 on mount.
It seems as if this kernel specifically blocks SMB1 by default and it must be specified.
As a test I added vers=1.0 to my fstab:
//192.168.0.254/sda2/Downloads /mnt/External/Downloads cifs guest,uid=1000,gid=1000,noauto,x-systemd.automount,rw,iocharset=utf8,vers=1.0 0 0
After a reboot everything was fine again.
I hope this helps anyone coming across a similar issue.
If anyone reading this does know of a better way for me to share & mount the external hard drive connected to the DSL-N17U, please let me know. I would appreciate it.
Kind regards,
Fred