SMB Shares fail after sleep

Hi new to Fedora, all seems great so far, i do however have one issue. I have some windows shares mounted via fstab, works fine untill pc sleeps, upon wakening share wont respond. lines from fstab

//192.168.10.10/LAN_Share /media/LAN cifs uid=0,user=xxx,password=xxx,iocharset=utf8,noperm 0 0 x-systemd.automount,x-systemd.device-timeout=10,x-systemd.idle-timeout=60,uid=$UID,gid=$GID 0 0
//192.168.10.10/Media /media/files cifs uid=0,user=xxx,password=xxx,iocharset=utf8,noperm 0 0 x-systemd.automount,x-systemd.device-timeout=10,x-systemd.idle-timeout=60,uid=$UID,gid=$GID 0 0

only been using linux for a few months so please be gentle

It sounds like you found a bug. However, the man page for systemd-fstab-generator states the following (emphasis added).

systemd-fstab-generator is a generator that translates /etc/fstab (see fstab(5) for details) into native systemd units early at boot and when configuration of the system manager is reloaded. This will instantiate mount and swap units as necessary.

I think you can trigger a reload of the system manager by running systemctl daemon-reload. Do the automounts start working again if you run that command?

1 Like

Thanks for reply, dont know whats happened, but system has done ome updates, since then alls good again. if i have issues again ill try your solution and post back.
Thanks for input

1 Like