Automation · Storage Automation
Capacity Checks
Cheat sheet · https://pcornel.dk/topic.php?topic=5753
Answer
Capacity checks in storage automation monitor free space and growth of file systems, pools and volumes, alerting or expanding storage before a threshold like 80 % is reached.
Remember
- Compare usage with thresholds and trends.
- Alert well before full.
- Expand automatically only where safe.
First checks
df -h; zpool list; ceph df— capacitypredict_linear(node_filesystem_avail_bytes[7d], 30*86400) < 0— forecast- Pre-provision capacity gate — automation guard
Verify in this order
usage → thresholds/forecast → gate/alert
Where it usually breaks
Commit/input → runner/job → build/test artifact → deployment request → target rollout/reconcile → effective version/config → health/readiness → workload.
Storage Automation → Capacity Checks · operational reference
| Layer | Storage Automation → Capacity Checks operational reference |
|---|---|
| Runtime/ownership | storage capacity automation and threshold checks · the storage platform telemetry source plus automation logic that converts raw/usable/reserved capacity into an actionable threshold decision |
| Persistent intent | versioned scope, metric definition, units, warning/critical thresholds, forecast window and suppression/exception rules |
| Verification | Read capacity from the authoritative storage API/CLI for one pool and one child volume, compute the automation threshold from the same timestamp, and compare the proposed action with platform headroom. |
| Expected interpretation | The automation evaluates the intended storage object using current, correctly interpreted capacity metrics and raises/acts only when the reviewed threshold and safety headroom are actually breached. |
| Recovery boundary | freeze automated expansion/deletion when metric semantics are uncertain, preserve raw samples, repair the calculation/scope, then compare current platform counters before resuming action |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=5753