· For many users, the easiest way to unmount a drive in Mac is to either just drag a volume into the Trash, use the eject keys, disconnect the drive, or use one of the force eject methods. Along the same lines, if you want to remount a drive you can usually just physically unplug the drive and plug it …
Force unmount volume mac terminal hacks You can mount and unmount drives, volumes, and disks from the command line of MacOS and Mac OS X. For many users, the easiest way to unmount a drive in Mac is to either just drag a volume into the Trash, use the eject keys, disconnect the drive, or use one of the force eject methods.
Step 1: Click on the Spotlight icon from the menu bar. Step 2: Type Disk Utility in the search field. Step 3: Double-click on the Disk Utility icon. Step 4: In the Disk-Utility app, select the disk that you want to unmount in the sidebar. Step 5: Click the unmount button in the toolbar or beside the disk set name.
· In the Terminal window, type in the following command: diskutil list; This will list down all the available disks on your Mac. Look for the disk that you want to force unmount and take note of the number of the drive. Type in this command next: sudo diskutil unmountDisk force /dev/diskx
For those of you that prefer using Terminal, or would rather eject the drive with a single command, simply open Terminal, and type the following: diskutil unmountDisk force /Volumes/DISK_NAME Just replace DISK_NAME with the name of the volume you want to eject, press enter, and you’re done!
I can't even re-partition or re-format the complete drive, since it simply won't un-mount the drive. I run df, and it shows the volume, but fstat or lsof does not show that the volume is even in use! I tried starting up with OS 9.2.2, but it seems to hang at startup, like it's trying to wait for this volume to open.
umount is the opposite of mount. You'll need to know the name of the mount point - that is, the name in /Volumes that corresponds to that network drive. umount /Volumes/VolumeName Per man umount, umount may fail for any number of reasons, and the recommend command is instead diskutil: diskutil unmount /Volumes/VolumeName