Comment on systemd has been a complete, utter, unmitigated success
WhyJiffie@sh.itjust.works 1 day agothanks!
do you perhaps have a solution for hanging accesses to network mounts when the server is inaccessible?
Comment on systemd has been a complete, utter, unmitigated success
WhyJiffie@sh.itjust.works 1 day agothanks!
do you perhaps have a solution for hanging accesses to network mounts when the server is inaccessible?
cenzorrll@piefed.ca 20 hours ago
Do you mean a hang on boot when trying to mount? For that I use the
nofailoption in fstab. I also use thex-systemd.automountoption so if something is not mounted for whatever reason, it tries to mount it when something attempts to access it.WhyJiffie@sh.itjust.works 16 hours ago
no, I mean the system has been up for a long time, but the server went down, and connection was lost
cenzorrll@piefed.ca 9 hours ago
That’s all handled with adding the
x-systemd.automountoption to my fstab entry. If it disconnects it’s unmounted, when it’s available again it mounts when something tries to access it.I have occasionally needed to restart some services if they didn’t like getting disconnected, but as far as mounting goes it’s handled pretty smoothly with that option.