Document integrated Immich storage shutdown

This commit is contained in:
2026-10-22 12:57:23 +02:00
parent d447b20888
commit b4ac38f251
+7 -7
View File
@@ -12,13 +12,13 @@ the photo library. The server has a read-only startup check for the bcachefs
filesystem magic and expected `upload` directory, in addition to a node label
that prevents scheduling until the host helper confirms the mount.
Before unmounting `/mnt`, run `bash apps/immich/scripts/storage-offline.sh`
from the `homelab-gitops` repository root and wait for it to report that the
server and machine-learning Pods have stopped. Do not unmount if that helper
fails. After mounting `/mnt` again, run
`bash apps/immich/scripts/storage-online.sh`; it validates bcachefs and the
Immich upload directory, forces fresh Pod mounts, and then restores the
readiness label.
`~/unmount.sh` runs `storage-offline.sh`, waits for the Immich Pods and kubelet
local volume mounts to disappear, unmounts the other bcachefs mounts, and then
unmounts `/mnt`. If unmounting manually, run
`bash apps/immich/scripts/storage-offline.sh` from this repository first and
stop if it fails. After remounting `/mnt`, `~/mount_binds.sh` runs
`storage-online.sh`; it validates bcachefs and the Immich upload directory,
forces fresh Pod mounts, and then restores the readiness label.
These helpers assume the default context `kubernetes-admin@kubernetes` and
refuse other contexts. No systemd hook controlling `/mnt` was found during
migration setup, so a future systemd-based mount change must explicitly order