Look for hardware and filesystem errors in kernel logs.
Section: Troubleshooting
Filter kernel logs for storage messages
bash
bash
dmesg | egrep -i 'sd[a-z]|nvme|md|I/O error|ext4|xfs'Explanation
Look for hardware and filesystem errors in kernel logs.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Troubleshooting
Search journal for disk errors
Kernel journal view for storage-related problems.
Show disk throughput and utilization
Inspect per-device read/write rates and utilization over time.
Watch per-process I/O usage
Find which processes generate the most disk I/O.
Show per-process I/O counters
Track read/write activity by process over time.
Show system-wide I/O wait and block activity
Quick check for iowait, swap, and block device pressure.
Interactive disk usage explorer
Find large paths interactively with a terminal UI.