Skip to main content
2 of 3
added 439 characters in body
ajeh
  • 269
  • 1
  • 4
  • 18

Mounting Windows shares from /etc/fstab fails, but mount -a works once the system is up

During the boot time I get this error message:

Failed to start NetworkManager-wait-online 

and immediately after the network shares fail to mount. But once the system is up, issuing mount -a mounts them fine. How can I make sure that network is completely started at boot time before /etc/fstab is executed?Linux

#uname -a localhost.localdomain 4.15.15-200.fc26.x86_64 #1 SMP Mon Apr 2 16:25:08 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux 

@Patrick asked below for the fstab entry, which I think is not necessary as the same fstab runs on many machines w/o issues for about 10 years, and the only difference here is that this new installation is Fedora 26 where the rest are different versions. But here you go if you insist:

//10.10.10.2/DRIVED /home/use0/DriveD cifs credentials=/etc/smbcredentials,iocharset=utf8,fsc,uid=use0,gid=use0,file_mode=0644,dir_mode=0777 0 0 
ajeh
  • 269
  • 1
  • 4
  • 18