Why can't I eject my USB drive on Mac?

None of the solutions from other discussions or reddit have worked. I have no programs open. What is a permanent solution for this. I reformat multiple usbs and have this issue on both of my MacBook Pro models.





[Re-Titled by Moderator]

MacBook Pro 14″, macOS 15.1

Posted on Dec 17, 2024 9:43 AM

Reply
Question marked as Top-ranking reply

Posted on Dec 17, 2024 9:49 AM

I don't know what you've tried, but mds_stores is the process used by Spotlight to index your drives for searching. You can try going to the Spotlight system settings and under Search Privacy set that external drive not to be included, then try erasing it again.


Hope this helps.

3 replies

Dec 17, 2024 6:42 PM in response to TurboHoop

Launch the Terminal app and issue the following command making sure to replace "<PID>" with the process number listed in the error message when you attempt to erase the drive. You need to erase the drive again so that you get the current PID to use with the Terminal app since the PIDs will change over time.

sudo  kill <PID>


So if you just tried to erase the drive and received the error message in your photo, then the command would be:

sudo  kill 285


If you use an outdated PID number or mistype the PID, then you may be terminating an unknown process with unknown ramifications. This "kill" command is performing a Force Quit on the process(es) associated with the PID.


You will be prompted for your admin password. Nothing will appear on the screen as you type the password, so press the "Return" key to submit the password.


This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Why can't I eject my USB drive on Mac?

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