▲ 145 ▼ systemd has been a complete, utter, unmitigated success (blog.tjll.net) submitted 8 months ago by lemmydividebyzero@reddthat.com to c/technology@lemmy.world 84 comments fedilink hide all child comments
[–] WhyJiffie@sh.itjust.works 1 point 8 months ago* (3 children) thanks! do you perhaps also have a solution for hanging accesses to network mounts when the server is inaccessible? permalink fedilink source parent hideshow 3 child comments replies: [–] cenzorrll@piefed.ca 1 point 8 months ago (2 children) Do you mean a hang on boot when trying to mount? For that I use the nofail option in fstab. I also use the x-systemd.automount option so if something is not mounted for whatever reason, it tries to mount it when something attempts to access it. permalink fedilink source parent hideshow 2 child comments replies: [–] WhyJiffie@sh.itjust.works 1 point 8 months ago (1 child) no, I mean the system has been up for a long time, but the server went down, and connection was lost permalink fedilink source parent hideshow 1 child comment replies: [–] cenzorrll@piefed.ca 1 point 8 months ago That's all handled with adding the x-systemd.automount option 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. permalink fedilink source parent
[–] cenzorrll@piefed.ca 1 point 8 months ago (2 children) Do you mean a hang on boot when trying to mount? For that I use the nofail option in fstab. I also use the x-systemd.automount option so if something is not mounted for whatever reason, it tries to mount it when something attempts to access it. permalink fedilink source parent hideshow 2 child comments replies: [–] WhyJiffie@sh.itjust.works 1 point 8 months ago (1 child) no, I mean the system has been up for a long time, but the server went down, and connection was lost permalink fedilink source parent hideshow 1 child comment replies: [–] cenzorrll@piefed.ca 1 point 8 months ago That's all handled with adding the x-systemd.automount option 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. permalink fedilink source parent
[–] WhyJiffie@sh.itjust.works 1 point 8 months ago (1 child) no, I mean the system has been up for a long time, but the server went down, and connection was lost permalink fedilink source parent hideshow 1 child comment replies: [–] cenzorrll@piefed.ca 1 point 8 months ago That's all handled with adding the x-systemd.automount option 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. permalink fedilink source parent
[–] cenzorrll@piefed.ca 1 point 8 months ago That's all handled with adding the x-systemd.automount option 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. permalink fedilink source parent