Use this when automating storage capacity checks.
Capacity Checks
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.
1. Capacity checks before provisioning and on schedule.
2. Forecast exhaustion.
3. Block provisioning when below thresholds.
4. Alert owners.
5. Report trends.
usage → thresholds/forecast → gate/alert
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Verification path Verify boundary
The primary procedure is: 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. Exercise failure-oriented cases such as stale telemetry, thin-pool oversubscription, snapshot growth, dedupe ratio changes, unit conversion errors and aggregate headroom differing from volume free space so the test covers failure cases, not only the happy path.
Step 2 Common mistakes Narrow the fault
- Capacity checks without growth trends.
Step 3 Where it fails Narrow the fault
Failure analysis for Storage Automation → Capacity Checks should follow the path through the components: storage metric source → collection timestamp → capacity calculation → threshold/forecast → orchestration action → storage state read-back. Tests should include edge cases such as stale telemetry, thin-pool oversubscription, snapshot growth, dedupe ratio changes, unit conversion errors and aggregate headroom differing from volume free space. Recovery should freeze automated expansion/deletion when metric semantics are uncertain, preserve raw samples, repair the calculation/scope, then compare current platform counters before resuming action.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- Compare usage with thresholds and trends.
- Alert well before full.
- Expand automatically only where safe.
df -h; zpool list; ceph df— capacitypredict_linear(node_filesystem_avail_bytes[7d], 30*86400) < 0— forecast- Pre-provision capacity gate — automation guard
ReferenceWhy it matters1 section · depth on demand
In depth
Capacity checks in storage automation verify free space before provisioning or growing storage, and report trends so pools never fill up unexpectedly.
zpool list -H -o name,capacity
ceph df -f json | jq '.stats.total_used_raw_ratio'
lvs --noheadings -o lv_name,data_percent data/thinpool
| Check | Threshold example |
|---|---|
| Pool used before provisioning | Refuse above 80% |
| Thin pool data/metadata | Alert at 80%, critical at 90% |
| Growth forecast | Days until full < 60 |
Make the provisioning job fail with a clear message when capacity rules are not met, rather than creating storage that will fill the pool.
ReferenceImportant terms & boundaries1 section · depth on demand
Mechanics
Capacity Checks in Storage Automation is owned at runtime by the storage platform telemetry source plus automation logic that converts raw/usable/reserved capacity into an actionable threshold decision. The durable intent is versioned scope, metric definition, units, warning/critical thresholds, forecast window and suppression/exception rules. Reliable automation must carry stable identity across the path: cluster/system, aggregate/pool, volume/LUN/object and metric timestamp. The consumer-visible target is capacity alert, ticket, expansion workflow or admission decision for exactly the measured storage object. The key invariants are raw versus usable versus logical consumption are not conflated, thin provisioning/efficiency/reservations are understood, units are consistent and stale samples never trigger destructive action.
ReferenceConfiguration & state1 section · depth on demand
Lifecycle
Store and review versioned scope, metric definition, units, warning/critical thresholds, forecast window and suppression/exception rules; pin or at least record implementation/model versions and keep environment-specific identity outside reusable logic where possible. The stable identity contract is cluster/system, aggregate/pool, volume/LUN/object and metric timestamp.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Storage Automation > Capacity Checks. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://docs.netapp.com/us-en/ontap/task_admin_monitor_capacity_in_sm.html · confidence 94%Quick lookup tables
Storage Automation → Capacity Checks · operational reference
Context-specific ownership, verification, output and failure-boundary lookup for Storage Automation → Capacity Checks.
| 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 |
Deep reference
Healthy vs suspicious evidence
Output interpretation
At minimum retain storage object IDs, sample timestamp, raw/usable/logical capacity, reserved/snapshot values, threshold/forecast result, staleness age and proposed/started action ID. The useful output makes ambiguity visible, links to the target identity from cluster/system, aggregate/pool, volume/LUN/object and metric timestamp, and provides enough context to safely decide whether a retry is permitted.