Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

steve62388

macrumors 68040
Original poster
Apr 23, 2013
3,108
1,996
My external disk won't eject.

I know exactly what is happening, I just want some ideas for the most elegant way to get around the problem.

My external APFS formatted disk has two volumes, one normal and one for backup (by Carbon Copy Cloner). The backup volume is marked as a data volume. Since Monterey, macOS marks data volumes as hidden. Therefore the disk doesn't appear in Finder or on the desktop. It does show in disk utility. When I connect the disk both the normal volume and hidden data volume mount. I can eject the normal volume from Finder, but I have to start Disk Utility and dismount the data volume from there. It's very kludgy.

I was thinking about implementing a workaround. Maybe some sort of script or Automater task. Not that I would know how to do that off the top of my head. I don't even know if it's possible. Do you have any ideas?

I posted about hidden data volumes here:
 
Last edited:
So I don't think this is possible with Automator. The Get Specified Finder Items action would have been the way to do it (and then Eject Disk), but with the volume being hidden it can't be selected.
 
Fixed it. Kinda.

I created an Automator application. 'Run Shell Script'. Add a line to the script diskutil unMountdisk /dev/disk5 (your disk number might be different). Save. Now I have an app on my desktop I can run to properly unmount the disk.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.