This article provides instructions to prevent random ejection of external drives on a Mac.
The message “Disk Not Ejected Properly” usually appears when an external drive is disconnected from the computer without safely ejecting. However, some users have reported issues with drives randomly ejecting themselves after updating the macOS. Most reports indicate that the issue is seen after the computer has gone to sleep. See the prompt below:
There are a few other instances that can cause random ejection of an external drive:
- A defective external drive cable
- Defective external desktop drive power supply
- Defective computer USB or Thunderbolt port
- Failing external drive
- Issue related to macOS update or the update process
Troubleshoot
- Test the external drive using a different cable
- Test a different power supply (external desktop drive)
- Connect to a different USB or Thunderbolt port on your computer
- Diagnose your external drive by running First Aid. Click here for instructions
- Reset NVRA or PRAM on your Mac
Methods to avoid Unexpected Ejections
Safely Ejecting When Not Using
The best method to avoid unexpected ejections is safely ejecting the drive when you are done using it. Use one of the methods listed below to eject an external drive:
- On the desktop right-click the drive then choose Eject “Drive Name”
- On the desktop, drag the external drive to the Trash
- In Finder, click the Eject button next to the external drive
Preventing computer and drive from sleep
If your drive was working normally and the ejection issue started after upgrading the macOS, the issue may relate to macOS itself. If that’s the case, a method that prevents both computer and external drive from sleeping avoids unexpected ejection. See the steps below:
Changing Mac’s Energy Saver settings on MacBook
- Click on the Apple icon then select System Preferences
- Click on Energy Saver
- Click on Power Adapter
- Enable “Prevent computer from sleeping automatically when the display is off”
- Disable “Put hard disks to sleep when possible”
Note: The workaround will not work if the Mac is operating on battery. The Mac power supply must remain connected and the computer lid must remain open.
Changing Mac’s Energy Saver settings on iMac and Mac Mini
- Click on the Apple icon then select System Preferences
- Click on Energy Saver
- Enable “Prevent computer from sleeping automatically when the display is off”
- Disable “Put hard disks to sleep when possible”
Mac Book Pro-Energy Saver
iMac Energy Saver
Mac Mini Energy Saver
Note: Your drive may still eject if you manually put your Mac to sleep even after changing these settings. In this case, it’s best to safely eject your drive before you put the Mac to sleep.
Comments
3 comments
Hi Brandon, Thanks for this comprehensive list of things to check under these circumstances - the best I've seen.
I was having this problem recently - and I discovered that I'd mistakenly plugged the power plug for my StarTech USB3 hub into my Glyph Hub and some random 2 amp power plug into the Glyph Hub. So the drives were ejecting and display port was really slow in mounting my external monitor. I discovered this dumb mistake after reading your summary. And as soon as I fixed it, the problem disappeared. Glad you're keeping these FAQ's updated for all the recent changes in hardware and software - M1 silicon, APFS, Catalina, Big Sur, USB 2, 3 and 4, thunderbolt... (gasp) this is invaluable...
Robert,
Thank you! Great to hear you solved your issue.
Thank you for choosing Glyph and have a great day!
Brandon Richardson / Service Technician
I have the Glyph Atom Pro NVMe 2TB SSD. I use it with a MacBook Pro running MacOs Big Sur 11.2. The drive has two partitions, 1.3TB and 700 (or so)GB. I have previously been using the smaller partition as a Time Machine backup. I tried my first backup on Big Sur yesterday, and the process has frozen. I guess the Mac wanted to do a full backup on Big Sur and space may have been lacking. I have tried to eject the TimeMachine partition and it will not because it says the drive is being used. I have tried First Aid and Erasing the drive, both without success for the same reason. I have tried the suggested troubleshooting steps including the NVRA reset without success. I have restarted in Recovery mode and Disk Utility unhelpful there too. I can force eject the drive, but on plugging back in, the issue persists.
How do I delete the "2021-02-05-194833.inProgress" file that is the likely culprit for making the Mac think there is an ongoing use of the drive? I have tried connecting to another Mac without success. I even tried connecting to a PC and formatting the drive, but the PC sees the drive as an external SSD, but I was unable to access or format the drive. Any assistance appreciated. I put a call in to Apple support and they are researching the issue too.
I am totally okay with formatting the drive, but I currently cannot. I would do it on the PC if possible, but I have not been able to for the brief time I spent trying there--limited PC knowledge.
Please sign in to leave a comment.