Filesystem
Cheat sheet · https://pcornel.dk/topic.php?topic=3849
Answer
A filesystem transforms a block-oriented address space into a structured namespace. It maintains metadata that maps filenames and directories to allocated extents/blocks and may add journaling, copy-on-write, checksums, snapshots or other features.
Remember
- A filesystem is not the same thing as the volume or disk that contains it.
- Filesystem free space can differ materially from pool/device free space.
- A mounted filesystem can still contain corruption or be forced read-only.
- Extending the underlying block device often requires a separate filesystem grow operation.
First checks
df -hT— filesystem type and usagefindmnt -o TARGET,SOURCE,FSTYPE,OPTIONS— mount optionsGet-Volume | ft DriveLetter,FileSystem,SizeRemaining— Windows
Verify in this order
files → filesystem metadata → volume blocks
Where it usually breaks
First mismatch in media/provider → controller/pool → logical object → path/protocol → filesystem/share/object namespace → consumer workload; preserve identity/pre-state before mutation.
Storage Fundamentals → Filesystem reference map
| Boundary | What it means | Evidence limit |
|---|---|---|
| Consumer view | What the workload/OS believes is available | Does not prove lower-layer allocation, path or media health |
| Logical storage | Volume/LUN/share/pool/datastore or object namespace presented to the consumer | Object existence does not prove backing capacity or correct ownership |
| Transport/backing | Protocol, path, controller, storage service and protection that carry/persist I/O | Path/control-plane health does not prove application data |
| Acceptance | Original data can be written, committed and read back correctly by the intended workload | Required for end-to-end closure |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3849