Section: Mount and Unmount

Unmount by mountpoint

bash
bash
sudo umount /mnt/data
Explanation

Detach a mounted filesystem.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Mount and Unmount
Lazy unmount a busy mount
Detach the mount now and clean up after current users release it.
OpenIn sheetbashsame section
Show processes using a mountpoint
Helpful before an unmount that fails with target is busy.
OpenIn sheetbashsame section
Mount a device to a directory
Mount a block device using filesystem auto-detection.
OpenIn sheetbashsame section
Mount a filesystem read-only
Useful for safe inspection or recovery work.
OpenIn sheetbashsame section
Mount by UUID
Use a stable identifier instead of a device name.
OpenIn sheetbashsame section
Bind mount a directory
Expose the same directory tree at another path.
OpenIn sheetbashsame section