fstab stopped mounting
Posted: Mon Jul 21, 2025 6:02 pm
fstab trying to mount before interface up.
enable the following service.
fstab now mounts when network is online and before lxc are up, allowing the lxc to mount their respective mp0 without a reboot.
also append the following to fstab entry...
enable the following service.
Code: Select all
systemctl enable systemd-networkd-wait-onlinealso append the following to fstab entry...
Code: Select all
x-systemd.automount,x-systemd.mount-timeout=30,_netdev,x-systemd.after=network-online.targetCode: Select all
//192.168.1.10/zm_monitor /media/monitor cifs credentials=/home/zemerdon/cifs_cred2,uid=33,gid=33,file_mode=0755,dir_mode=0755,mfsymlinks,x-systemd.automount,x-systemd.mount-timeout=30,_netdev,x-systemd.after=network-online.target 0