From 7ca7b5645432967f6b2413e8f8aa622aa4aeee7f Mon Sep 17 00:00:00 2001 From: Codex Date: Wed, 9 Sep 2026 00:11:40 -0700 Subject: [PATCH] docs(media-core): require persistent NFS for Docker binds --- servers/media-core/media-core/README.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/servers/media-core/media-core/README.md b/servers/media-core/media-core/README.md index e366806..ff4457b 100644 --- a/servers/media-core/media-core/README.md +++ b/servers/media-core/media-core/README.md @@ -24,9 +24,12 @@ Sonarr4K 的容器路径 `/mnt/unRaid/downloads` 与 SAB 报告路径一致。 - Appdata:`/opt/media-core/appdata/`。 - 备份:`/opt/media-core/backups`,归档文件必须为 `root:root 0600`。 -systemd automount 遇到 `Stale file handle` 时,不能直接反复部署 Docker。先确认没有 -容器占用对应挂载,完整停止 `.automount`、卸载残留 NFS、重新启动 automount,并连续 -验证读写稳定后再部署。 +长期运行的 Docker bind 不使用带 idle timeout 的 systemd automount。2026-09-09 已将 +`/mnt/unraid/tv4k` 改为常驻 NFS 4.2 mount,并用 +`x-systemd.before=docker.service` 保证启动顺序;这是 Sonarr4K 的生产基线。其余仍被 +容器 bind 的 NFS 路径,应在无活动下载或导入的维护窗口逐一采用相同策略。遇到 +`Stale file handle` 时,先停止占用该挂载的容器,再卸载、重新挂载并重启容器;仅在 +宿主机触发 automount 或反复 redeploy 不能构成永久修复。 ## Sonarr4K 迁移说明