Comment on NFS: stale file handle in contaniers after snapraid sync

GreenKnight23@lemmy.world ⁨1⁩ ⁨day⁩ ago

I have found docker hates locally mounted NFS mounts direct to volume mounts. its kind of like symlinking a symlink of a symlink.

best way I have found that this works is to use CIFS and declare a NAS share to an actual docker volume and then mount that inside the container like any other volume.

personally I would have preferred NFS, but here we are.

it has something to do with how NFS connectivity maintains a connection. it’s not “always on” but is inefficient when it quickly needs to reconnect for a read/write request. or at least something like that.

source
Sort:hotnewtop