Pcornel
Browse topics
Options
Recent
Favorites
Storage · Technical reference

Filesystem Troubleshooting

Direct answer

Filesystem troubleshooting starts from the exact error and path, identifies which filesystem and disk hold that path, then checks mount state, permissions, free space and inodes, consistency and the underlying volume or disk in turn.

When to use this

Use it as the entry point when something on Filesystems fails and you need to find the failing layer.

First 30 seconds

1. Symptoms: read-only remount, no space, slow, corruption.

2. Read kernel log first.

3. Check space and inodes.

4. Check underlying device health.

5. Repair or restore.

Operational verification

symptom → kernel log → device → filesystem

Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Failure and repair traps

The first failed filesystem boundary narrows ownership; evidence at one layer does not show adjacent dependencies or application health. Destructive repair is deferred until lower layers and recovery options are understood.

Suspicious evidence: wrong mount source, read-only remount, inode/metadata exhaustion, recurring checksum/journal errors, lower-layer I/O faults, multiple simultaneous changes or repair is attempted before evidence capture.

Platform / version applicability
Storage architecture and operations
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 architecture and operations
Scope / prerequisiteUse it as the entry point when something on Filesystems fails and you need to find the failing layer.
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 Verification path Verify boundary

symptom/time → affected path/scope → mount/attachment → filesystem metadata/capacity/access → volume/device → storage path/backend → minimal change → original-test verification

Healthy evidence: the intended filesystem is mounted/attached, access and capacity are correct, no correlated metadata/backend errors remain and the original workload plus read-back succeeds.

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
  • Symptom ≠ root cause.
  • Read-only filesystem ≠ automatically filesystem corruption.
  • No space left ≠ always byte-capacity exhaustion.
  • Repair tool success ≠ workload recovery proven.
Key checks
  • dmesg | grep -i -e ext4 -e xfs -e btrfs -e 'I/O error' — filesystem/kernel errors
  • df -h; df -i — space/inodes
  • findmnt -o TARGET,OPTIONS | grep ro, — read-only remounts
ReferenceImportant terms & boundaries2 sections · depth on demand

Namespace and consistency

The first failed filesystem boundary narrows ownership; evidence at one layer does not show adjacent dependencies or application health. Destructive repair is deferred until lower layers and recovery options are understood.

Method

SymptomFirst checks
No space left on devicedf -h, df -i, deleted-open files (lsof +L1), snapshots
Remounted read-onlydmesg for I/O or journal errors; disk health
Mount fails at bootjournalctl -b -u <mount unit>, UUID in fstab, missing nofail
Slow metadata opsMillions of files per directory, fragmentation, no noatime
Corruption reportedHardware first (SMART, cables, RAM), then filesystem check
dmesg -T | grep -iE 'ext4|xfs|btrfs|I/O error'
blkid; lsblk -f
smartctl -H /dev/sda
Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
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 architecture and operations current

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

Basis: https://docs.kernel.org/filesystems/index.html · confidence 94%
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
filesystem troubleshootingfile system problemsfilesystem errors
Embedded reference data

Quick lookup tables

Filesystems → Filesystem Troubleshooting filesystem map

Fast namespace, metadata, capacity, attachment and verification boundaries for Filesystems → Filesystem Troubleshooting.

Filesystem boundaryWhat to verifyProof limit
Identity / attachmentFilesystem type, source/backing object, mount/attachment target and effective optionsPresence or mount state alone does not prove consistency or lower-layer health
Capacity / metadataData space, metadata/inodes, quotas/reservations and filesystem stateFree bytes at one layer do not prove allocation can succeed end to end
Failure boundaryThe first failed filesystem boundary narrows ownership; evidence at one layer does not prove adjacent dependencies or application health. Destructive repair is deferred until lower layers and recovery options are understood.Correlate filesystem evidence with the backing volume/path/backend before repair
AcceptanceHealthy evidence: the intended filesystem is mounted/attached, access and capacity are correct, no correlated metadata/backend errors remain and the original workload plus read-back succeeds.Close only after the original path/workload and read-back check succeeds
Confirmation

Confirm action

Continue?