What is Nostr?
Jeroen Baert /
npub127q…qs5h
2024-10-30 22:35:02

Jeroen Baert on Nostr: Very specific problem, but here we go: I've got shares on a NAS, which I serve over ...

Very specific problem, but here we go:

I've got shares on a NAS, which I serve over NFS3. I want to mount these in a docker container BUT want to make sure the shares are unmounted when they have not seen I/O for a while. Saves power and lets the disks spin down.

My current solution:
- AutoFS on host
- Mount the folder *above* the autoFS mount point as a bind mount marked "shared" in docker-compose

Positive: Drives get unmounted when idle.
Negative: Feels hacky, cannot mount readonly
Author Public Key
npub127qtgqe5ner5r7snjl9k90q38980wt8t5u7hl8ayrar35vwa325swgqs5h