You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Need to shut down to eject external HD.

iMac 24" 2021 with M1 chip. Sonoma 15.1


I know this has been a problem for people in the past but I haven't encountered it in over a year. When I try to eject a disk, through finder or by right clicking and choosing eject, it sends the "force to eject" message because another program is using it. I have tried different ports, different disks, different cords, different usb connections, still getting the same message. Activity monitor shows no programs are open. This morning I turned on my computer, attached a disk, and before touching another button, tried to eject the disk but still getting the force to eject message. I am afraid to continually force eject a disk so I have been shutting the computer down and this is becoming a real pain.

Is anyone else having this problem and found a solution?

Thanks, Susan

iMac 24″, macOS 15.1

Posted on Nov 7, 2024 7:07 AM

Reply
5 replies

Nov 7, 2024 11:17 AM in response to sooperduty

It is still back to knowing if something is accessing that external drive or not. For instance, I just mounted a random USB stick named STUFF. I opened a Terminal window and changed directory to that external drive. In that Terminal window, I want to see what is accessing that drive and I find the Zsh shell in Terminal and three other processes have a grip on it:



As soon as I change directory out of that external drive, the same command above returns nothing, but it still won't eject… 🤨 even after quitting the Terminal application.

Nov 7, 2024 7:14 AM in response to sooperduty

Being UNIX, the operating system keeps an in-use flag with a counter of the application processes (including the Finder) that continue to access a mounted device. When that count reaches zero, then you can eject that device normally. It might be Spotlight indexing; simply having an open Finder window on that mounted device, or a Terminal window.


One of the biggest offenders in my own experience is the Music application. I may have an external drive mounted with a Music folder playing Music. Even after I quit the Apple Music app, I still cannot eject that drive until I reboot. Other times, it ejects normally after quitting Music.

Need to shut down to eject external HD.

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.