I'm running Fedora 35 on my Workstation, and I have two network drives my Machine is supposed to Mount during startup. The problem is, it fails to do so, and I'm about 80% certain why. I think the System is trying to mount the remote File systems before the Network is present.At least this is what systemd is saying:
/etc/fstab's content:
//192.168.0.253/nfs /remoteFS/thor.lab0/nfs cifs credentials=/home/michael/.smb/credentials.txt,iocharset=utf8,noperm 0 0
//192.168.0.253/Media /remoteFS/thor.lab0/media cifs credentials=/home/michael/.smb/credentials.emby,iocharset=utf8,noperm 0 0
if I look at the status entry of the corresponding autogenerated unit file systemctl reports:
Sep 15 14:51:43 Workstation systemd[1]: Mounting /remoteFS/thor.lab0/media...
Sep 15 14:51:43 Workstation mount[2964]: mount error(101): Network is unreachable
Sep 15 14:51:43 Workstation mount[2964]: Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages
when I run sudo mount -a after login everything works fine. So I guess everything I would need to fix this would be to tell systemd to pull in the network before it tries to mount remote filesystems which one would do via the corresponding unit file, but since these are being auto-generated I'm not sure on how to accomplish this.
thx for your help guys!