Pcornel
Storage · Storage Monitoring

Capacity

Cheat sheet · https://pcornel.dk/topic.php?topic=4369

Back to the Topic

Answer

Capacity monitoring tracks used, free and provisioned space per pool, volume, datastore and file system, including snapshots and thin overcommit, with thresholds before space runs out.

Remember

  • Monitor provisioned and used capacity.
  • Snapshots count.
  • Alert on trends, not only thresholds.

First checks

  • df -h; zpool list; ceph df — current usage
  • predict_linear(...) — forecast
  • alert rules at 80/90 % — thresholds

Commands

ceph df
Cluster/pool logical/raw capacity summary.

Verify in this order

usage → thresholds/forecast → alert

Where it usually breaks

First mismatch in workload → filesystem/volume → queue/cache → path/protocol → controller/pool → media/backend → observed completion; preserve identity/pre-state before mutation.

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=4369

Confirmation

Confirm action

Continue?