Disk not ejected properly

Hi I'm having this issue since I upgraded to Mavericks where almost every time I put my computers to sleep I get the "Disk not ejected propoerly" message and every disk but the system one is not mounted and cannot be found by Disk Utility.


I have a Mac Mini late 2009 and a Macbook Pro 15 mid 2009 and I'm having this issue in both machines. Never had any issues before in any of my machines, not in Leopard, Snow Leopard or Lion.


On my Mini I have two external USB drives and on my MBP I have a SSD, where the system is installed, and a HD (I replaced my optical drive with a bay to install the extra disk).


I researched the issue and found a couple of threads where people sugested to buy a 3rd party app that would unmount the disks at sleep and remount them at wake, but I think this shouldn't be a issue, since it never happened with any version of OSX I had used before.


Is anybody else having this issue as well? Is there any word from Apple on this subject? Can I hope for a fix?


Thanks

MacBook Pro, OS X Mavericks (10.9)

Posted on Oct 28, 2013 9:55 AM

Reply
493 replies

Jul 25, 2015 2:41 PM in response to MikeF_09

I got my first Mac this January. I have two external hard-drives, one for backups and one for my family tree info & photos. The backup one never ejects improperly, always stays connected but the second one, disconnects improperly consistently. I replace an older HD, which had been attached to my laptop, thinking that its age was the reason for the disconnects. Nope still disconnects. The old one never disconnected from laptop. So I don't think it is a model issue but an issue with Mac going to sleep. I saw somewhere that one person wrote some scripts that basicly pinged the hd every so often. But I really don't want to go this route.


I have read some but all of the comments here on the subject. Tried removing everything from Spotlight like one user suggestions. Nope still happening. With so many people with this issue all with Apple products I think it is indeed an Apple issue.


I only have an all-in-one printer attached, besides this hd and the backup. Oh & a desk light.


Apple please find a fix for this!!!! Does Apple monitor this site???


Very frustrating! Just about makes me want my old laptop back......Sigh.....

Jul 25, 2015 6:34 PM in response to iPhabio

Greetings fellow DNEP sufferers!


New poster to this forum here. I have this issue on my 2013 Mac Mini with an external USB 3 Toshiba SATA drive (used for Time Machine), AND it happens on my 2013 MacBook Air with a PNY 128GB USB 3 flash drive and a Samsung 2.5" SSD in a USB 3 enclosure. Additionally, it has been known to happen while the computer is awake and being used. It also does it when coming out of sleep mode.


Here is where it DOESN'T happen: on my 2010 Mac Pro tower. That computer does not have USB 3 ports on the motherboard, but rather a third-party USB 3 PCIe card. The external USB 3 WD SATA drive (used for Time Machine) connected to the third-party USB 3 card has NEVER had a DNEP issue. Not even once in several months of use.


All of these machines are running the latest version of Yosemite as of this posting (10.10.4).


Here is a question I have: does this problem occur when a USB 2 device is connected to a native USB 3 port? I have an old external LaCie USB 2 SATA drive that I use for Time Machine on my MBA and have yet to see the DNEP. In my world, the evidence seems to indicate that it is a USB 3 thing because I have not seen it with my USB 2 devices.


I perused all of the posts here and don't recall seeing this particular scenario being addressed; however, with so many pages of posts to sift through ⚠, it is entirely possible that I overlooked it.


Thanks for any input out there!

Jul 25, 2015 7:32 PM in response to iPhabio

Forgive me, it has been a while since I reviewed this thread. Has it been established that for most (or all) people on this thread the DNE issue doesn't happen if the Mac is set to never sleep?


For the last year, I haven't had this problem at all. I have a retina iMac, with a LaCie Little Big Disk attached. It does not produce DNE errors, and I do have the computer set to sleep after 1 hour of not being used, and I always put it to sleep at the end of my work day.


However, while the LaCie Little Big Disk is blazingly fast, it's not very high capacity—only 1 TB. I do a lot of photography work, and I've nearly filled it up. One option is to get another Little Big Disk, daisy chain it to the first, and create a RAID-0. This would double the storage capacity and make it even faster than it already is (I regularly get 1,200 MB/s read/write speeds)... and it would hopefully allow me to continue without DNE errors, but it's a lot to pay for only a little more storage space, and it wouldn't be too long before I filled it up too.


I have to believe that this problem is restricted to a certain subset of users. There are hundreds of thousands of people out there with Macs that have external drives, and I doubt all of them have this issue or there would be even more activity here on the forums. The question is, why does it affect some users and not others? Why do some drives have the problem, but not others?

Jul 25, 2015 7:49 PM in response to s_w_i_t_t_e_r_s

It remains a complete mystery. I've had this issue through multiple MacBooks and OS versions, starting clean, so it isn't just some computers or OS versions. It has happened on my LaCie USB 2.0 drive, long gone, and occurs on my WD MyBook USB 3.0 drive regardless of whether it's connected to the rMBP USB port or a 3.0 hub or a 2.0 hub. It has never happened to my G-drive 1 Terra Thunderbolt whether connected via TB or USB 3.0. That's the one that isn't externally powered, but I guess that theory has been discredited.


You would think that Apple could take some console logs from computers with DNE error messages and figure out what was going on.

Jul 25, 2015 10:41 PM in response to prodeuser

Here is a question I have: does this problem occur when a USB 2 device is connected to a native USB 3 port? I have an old external LaCie USB 2 SATA drive that I use for Time Machine on my MBA and have yet to see the DNEP. In my world, the evidence seems to indicate that it is a USB 3 thing because I have not seen it with my USB 2 devices.

That's my experience too, yes. I have a four bay drive box here, with four individual controllers. They have available on each a USB3, FW800 and eSATA port. Each bay is occupied by a variety of hard drive units (Seagate, WD, and Samsung).


If I connect any of the bays to my iMac using USB3, either directly or through a powered hub, I get the DNEP any time my iMac sleeps, and reawakens. The drive icons are also disappeared from the desktop, indicating they really have been ejected. They reconnect again on waking up though.


I also found that it caused other issues too, probably more dependent on the individual drive unit being used. My main photo library is on one external drive, and Lightroom was unable to write anything to the drive while connected using USB3 (unable to move files or create new folders for example). Also, my Time Machine drive reported serious hard drive errors, indicating hardware failure.


Using USB2 showed no errors or problems at all, and everything works great. However, needing a little extra speed from my photos storage, I use a TB-FW800 adapter, and I daisychain the whole lot using FW800, and have absolutely no problems at all with that either.


My suspicion is that it is maybe down to how the Mac controllers work with USB3, I wonder if they inadvertently set the extra power feed to switch off during sleep mode, and this causes the drives (or the Mac system) to think they've been disconnected.

I perused all of the posts here and don't recall seeing this particular scenario being addressed; however, with so many pages of posts to sift through , it is entirely possible that I overlooked it.

I have mentioned this before, but, just to be helpful....


Cheers.

Jul 26, 2015 10:57 PM in response to TheWildRover

Hi guys,


I do not use USB3 on any of my devices (it's only available on 1 external LaCie), and still it happenend to me when I upgraded from 10.6 to 10.9 however, after following Apple's and this forum's advice (see previous post) and did a pram and power reset, my problems are gone. Maybe that's why Apple doesn't seem to bother?


mini (no USB3)

dvd fw 400

3 hd fw 800

Jul 27, 2015 1:38 PM in response to mikedelam

Have been following this thread a long time, and although now on Yosemite a while, it doesn't seem to matter much. Some external hard drives eject but on computer wake up remount; some eject occasionally (the same one might not do so for weeks and then start doing so); and I gather some eject quickly or are not even recognized. There seems to be a myriad of partial fixes (like the ones you allude to) and attempted explanations of particularly scenarios (power fluctuations and load variances, USB 2 v. 3, etc.). What has long been quite clear on this thread and others (some labelled for Yosemite) is that there are many moving parts and little published effort so far by Apple to address any of them. At a minimum, Apple ought to give a useful diagnostic chart on what is known, what is solved, and what is not.

Jul 31, 2015 4:54 AM in response to longtimeuser

@longtimeuser:


I run my LaCie 2Big TB2 in the same configuration.


The DNE problem never occurs when the drive is connected via USB3 to my iMac 5K. No DNE incident in month.

The DNE incident immediately shows up when drive is connected via TB.

Lacie drive was exchanged for a new one (incl. power supply), 3 different TB cables used (one orig. Apple), Yosemite clean reinstall on the iMac. All to no avail.

It is a OSX TB bug.

Aug 10, 2015 1:59 AM in response to iPhabio

Solution and possible workaround


I've been following this thread. I have a new Macbook Pro 13" 2015 and have DNEP with my external hard drive enclosure(brand ORICO, two bays).

It happens intermittently..also wake up from sleep.


Suspect Causes of the problem

I suspect it is caused by the USB3 port on certain models of Macbook and iMac. I have a Mac Mini, it is working fine with the external enclosure.

Major culprit could be the variation of power supply on those USB ports. (Some people blame the logic board, it make sense)


Fix

Get an external USB3 hub with independent power supply.


I have a dell monitor U2414H, it has several USB ports on the monitor. The monitor has independent power supply to those USB ports. So I connect Macbook USB to monitor USB..Then all the devices are connected using monitor USB ports..


Problem solved. NO DNEP afterwards.


Also

I TICK the box in energy saving - Put hard drive to sleep when possible.

Why? Some hard drive could put to sleep themselves..It could have a power saving mechanism..When Macbook fall asleep, the device's self power saving kick in, Macbook then will lose the connection and think it is not ejected properly.


Also use disk utility

Verify and fix every drive - because of the prior DNEP, might cause some damage to file tables..

Aug 10, 2015 8:35 AM in response to lukeby

Glad it's working for you but this is not limited to USB; it happens with Thunderbolt as well.


It has to be an OS X bug. That's the only thing that makes sense, because the DNE error seems to occur with all different hardware models, USB3, Thunderbolt, Thunderbolt 2.


This has become a huge issue for me, because although my LaCie Little Big Disk has worked flawlessly (it's the only external drive that hasn't given me DNE errors), it is 80% full and soon I will need another solution.


I'm considering just keeping my iMac powered on for the entire day, not allowing it to sleep until I go to bed. Then I could use Jettison or manually unmount and mount the external disk(s) once a day.

Aug 24, 2015 10:48 AM in response to iPhabio

The problem as gone away for me. I have an iMac with an external Seagate drive connected via FW800. I stopped getting the error message when i deselected
"Put hard disks to sleep when possible" in the Energy Settings control panel. I still plan to troubleshoot and see if there's a way I can use this setting again, but at least I've stopped the error message from popping up every time my iMac sleeps.

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.

Disk not ejected properly

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