I've not used autofs mounted filestore connecting to a NAS server for a long time, but it used to work fine.
A couple of days ago I tried it on 5.1.019 and couldn't get it to work, so fresh flashed 5.1.020 with no settings restore and started from scratch.
I've spent ages trying without any success.
The error I (always) see when selecting the location from the recordings list is "Directory /media/autofs/ET10000SYNOLOGY/ does not exist."
The directory does exist, but can't be listed/deleted or anything else that I can think of.
Code:
root@et10000:~# ls -l /media/autofs
dr-xr-xr-x 2 root root 0 Mar 18 13:41 ET10000SYNOLOGY
root@et10000:~#
root@et10000:~# ls -l /media/autofs/ET10000SYNOLOGY
ls: /media/autofs/ET10000SYNOLOGY: No such file or directory
root@et10000:~#
root@et10000:~# ls -ld /media/autofs
drwxr-xr-x 3 root root 0 Mar 18 16:57 /media/autofs
root@et10000:~#
I set up the share using network browser, (and just about any other way I can think of), with reboots to get it going.
The fact that the browser picks up all the shares on the NAS suggests that it's nearly working.
Code:
root@et10000:~# df -a
Filesystem 1K-blocks Used Available Use% Mounted on
ubi0:rootfs 913016 88112 824904 10% /
devtmpfs 559820 4 559816 0% /dev
proc 0 0 0 0% /proc
sysfs 0 0 0 0% /sys
debugfs 0 0 0 0% /sys/kernel/debug
tmpfs 64 0 64 0% /media
tmpfs 559964 136 559828 0% /var/volatile
/dev/sda1 976559616 495183360 480327680 51% /media/hdd
devpts 0 0 0 0% /dev/pts
/etc/auto.network 0 0 0 0% /media/autofs
root@et10000:~#
root@et10000:~# cat /etc/auto.network
# automounter configuration
ET10000SYNOLOGY -fstype=cifs,user=xx,pass=xx,rw,iocharset=utf8 ://192.168.1.115/ET10000
root@et10000:~#
Debug logs aren't showing anything at all, apart from
Code:
< 33.158> [Harddisk] new Network Mount ET10000SYNOLOGY -> /media/autofs/ET10000SYNOLOGY
dmesg has this error, but I think it's always been there...
Code:
et10000 daemon.crit automount[581]: key "logs" not found in map source(s).
Other bits.......
Code:
root@et10000:~# smbd -V
Version 4.4.16
root@synology:/$ smbd -V
Version 4.4.16
Synology Build 15254, Jan 26 2018 07:00:42
I studied this post, but obviously didn't solve the issue...
http://www.world-of-satellite.com/sh...l=1#post457557
Note: I needed an opkg update before I could get samba installed and running.