Pcornel
Browse topics
Options
Recent
Favorites
Storage · Technical reference

Linux Storage Troubleshooting

Direct answer

Troubleshoot Linux storage with lsblk, dmesg and journalctl for I/O errors, df and df -i for space and inodes, mount and fstab, smartctl, iostat for latency, and fsck or xfs_repair on unmounted file systems.

When to use this

Use this when a Linux disk, mount or file system has errors, is full or is missing.

First 30 seconds

1. Start with the kernel log.

2. Missing device: cabling, rescan, multipath.

3. Mount failures: fstab, UUID changes.

4. Read-only remount: filesystem errors.

5. Fix underlying device first.

Operational verification

kernel → device → dm → filesystem → mount

Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common mistakes
  • Forcing fsck on a mounted file system.
  • Deleting open files that still use space (find them with lsof +L1).
  • Ignoring dmesg I/O errors because the application "seems fine".
  • Restarting services repeatedly instead of checking df -i and full disks.
Platform / version applicability
Linux Storage
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 Storage
Key commandlsblk -f ; findmnt ; df -hT ; df -i
Scope / prerequisiteUse this when a Linux disk, mount or file system has errors, is full or is missing.
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 Troubleshooting order Narrow the fault

1. Is the device present? lsblk, dmesg -T | grep -iE 'error|reset|timeout'.

2. Health: smartctl -a, nvme smart-log, multipath -ll.

3. Mounts: findmnt, /etc/fstab, journalctl -b -u '*.mount'.

4. Space and inodes: df -h, df -i, du -xh --max-depth=1 /.

5. Performance: iostat -x 1 (await, %util), iotop, pidstat -d.

6. File system errors: read-only remounts in dmesg; repair unmounted (xfs_repair, e2fsck).

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
  • Check inodes as well as space.
  • Read kernel logs for I/O errors.
  • Repair only unmounted file systems.
Key checks
  • dmesg -T | grep -i -e 'I/O error' -e 'remount' -e 'EXT4-fs error' -e XFS — kernel errors
  • lsblk; findmnt — missing devices/mounts
  • journalctl -b -u '*.mount' — mount failures
ReferenceImportant terms & boundaries1 section · depth on demand

Method

SymptomCheck
New disk not visibleecho '- - -' > /sys/class/scsi_host/hostN/scan, lsblk, dmesg
Grown disk shows old sizeecho 1 > /sys/class/block/sdX/device/rescan
Device names changedUse UUID/by-id in fstab and LVM filters
I/O errorsdmesg -T, smartctl, multipath path state
High latencyiostat -x 1 (r_await, w_await, %util, aqu-sz), iotop, pidstat -d
Hung tasksdmesg "blocked for more than 120 seconds" — storage or NFS not responding
iostat -xz 1
cat /proc/pressure/io         # PSI: time tasks waited on I/O
ReferenceConfiguration & state1 section · depth on demand
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 Storage current

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

Basis: https://docs.kernel.org/block/index.html · confidence 94%
Confirmation

Confirm action

Continue?