homelab: Plattenschwellen 80/90 % statt 85/95 % (ext4 haelt 5 % fuer root zurueck; AdGuard war bei 94 % innen voll)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Hitonabi
2026-09-24 21:04:05 +02:00
co-authored by Claude Opus 5.5
parent c08a144006
commit 6a5134ef79
20 changed files with 24 additions and 24 deletions
+2 -2
View File
@@ -558,8 +558,8 @@ def pruefe_gaeste() -> list[Befund]:
for e in inventar.erreichbarkeit() if not e["ok"]]
GAST_PLATTE_GELB = 0.85
GAST_PLATTE_ROT = 0.95
GAST_PLATTE_GELB = 0.80
GAST_PLATTE_ROT = 0.90 # ext4 hält 5 % für root zurück: bei 94 % war AdGuard innen schon voll
def _gb_komma(n: float) -> str:
+1 -1
View File
@@ -371,7 +371,7 @@ def test_waechter_und_uebersicht_sehen_volle_gastplatten(daten):
if g["vmid"] == 100:
g["platte"] = {"belegt": 2_000_000_000, "gesamt": 2_040_000_000}
if g["vmid"] == 104:
g["platte"] = {"belegt": 1_800_000_000, "gesamt": 2_000_000_000}
g["platte"] = {"belegt": 1_700_000_000, "gesamt": 2_000_000_000}
if g["vmid"] == 101:
g["platte"] = {"belegt": 500_000_000, "gesamt": 2_000_000_000}
kanal.bericht_speichern(bericht)