Mount or Unmount a Volume with diskutil mount
Re-attach a stubborn external volume or detach one without ejecting, using diskutil's mount and unmount verbs.
01Command
$ diskutil mount /Volumes/MyUSB02What it does
Unlike diskutil eject, which spins the drive down and removes the whole device, unmount only detaches the volume from the file system while the disk stays powered on. That makes it the right tool for unmounting a Time Machine partition while keeping other partitions available, or for scripting safe access to a drive. When a volume fails to mount after an unsafe unplug, diskutil mount on its /Volumes path usually re-attaches it without a reboot.
03Risk
04Undo
$ diskutil unmount /Volumes/MyUSB05Sources
- DISKUTIL(8) - macOS manual pageEvidence: The manual page documents 'diskutil mount' and 'diskutil unmount' as mounting and unmounting a single volume.
- diskutil - Modify, verify and repair local disksEvidence: Lists diskutil's mount and unmount verbs, including 'diskutil unmount /Volumes/MyUSB' as an example, for attaching and detaching volumes without ejecting them.
Last verified: 2026-09-19 · Category: Files & Folders
06Related solutions
See the full APFS container layout: every volume, its capacity, used space, and mounted snapshots.
List the biggest files in your home folder that are eating disk space.
Make Finder display .pdf, .docx, .png and every other extension at all times.