eugrus
October 16, 2018, 5:35pm
1
GL-MT300N-V2 (default firmware version 2.271) is not remounting the cifs shares from /etc/fstab on reboot, eventhough it does remount them after the mount -a
command.
root@GL-MT300N-V2:~# cat /etc/fstab
# <file system> <mount point> <type> <options> <dump> <pass>
//192.168.178.22/HDD1 /mnt/HDD1 cifs guest,uid=1000,iocharset=utf8 0 0
//192.168.178.22/HDD2 /mnt/HDD2 cifs guest,uid=1000,iocharset=utf8 0 0
Does it work when mounting it manually?
eugrus
October 17, 2018, 9:50am
3
Both when totally manually and as I said also works via mount -a
which also uses fstab.
alzhao
October 19, 2018, 12:51am
4
Maybe when fstab take effect network is not up yet.
So can you use a script to mount and add it to /etc/rc.local
eugrus
October 19, 2018, 10:40am
5
ok then
I’ve resolved it by adding mount -a
to /etc/rc.local