"Disk Not Ejected Properly" Alert after computer goes to sleep USB3 only

57,873

Solution 1

The likely answer is that your external drives also have a hibernate feature on them, and when they hibernate, Yosemite sees it as the drive disconnecting without it being ejected.

This exception is likely picked up by OS X even though the system is asleep. When you wake the Mac again, you will still see the warning, but the drives are also woken up and reestablish their connection to the Mac, so you can access them and see them as mounted.

Check the documentation for the drives that you have to see if they have a hibernate feature and whether it can be turned off. If it can, then turn it off, let the computer go to sleep and see if the warning comes back.

You can also test by setting the Energy Saver>Computer Sleep in System Preferences to 1 minute let the computer go to sleep, then wait about 5 to 10 minutes and wake it again. Unless the external drives are taking their cue from the USB card and hibernating the drives, they likely should not have entered hibernation, which means when you wake the Mac, you shouldn't see the Disk Not Ejected Properly warning.

Though less likely check the documentation for the USB 3.0 card and see how it behaves when your computer goes to sleep. Maybe it enters into low power mode that causes it to loses its connections, sort of like how your phone won't charge from a USB on a shutdown computer.

UPDATE

I thought of another thing that you can check for. Take a look at *Energy Saver>Computer Sleep** in System Preferences and see if the "Put hard disks to sleep when possible" is checked. This really should only effect internal HDDs, but maybe that could have a knock on effect to your external HDDs as well.

Also, if you have not filled these drives up yet and have the room to back them up, I would recommend going into Disk Utility and formatting them as Mac OS Extended (Journaled), or even better as they are externals, Mac OS Extended (Journaled, Encrypted), if you have not already done so. While most manufactures say that they are Mac compatible, what it usually means that they are ExFat formatted. If you are using the drives exclusively with Mac, it is always best to freshly format them to the native OS X format. It also has the added benefits of wiping away all of the OEM "utilities" that generally do nothing but make performance worse.

Solution 2

in energy saver settings in system preferences disable or uncheck "put hard disks to sleep when possible" That stops the HDs from ejecting when MAC goes to sleep.

Solution 3

Finally figured this out. My issue was my surge protecter. I had my drive plugged into a secondary slot that would power down when not in use (computer in master plug and when computer would sleep all other outlets power down).

I switched to and "unswitched" outlet on surge protector and now all is good.

Share:
57,873

Related videos on Youtube

Chris James Champeau
Author by

Chris James Champeau

Updated on September 18, 2022

Comments

  • Chris James Champeau
    Chris James Champeau almost 2 years

    Ok so this is a relatively new one for me, I recently upgraded my computer, both to Yosemite and installing a USB3 Card from Sonnet. I have downloaded the drivers for the Sonnet card, and everything works great with it. However when my computer goes to sleep and then wakes back up, I am left with the alert that a drive was not ejected properly. It will list any and all USB 3 drives only that were connected and mounted. However when waking back up those drives will still be mounted on the computer.

    So I am not sure what is causing the message, or if the drives are actually being disconnected, but something seems to be amiss.

    Any help would be appreciated.

    Computer system is 2012 Mac Pro 3.47 12 Core

  • Chris James Champeau
    Chris James Champeau almost 9 years
    All good theories, let me do some digging and see if I can find any info on that
  • Chris James Champeau
    Chris James Champeau almost 9 years
    Ok it seems that you are correct, It is an issue with my USB 3 card. It shuts down essentially when the computer goes to sleep. My solution for now is an application called Jettison for Mac. It safely unmounts drives when the computer goes to sleep. I cant say if it is the best option but I stopped getting the notification, so we will see.
  • AMR
    AMR almost 9 years
    The other alternative is to set Computer Sleep in Energy Saver all the way to the right, which is Never, Check Put Hard Disks to Sleep When Possible, so that it will save some energy on spinning Hard Drives (assuming you don't have SSDs), and then just have Display Sleep set to the interval that you want. If you pair that with the Require Password setting in Security & Privacy and set a screen saver with the same interval as Display Sleep (though probably unnecessary), then you get for the most part the same effect as system sleep.
  • David Richerby
    David Richerby over 8 years
    This directly contradicts the accepted answer. Could you give some explanation about why the other answer is wrong on this point and you're right?
  • John Scipione
    John Scipione almost 7 years
    Have the same problem here. This solution does not work. Unchecking "Put hard disks to sleep when possible" in Energy Saver has no effect.
  • John Scipione
    John Scipione almost 7 years
    Tried adding drives to spotlight blacklist but did not fix “Disk Not Ejected Properly” on sleep
  • G-Man Says 'Reinstate Monica'
    G-Man Says 'Reinstate Monica' about 4 years
    Please see How do I recommend software in my answers?  Most importantly, say where to get the software, describe how it answers the question, and disclose any association that you have with the product.
  • Duck
    Duck about 4 years
    It is amazing how long Apple keep their bugs not fixed, that a developer has time to develop a fix and sell thru Apple's own store, without any engineer from their team to take notice and fix that crap. There are hundreds of apps out there to fix apple's half cooked crap that sell for decades. AMAZING!
  • Duck
    Duck about 4 years
    "but for now, the USB2 ..." ... correction: this will never be solved.
  • Edward Falk
    Edward Falk over 3 years
    It seems that all of these solutions involve disabling energy saving features. I kind of like energy saving features.
  • Brill Pappin
    Brill Pappin almost 3 years
    This is similar to what I'm experiencing. I don't mind a single warning, but I'm getting hundreds that I have to manually close one by one. This is a bug in MacOS.