From b4ac38f25115a63cd541319793c36660171e8b83 Mon Sep 17 00:00:00 2001 From: 0xFEEDC0DE64 Date: Thu, 22 Oct 2026 12:57:23 +0200 Subject: [PATCH] Document integrated Immich storage shutdown --- apps/immich/README.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/apps/immich/README.md b/apps/immich/README.md index ea1cf92..1ff8761 100644 --- a/apps/immich/README.md +++ b/apps/immich/README.md @@ -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