Pcornel
Storage · Filesystems

Mounting

Cheat sheet · https://pcornel.dk/topic.php?topic=3962

Back to the Topic

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 options
  • cat /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 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 boundaryA 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
AcceptanceHealthy 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

Confirmation

Confirm action

Continue?