From 948504c2c66c31fdbe621bace307a0e094e60370 Mon Sep 17 00:00:00 2001 From: spektr Date: Fri, 27 Nov 2026 06:50:03 +0100 Subject: [PATCH] CT 114: Headroom-Preflight im Provisioning auf +32 GiB angepasst 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 --- .../scripts/provision-ct114-litecoin.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/proxmox/lxc/ct-114-litecoin-wallet/scripts/provision-ct114-litecoin.sh b/proxmox/lxc/ct-114-litecoin-wallet/scripts/provision-ct114-litecoin.sh index 01dcdaf..3b35ad8 100755 --- a/proxmox/lxc/ct-114-litecoin-wallet/scripts/provision-ct114-litecoin.sh +++ b/proxmox/lxc/ct-114-litecoin-wallet/scripts/provision-ct114-litecoin.sh @@ -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}"