Document integrated Immich storage shutdown
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user