Infrastructure nerd, gamer, and Lemmy.ca maintainer

  • 28 Posts
  • 336 Comments
Joined 1 年前
cake
Cake day: 2023年6月22日

help-circle
















  • Two big ones in my younger days:

    Alt tabbed one too many times, clicked drop database, clicked ok, realized I’d just deleted the live user database for America’s Army. Thankfully it was the east coast site and west coast was the primary, and it was only one way replication. We shut down east coast auth and rebuilt the secondary.

    Someone distracted me while typing in a vlan command on a switch, I hit enter without double checking, took out our fiber between two datacenters in the middle of a move. Took me 15 minutes to run to the DC, plug in a console cable and fix it. Took all of our customers out.


  • The file handle of the directory changes when you mount the nfs on it, and docker is still looking at the old file handle.

    It’d probably work if you mounted nfs to a folder inside that one, or moved your docker mount one level up.

    Otherwise you’ll need to get your container to restart after the mount is attached. You could do this with a health check for the container that checks the files are there, and restart the container if they’re not. Or you could just fix your boot order and set nfs as a dependency for docker.