Hi,
I am unable to mount smb share on boot.
Here is link to log files: https://paste.osmc.tv/ayadetoboj
My /etc/fstab
# rootfs is not mounted in fstab as we do it via initramfs. Uncomment for remount (slower boot) /dev/vero-nand/root
#/ ext4 defaults,noatime 0 0
//192.168.1.70/Filmy /mnt/Filmy cifs x-systemd.automount,noauto,rw,iocharset=utf8,username=hidden,password=hidden,uid=osmc,gid=osmc,file_mode=0770,dir_mode=0770 0 0
//192.168.1.70/Seriale /mnt/Seriale cifs x-systemd.automount,noauto,rw,iocharset=utf8,username=hidden,password=hidden,uid=osmc,gid=osmc,file_mode=0770,dir_mode=0770 0 0
Is it due to network interface turning online too late?
Dec 10 21:56:53 osmc systemd[1]: Failed to mount /mnt/Seriale. Dec 10 21:56:53 osmc systemd[1]: Unit mnt-Seriale.mount entered failed state. Dec 10 21:56:55 osmc sudo[780]: osmc : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/rm /var/tmp/osmc.settings.update.sockfile Dec 10 21:56:55 osmc sudo[780]: pam_unix(sudo:session): session opened for user root by (uid=0) Dec 10 21:56:55 osmc sudo[780]: pam_unix(sudo:session): session closed for user root Dec 10 21:56:55 osmc sudo[797]: osmc : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/rm /var/tmp/osmc.settings.sockfile Dec 10 21:56:55 osmc sudo[797]: pam_unix(sudo:session): session opened for user root by (uid=0) Dec 10 21:56:55 osmc sudo[797]: pam_unix(sudo:session): session closed for user root Dec 10 21:56:55 osmc avahi-daemon[295]: Joining mDNS multicast group on interface eth0.IPv4 with address 192.168.1.17. Dec 10 21:56:55 osmc avahi-daemon[295]: New relevant interface eth0.IPv4 for mDNS. Dec 10 21:56:55 osmc avahi-daemon[295]: Registering new address record for 192.168.1.17 on eth0.IPv4. Dec 10 21:56:55 osmc connmand[317]: eth0 {add} address 192.168.1.17/24 label eth0 family 2 Dec 10 21:56:55 osmc connmand[317]: eth0 {add} route 192.168.1.0 gw 0.0.0.0 scope 253 <LINK> Dec 10 21:56:55 osmc connmand[317]: eth0 {add} route 192.168.1.1 gw 0.0.0.0 scope 253 <LINK> Dec 10 21:56:55 osmc connmand[317]: eth0 {add} route 0.0.0.0 gw 192.168.1.1 scope 0 <UNIVERSE> Dec 10 21:56:55 osmc connmand[317]: eth0 {add} route 159.253.212.250 gw 192.168.1.1 scope 0 <UNIVERSE> Dec 10 21:56:55 osmc connmand[317]: eth0 {del} route 159.253.212.250 gw 192.168.1.1 scope 0 <UNIVERSE>
I have also tried to add â_netdevâ (normally the file system type is used to determine if a mount is a ânetwork mountâ, i.e. if it should only be started after the network is available. Using this option overrides this detection and specifies that the mount requires network) to fstab option, but it made no difference.