Pcornel
Browse topics
Options
Recent
Favorites
Storage · Technical reference

Trending

Direct answer

Storage trending records capacity and performance metrics over months, showing growth rates, peak periods and slowly rising latency, so upgrades are planned before limits are reached.

When to use this

Use this when tracking storage metrics over months.

First 30 seconds

1. Trending shows growth and performance changes over time.

2. Keep long retention for capacity metrics.

3. Review monthly.

4. Use for planning and anomaly detection.

5. Annotate changes.

Operational verification

metrics over time → trends → decisions

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
Storage performance and observability
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformStorage performance and observability
Scope / prerequisiteUse this when tracking storage metrics over months.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

1 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Common mistakes Narrow the fault
  • Too short retention to see trends.
Evidence references

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.

observation · 1
Key points
  • Trends show growth and slowly rising latency.
  • Keep long retention for capacity data.
  • Review trends regularly.
Key checks
  • Grafana dashboards — trends
  • predict_linear queries — forecast
  • monthly capacity report — review
ReferenceHow it works1 section · depth on demand

Commands

zpool iostat -v 60
sar -d 1

Store metrics in a time-series database (Prometheus, InfluxDB) and graph capacity and latency per pool.

ReferenceImportant terms & boundaries3 sections · depth on demand

In depth

Trending answers "when will this become a problem?"

A single reading of capacity or latency says little. Trends over weeks show growth rates, busy periods and slow degradation.

Built-in history with sysstat

sar(1) reports block-device activity with -d, using fields tps, rkB/s, wkB/s, areq-sz, aqu-sz, await and %util. -f reads saved daily files, by default from /var/log/sa, and -1 selects yesterday. Disk statistics must be collected by sadc with -S DISK.

$ sar -d -p -f /var/log/sa/sa26 -s 08:00:00 -e 18:00:00
08:10:01 AM  DEV   tps   rkB/s    wkB/s  areq-sz  aqu-sz  await  %util
08:10:01 AM  sdb   812.4  6120.3  21844.9    34.42    4.81   5.92  71.30
$ sar -d -p -1 | tail -5        # yesterday's averages

What to trend

MetricPlanning question
Used capacity per volume or poolDays until full
IOPS and throughput (tps, kB/s)Approaching the array or link limit?
Latency (await) at the same loadIs the storage degrading?
Queue length (aqu-sz)Is demand outgrowing parallelism?
SMART countersWhich disks to replace proactively
Snapshot and backup sizesRetention cost over time

Methods

  • Keep at least 13 months for capacity data, so seasonal peaks are visible.
  • Compare the same weekday and hour. Week-on-week comparison removes backup and batch noise.
  • Use percentiles (p95, p99) for latency, not averages.
  • Derive days-until-full from a 30- or 90-day linear fit, and alert on it as well as on percentage thresholds.

sysstat keeps a limited number of days by default (HISTORY in its configuration). For longer trends, ship metrics to a time-series system.

Documented example, not captured output.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

Quick reference

Trending stores capacity and performance metrics long enough to see seasonality (13+ months) and forecasts when thresholds will be reached. Prometheus predict_linear(node_filesystem_avail_bytes[30d], 90*24*3600) < 0 warns 90 days before a filesystem is predicted to fill.

Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docStorage performance and observability current

Authoritative/upstream documentation reviewed for bounded claims in Storage Monitoring → Trending. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://sysstat.github.io/ · confidence 94%
Confirmation

Confirm action

Continue?