Linux filesystem tools
Perform a read-only filesystem consistency check
fsck -n <device>
Operational command for Perform a read-only filesystem consistency check. Focus fields: filesystem type, superblock/check phases and reported inconsistencies.
Use when working the canonical Topic storage--filesystems-filesystem-repair and the matching failure boundary.
unmount or schedule maintenance and choose the filesystem-specific repair procedure before any write repair
Privilege Use an account/context authorized for this observation; do not broaden scope unnecessarily.State impact Read-onlyProduction Unknown
Field glossary
Important fields projected from persisted Command guidance.
filesystem type, superblock/check phases and reported inconsistenciesImportant persisted output field; use surrounding guidance for interpretation.
Used in these Topics
Each relation carries both placement role and operational semantic: verifies, configures, troubleshoots, collects evidence, changes state or general.
Evidence boundary
What this output can establish — and where you must not over-claim.
This command directly exposes filesystem type, superblock/check phases and reported inconsistencies for the selected object/context at execution time.
It does not by itself prove root cause, health of an adjacent dependency, or end-to-end workload recovery.
unmount or schedule maintenance and choose the filesystem-specific repair procedure before any write repair
Command guidance
Execution context
Linux filesystem tools
Use when
Use when working the canonical Topic storage--filesystems-filesystem-repair and the matching failure boundary.
Important fields
filesystem type, superblock/check phases and reported inconsistencies
Common problems
Common mistakes: wrong object, node, VRF/namespace, time window, or treating a management-plane status as workload proof.
Operational impact
Read-only observation; runtime cost still depends on platform and result size.
Runtime cautions
Capture the command, selected scope and timestamp so the result can be correlated with the original test.
Technical context
Known-good: the selected filesystem reports clean/no repair-required state. Suspicious: metadata inconsistencies or unreadable structures are reported. Next discriminating check: unmount or schedule maintenance and choose the filesystem-specific repair procedure before any write repair.
Variants · known-good and broken output
Read the stored sample against its authored expected state and interpretation, then return to the Command evidence boundary for what the observation can and cannot prove.
Illustrative Known-good interpretationKnown-good · Linux filesystem tools
Illustrative state cue only; not captured output: the selected filesystem reports clean/no repair-required statehealthy
Perform a read-only filesystem consistency check — Known-good. Inspect filesystem type, superblock/check phases and reported inconsistencies. Observed cue: the selected filesystem reports clean/no repair-required state. This supports only the state returned by fsck -n <device> for the selected object and time window. It does not establish root cause or prove the next dependency. Next check: unmount or schedule maintenance and choose the filesystem-specific repair procedure before any write repair. Correlate the result with the same workload/test before declaring recovery.
This command directly exposes filesystem type, superblock/check phases and reported inconsistencies for the selected object/context at execution time.
Does not prove: It does not by itself prove root cause, health of an adjacent dependency, or end-to-end workload recovery.unmount or schedule maintenance and choose the filesystem-specific repair procedure before any write repair
Illustrative Transitional interpretationTransitional · Linux filesystem tools
Illustrative state cue only; not captured output: The command returns the expected object, but one or more state/counter fields are still moving toward a terminal result.transitional
Perform a read-only filesystem consistency check — Transitional. Inspect filesystem type, superblock/check phases and reported inconsistencies. Observed cue: The command returns the expected object, but one or more state/counter fields are still moving toward a terminal result.. This supports only the state returned by fsck -n <device> for the selected object and time window. It does not establish root cause or prove the next dependency. Next check: unmount or schedule maintenance and choose the filesystem-specific repair procedure before any write repair. Correlate the result with the same workload/test before declaring recovery.
This command directly exposes filesystem type, superblock/check phases and reported inconsistencies for the selected object/context at execution time.
Does not prove: It does not by itself prove root cause, health of an adjacent dependency, or end-to-end workload recovery.unmount or schedule maintenance and choose the filesystem-specific repair procedure before any write repair
Illustrative Broken interpretationBroken · Linux filesystem tools
Illustrative state cue only; not captured output: metadata inconsistencies or unreadable structures are reportedbroken
Perform a read-only filesystem consistency check — Broken. Inspect filesystem type, superblock/check phases and reported inconsistencies. Observed cue: metadata inconsistencies or unreadable structures are reported. This supports only the state returned by fsck -n <device> for the selected object and time window. It does not establish root cause or prove the next dependency. Next check: unmount or schedule maintenance and choose the filesystem-specific repair procedure before any write repair. Correlate the result with the same workload/test before declaring recovery.
This command directly exposes filesystem type, superblock/check phases and reported inconsistencies for the selected object/context at execution time.
Does not prove: It does not by itself prove root cause, health of an adjacent dependency, or end-to-end workload recovery.unmount or schedule maintenance and choose the filesystem-specific repair procedure before any write repair