Infrastructure nerd, gamer, and Lemmy.ca maintainer

  • 1 Post
  • 135 Comments
Joined 1 year ago
cake
Cake day: June 22nd, 2023

help-circle














  • 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.





  • Ntfs isn’t going to care or even be aware of the hypervisor FS, zfs or btrfs would both work fine.

    Making sure you don’t have misaligned sectors, is pretty much the only major pitfall. Make sure you use paravirt storage and network drivers.

    Edit: I just realized you’re asking for the opposite direction, but ultimately the same guidelines apply. It doesn’t matter what filesystems are on what, with the above caveats.