Pcornel
Browse topics
Options
Recent
Favorites
Linux · Technical reference

Disk

Direct answer

Disk monitoring covers capacity (df), inodes (df -i), and performance: throughput, IOPS, utilisation (%util) and latency (await) per device.

When to use this

Use it when a disk fills, writes fail, or the system is slow because of I/O.

First 30 seconds

1. df -h and df -i — any filesystem near 100 %?

2. iostat -xz 1 — device with high %util and await?

3. iotop -o / pidstat -d 1 — which process?

4. Large directories: du -xh --max-depth=1 <mount> | sort -h | tail.

5. Act: clean up, move data, or fix the I/O-heavy process.

Operational verification

workload I/O → device queue → latency and utilisation → capacity and inode use

Evidence · next step

For Resource Monitoring → Disk, continue with the first unproven Topic check: Resolve filesystem/mount to LV/MD/device/backend and record workload I/O pattern plus baseline latency/throughput. If that boundary is healthy, advance to the adjacent check: Sample device reads/writes, IOPS, throughput, await/latency, queue depth and utilization over the incident interval. Preserve the same host/time/identity scope and rerun the original workload before accepting recovery.

Continue only after interpreting the current observation.
Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
linux
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.

Platformlinux
Key commandiostat -xz 1 3
Scope / prerequisiteUse it when a disk fills, writes fail, or the system is slow because of I/O.
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.

5 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 Operational evidence path Verify boundary

workload I/O → filesystem/page cache → device-mapper/RAID/LV → block queue → device/backend completion → application latency/throughput → workload acceptance

Healthy evidence: latency and queueing remain within workload tolerance, throughput/IOPS meet baseline, no device/path errors appear and the original workload sustains expected performance.

Step 2 Verification and output interpretation Verify boundary

Existing fast checks for this Topic. - Resolve filesystem/mount to LV/MD/device/backend and record workload I/O pattern plus baseline latency/throughput.

  • Sample device reads/writes, IOPS, throughput, await/latency, queue depth and utilization over the incident interval.
  • Attribute I/O to processes/cgroups and inspect kernel/device/filesystem errors, RAID/LVM state and path changes where metrics diverge.
  • Correct the demonstrated bottleneck or fault, rerun the same I/O workload and verify latency/queueing plus service-level result.

Verification chain. workload I/O → filesystem/page cache → device-mapper/RAID/LV → block queue → device/backend completion → application latency/throughput → workload acceptance

Step 3 Commands Verify boundary
iostat -xz 1 3
iotop -o
df -h
Step 4 Failure modes and next checks Narrow the fault

Suspicious evidence: await/latency and queues grow, throughput collapses, errors/timeouts appear, one underlying device becomes a hotspot or I/O metrics align directly with application stalls.

Step 5 Common mistakes Narrow the fault
  • Reading %util alone on SSD/NVMe.
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

%util near 100 % with high await means the device is saturated. Find the process doing I/O with iotop or pidstat -d. Capacity and inode exhaustion both give "No space left on device".

Key checks
  • iotop -o — processes doing I/O
  • top -o %CPU / htop — live CPU and memory per process
  • vmstat 1 5 — CPU, memory, swap and I/O over time
  • free -h — memory and swap
  • iostat -xz 1 3 — disk utilisation and latency (sysstat)
  • uptime — load averages
ReferenceWhat it is1 section · depth on demand

Core model

Map the workload to the actual block device/LV/RAID path, then sample reads/writes, throughput, IOPS, average and percentile latency where available, queue depth and utilization over the same time window. Correlate with process I/O and filesystem or device errors before deciding whether the first failing step is workload demand, queueing, device latency, RAID/LVM/filesystem or backend storage.

ReferenceImportant terms & boundaries5 sections · depth on demand

What this shows and what it does not

Disk pressure is confirmed only when time-correlated latency/queue/throughput evidence identifies the actual block path and explains workload impact; utilization, iowait or free-space values alone are insufficient.

In depth

Disk I/O: throughput, latency and queueing

Storage problems show up as slow applications, high I/O wait and processes in D state. iostat -x quantifies them per device. The iostat(1) manual page defines the extended fields:

  • r/s and w/s count completed requests, and rkB/s and wkB/s give throughput.
  • r_await and w_await give the average time per request in milliseconds, including queueing.
  • aqu-sz is the average queue length.
  • %util is the share of time the device had I/O in progress.

The manual adds an important caveat: for devices that serve requests in parallel, such as RAID arrays and modern SSDs, %util near 100 % doesn't mean the device is at its limit. The first report covers the time since boot.

Interpreting iostat

ObservationMeaning
High await, high aqu-szThe device can't keep up; requests queue
High await, low aqu-sz, low throughputA slow or failing device, or a slow storage backend (SAN, cloud volume limits)
%util ≈ 100 % on an HDDSaturated
%util ≈ 100 % on NVMe, low awaitProbably fine: parallel device
High w_await onlyWrite cache problems, sync-heavy workloads, RAID parity writes

Rough latency expectations

DeviceTypical await under normal load
NVMe SSDWell under 1 ms
SATA SSDAbout 1 ms
7200 rpm HDD5–15 ms
Network or cloud block storageDepends on the tier; often 1–10 ms

Finding the source

QuestionCommand
Which processes do I/Oiotop -oPa, pidstat -d 1
Which filesfatrace, lsof +D <dir>
Per cgroup/sys/fs/cgroup/<group>/io.stat, io.pressure
Space and inodesdf -h, df -i
host$ iostat -xz 1 3 | awk '/Device|nvme0n1|sdb/'
Device   r/s     w/s     rkB/s     wkB/s r_await w_await aqu-sz  %util
nvme0n1 812.0  2410.0  51200.0  188000.0    0.14    0.31   1.02  99.6
sdb       8.0   310.0     64.0   19840.0   12.40  182.70  56.70 100.0
host$ sudo iotop -oPa -b -n 2 | head -6
host$ pidstat -d 1 3 | sort -k6 -nr | head -3
host$ cat /sys/block/sdb/queue/rotational
1
host$ df -h /srv/backup

Reading the example

nvme0n1 shows 99.6 % utilisation, but sub-millisecond waits and a queue of about 1. It's busy, not saturated. sdb is a spinning disk (rotational 1), with 183 ms write latency and a queue of 57: genuinely overloaded. Finding the process writing to it, perhaps a backup running during the day, is the next step.

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.

How it works at runtime

Disk is part of Resource Monitoring → Disk. Disk resource monitoring focuses on Linux block-I/O demand, latency, throughput, queueing, utilization and per-process/device attribution so storage contention can be distinguished from filesystem capacity or application-level delay.

Topic-specific state model. Disk resource monitoring focuses on Linux block-I/O demand, latency, throughput, queueing, utilization and per-process/device attribution so storage contention can be distinguished from filesystem capacity or application-level delay.

Interpretation rule. - 100% device utilization ≠ necessarily a fault; some devices can be fully busy while meeting latency targets.

  • High iowait ≠ a precise measure of storage utilization or evidence that one disk is the cause.
  • High throughput ≠ healthy storage if latency/queue depth violates the workload requirement.
  • A filesystem with free space ≠ the underlying block path is healthy or fast.

Quick reference

Disk I/O monitoring:

iostat -xz 1                    # r/s, w/s, rkB/s, r_await, w_await, aqu-sz, %util
iotop -oPa                      # per-process I/O (needs root)
pidstat -d 1
cat /proc/pressure/io
sar -d 1 5
df -h; df -i

%util near 100 % is meaningful for single HDDs but not for SSD/NVMe or RAID arrays that serve many requests in parallel — use await and queue size (aqu-sz) there. High w_await with small writes often points at sync writes (fsync) or a busy RAID parity layer.

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

Limits and how it fails

Primary failure point. Disk pressure is confirmed only when time-correlated latency/queue/throughput evidence identifies the actual block path and explains workload impact; utilization, iowait or free-space values alone are insufficient.

ReferenceConfiguration & state1 section · depth on demand

Configuration, persistence and lifecycle

Distribution/platform context. Disk monitoring owns block-I/O performance observation. Filesystems & Mounting, LVM and RAID own their configuration/state; Storage domain owns deeper backend behavior; applications own workload I/O semantics.

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 doclinux current

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

Basis: https://gitlab.com/procps-ng/procps · confidence 94%
Technical changelog & impact

What changed and what may be affected

Recent technical edits are separated from ordinary page timestamps. Relationship impact is advisory: it identifies nearby canonical references to review, not automatic breakage.

Related reference impactReview these references after material technical changes when their shared boundary is affected.
Terminology layer

Terms & aliases

Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.

Aliases that resolve here
linux disk monitoringiostat linuxdisk latency linuxlinux io monitoring
Embedded reference data

Quick lookup tables

Disk operational reference

Topic-specific lookup boundaries, proof limits and next-step Evidence for Disk.

Lookup boundaryTopic-specific referenceOperational use
Scope / effective stateDisk resource monitoring focuses on Linux block-I/O demand, latency, throughput, queueing, utilization and per-process/device attribution so storage contention can be distinguished from filesystem capacity or application-level delay.Establish exactly what this Topic owns before crossing into another subsystem.
Fast verificationPin exact symptom + interval → identify host/VM, workload and authoritative kernel/device/resource scope → capture correlated runtime telemetry/state → attribute the abnormal signal to process/cgroup/device/driver → find first failed boundary → change one demonstrated cause → read back effective state → repeat original workload + regression check.Use the shortest evidence path first; a fast check is a boundary test, not blanket proof.
Verification chainworkload I/O → filesystem/page cache → device-mapper/RAID/LV → block queue → device/backend completion → application latency/throughput → workload acceptanceTrace requested/configured state through effective state to the observed workload result.
Failure boundaryDisk pressure is proven only when time-correlated latency/queue/throughput evidence identifies the actual block path and explains workload impact; utilization, iowait or free-space values alone are insufficient.Stop broad troubleshooting at the first boundary that is not supported by evidence.
Positive evidenceCorrelated Linux resource/kernel evidence can establish this proof path: workload I/O → filesystem/page cache → device-mapper/RAID/LV → block queue → device/backend completion → application latency/throughput → workload acceptanceUse this observation only for the specific claim it actually supports.
Evidence limitIt does not independently prove behavior outside the captured host/VM, boot, incident interval, namespace/cgroup, process, device, kernel/driver or workload scope. Disk pressure is proven only when time-correlated latency/queue/throughput evidence identifies the actual block path and explains workload impact; utilization, iowait or free-space values alone are insufficient.Do not promote a local success signal into end-to-end or adjacent-dependency proof.
Next troubleshooting checkContinue from the first unproven resource/kernel boundary: preserve the exact incident scope, capture the adjacent process/cgroup/device/driver or subsystem state, change only the demonstrated cause, then repeat the original workload and regression checks.Continue to the next unresolved boundary while preserving the original test condition.

Disk · operational reference

Compact Linux state, persistence, verification and boundary reference for fast lookup.

Reference boundaryDisk
Topic pathResource Monitoring → Disk
Runtime stateDisk resource monitoring focuses on Linux block-I/O demand, latency, throughput, queueing, utilization and per-process/device attribution so storage contention can be distinguished from filesystem capacity or application-level delay.
Fast checks- Resolve filesystem/mount to LV/MD/device/backend and record workload I/O pattern plus baseline latency/throughput. - Sample device reads/writes, IOPS, throughput, await/latency, queue depth and utilization over the incident interval. - Attribute I/O to processes/cgroups and inspect kernel/device/filesystem errors, RAID/LVM state and path changes where metrics diverge. - Correct the demonstrated bottleneck or fault, rerun the same I/O workload and verify latency/queueing plus service-level result.
Verification chainworkload I/O → filesystem/page cache → device-mapper/RAID/LV → block queue → device/backend completion → application latency/throughput → workload acceptance Boundary chain: local authoritative state → adjacent dependency → effective/programmed state → original workload/request → return/regression → explicit Evidence boundary. Boundary chain: local authoritative state → adjacent dependency → effective/programmed state → original workload/request → return path or regression → explicit Evidence boundary.
Failure boundaryDisk pressure is proven only when time-correlated latency/queue/throughput evidence identifies the actual block path and explains workload impact; utilization, iowait or free-space values alone are insufficient. Boundary chain: process/context → userspace configuration → kernel subsystem/resource → device/network/filesystem dependency → effective state → original workload.
Persistence ruleProve which configuration source owns the state, then prove that the running consumer loaded or generated the intended state.
Confirmation

Confirm action

Continue?