Mounting
Cheat sheet · https://pcornel.dk/topic.php?topic=3962
Answer
The mount operation binds a filesystem instance and source to a namespace location with options such as read/write, permissions and behavior flags. Runtime mount state is distinct from persistent boot-time configuration.
Remember
- Mounted ≠ persistent across reboot.
- Mountpoint path ≠ backing device identity.
- Mounted read-only ≠ healthy writable service.
- Successful mount ≠ end-to-end application access.
First checks
findmnt <mount>— mounted with optionscat /etc/fstab— persistent mounts (UUID)mount -a— test fstab
Verify in this order
fstab → systemd mount → mounted filesystem
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.
Filesystems → Mounting filesystem map
| Filesystem boundary | What to verify | Proof limit |
|---|---|---|
| Identity / attachment | Filesystem type, source/backing object, mount/attachment target and effective options | Presence or mount state alone does not prove consistency or lower-layer health |
| Capacity / metadata | Data space, metadata/inodes, quotas/reservations and filesystem state | Free bytes at one layer do not prove allocation can succeed end to end |
| Failure boundary | A successful mount proves the OS attached the source at the target with accepted options; it does not prove persistence after reboot, writable capacity, application permissions or lower storage health. | Correlate filesystem evidence with the backing volume/path/backend before repair |
| Acceptance | Healthy evidence: intended source is attached to intended target with expected options, persists as designed and representative application I/O succeeds. | Close only after the original path/workload and read-back check succeeds |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3962