CT 114: Headroom-Preflight im Provisioning auf +32 GiB angepasst
ci-static / secret-scan (push) Successful in 20s
ci-static / yamllint (push) Successful in 31s
ci-static / ansible-syntax (push) Successful in 30s
ci-static / markdown-links (push) Successful in 20s

local-lvm hat live ~206 GiB frei (thin-provisioned); 150+64 GiB haette den
laufenden Betrieb blockiert. Gate jetzt 150+32 GiB.

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
This commit is contained in:
2026-11-27 06:50:03 +01:00
parent 0d1325ff01
commit 948504c2c6
@@ -92,10 +92,11 @@ storage_is_active "$TEMPLATE_STORAGE" ||
die "template storage ${TEMPLATE_STORAGE} is not active"
storage_is_active "$CONTAINER_STORAGE" ||
die "container storage ${CONTAINER_STORAGE} is not active"
# The Litecoin chain needs roughly 100 GB plus growth; require headroom for
# the 150 GiB rootfs plus snapshots before creating anything.
storage_has_free "$CONTAINER_STORAGE" $((ROOT_DISK_GIB + 64)) ||
die "container storage ${CONTAINER_STORAGE} has less than $((ROOT_DISK_GIB + 64)) GiB free"
# The Litecoin chain needs roughly 100 GB plus growth on top of the thin
# 150 GiB rootfs; require headroom for rootfs plus chain before creating.
# (2026-11-27: local-lvm has ~206 GiB free, so +32 GiB headroom is the gate.)
storage_has_free "$CONTAINER_STORAGE" $((ROOT_DISK_GIB + 32)) ||
die "container storage ${CONTAINER_STORAGE} has less than $((ROOT_DISK_GIB + 32)) GiB free"
[[ -x "$BASELINE_HOOK" ]] || die "baseline hook is not executable: ${BASELINE_HOOK}"
[[ -x "$POST_INSTALL_HOOK" ]] || die "post-install hook is not executable: ${POST_INSTALL_HOOK}"