Use it when a disk fills, writes fail, or the system is slow because of I/O.
Disk
Disk monitoring covers capacity (df), inodes (df -i), and performance: throughput, IOPS, utilisation (%util) and latency (await) per device.
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.
workload I/O → device queue → latency and utilisation → capacity and inode use
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
Operational reference
Fast context before you go deeper.
iostat -xz 1 3Verification & 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 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 · 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.
%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".
iotop -o— processes doing I/Otop -o %CPU / htop— live CPU and memory per processvmstat 1 5— CPU, memory, swap and I/O over timefree -h— memory and swapiostat -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/sandw/scount completed requests, andrkB/sandwkB/sgive throughput.r_awaitandw_awaitgive the average time per request in milliseconds, including queueing.aqu-szis the average queue length.%utilis 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
| Observation | Meaning |
|---|---|
| High await, high aqu-sz | The device can't keep up; requests queue |
| High await, low aqu-sz, low throughput | A slow or failing device, or a slow storage backend (SAN, cloud volume limits) |
| %util ≈ 100 % on an HDD | Saturated |
| %util ≈ 100 % on NVMe, low await | Probably fine: parallel device |
| High w_await only | Write cache problems, sync-heavy workloads, RAID parity writes |
Rough latency expectations
| Device | Typical await under normal load |
|---|---|
| NVMe SSD | Well under 1 ms |
| SATA SSD | About 1 ms |
| 7200 rpm HDD | 5–15 ms |
| Network or cloud block storage | Depends on the tier; often 1–10 ms |
Finding the source
| Question | Command |
|---|---|
| Which processes do I/O | iotop -oPa, pidstat -d 1 |
| Which files | fatrace, lsof +D <dir> |
| Per cgroup | /sys/fs/cgroup/<group>/io.stat, io.pressure |
| Space and inodes | df -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.
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.
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
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 Resource Monitoring → Disk. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://gitlab.com/procps-ng/procps · confidence 94%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.
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.
Quick lookup tables
Disk operational reference
Topic-specific lookup boundaries, proof limits and next-step Evidence for Disk.
| Lookup boundary | Topic-specific reference | Operational use |
|---|---|---|
| Scope / effective state | 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. | Establish exactly what this Topic owns before crossing into another subsystem. |
| Fast verification | Pin 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 chain | workload I/O → filesystem/page cache → device-mapper/RAID/LV → block queue → device/backend completion → application latency/throughput → workload acceptance | Trace requested/configured state through effective state to the observed workload result. |
| Failure boundary | 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. | Stop broad troubleshooting at the first boundary that is not supported by evidence. |
| Positive evidence | Correlated 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 acceptance | Use this observation only for the specific claim it actually supports. |
| Evidence limit | It 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 check | Continue 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 boundary | Disk |
|---|---|
| Topic path | Resource Monitoring → Disk |
| Runtime state | 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. |
| 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 chain | workload 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 boundary | 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. Boundary chain: process/context → userspace configuration → kernel subsystem/resource → device/network/filesystem dependency → effective state → original workload. |
| Persistence rule | Prove which configuration source owns the state, then prove that the running consumer loaded or generated the intended state. |