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.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

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
Question marked as Top-ranking reply

Posted on Jan 25, 2014 12:05 AM

Hi All


I am not sure if the fix I am about to relay will work for everyone here BUT it has certainly worked for me!


I have a new MBPr which I migrated from my old MBPr and immeadiatly started to get the problems described in this forum.


I have investigaed most of the solutions suggested here and elsewhere without any success, I did install Jettison but while this masked the problem it actually stopped most of my backups working!


So I called Apple support and pushed it very hard until I had a Teir 2 person on the line and she was incredibly helpful, supportive and instisted she woudl ge the problem fixed and she delivered.


She pinned the problem down to the migration from the older machine/prefs corruption.


I will try and record here exactly what we did.


Instructions


1. Pull out your ethernet cable and disable WiFi and any other network connectivity you have.


2. Open Finder, go to your computer and then select you Macintosh HD (or whatever you have renamed it).


3. Go to Macintosh HD - Library - Preferences


4. Scroll all the way to the bottom of the list and you ewill see a folder called SystemConfiguration


5. Pull this folder onto the desktop.


6. Go to System Preferences - Sharing and change the name of your computer, even just a litlle bit.


7. Reboot


8. Re-enable Wifi and Ethernet


9. If you have installed Jettison, remove it and remove it from your start up items.


You shoudl be good to go.


My machine was constantly ejecting my USB drive, even if left for onnly 10-15 minutes, since doing this I have not had one single ejection and I am into 48 plus hours of run time.


If you like what Jettison does but don't want to eject the disks everytime your computer sleeps and it will!, then try UnDock from the Mac App store.


Very similar functionality BUT it is a manual process.


In my case if I am going to be going out I will simply use the key combo I hae seletced Ctrl-Alt-Command plus U and all my external devices undock.


I really hope this helps one or more you you guys.


Robin

493 replies

Apr 18, 2015 4:08 AM in response to David_ B.

There is working natively, and then there is workarounds... yours sir, is a workaround.


Yours sounds like a network issue (assuming it appears as a network volume), so the fix mentioned earlier may work for you (if you combine it with the big three - reset PRAM/nvRAM & SMC, apply the fix mentioned, leave the power off (everything) overnight - and then see if it still works.


PS. Do you get the identical "Drive could not be ejected" message?


Sorry I didn't research your earlier posts, I did read them but didn't connect you with them when I replied.


Please accept my apologies for the attitude, it was unintended.


PPS. You may wish to repair permissions on your boot volume (and even your NAS volumes) and see if that is what is causing it?! worth a try.


best of luck!

Apr 22, 2015 9:14 AM in response to iPhabio

Just incase that doesn't work, after buying lots of usb3 enclosures and trying load of hard disks i found a solution that works on my 5k iMac...

1. Disable "put hard disks to sleep when possible" in energy saver

and

2. Using a usb3 hub inbetween the hard disk caddy and the mac. (I'm using a anker 3 port usb3 hub with gigabit port)


I found that ejects would start on a newley formatted disk when large file transfers ere happening, then then once the ejects started they would become more frequent until the external disk outlentmount any more. If i don't do one of the above options i get ejects either when i don't use the hub or when the mac wakes from sleep.

May 4, 2015 1:32 PM in response to shaunuk

I have been following the voluminous thread of this topic. I have a late 2013 MacBook Pro, OSX 10.9.5. In my case the problem appears to lie with the USB 3.0 cable of the disk enclosure. Details are as follows:

I had replaced the MBP"s internal hard disk with a Samsung EVO 840 solid state drive, and intended to use the removed hard disk as a back-up. The Samsung came with a very simple USB3 cable with a SATA connector, about 3 ins. long. I bought a disk enclosure for this backup hard disk but on pluggin it into my computer the DNEP message would appear within a minute and then the hard disk icon completely disappeared without a trace even in Finder. I tried various procedures like rebooting, letting it be unplugged for a few hours etc. all to no avail. However, when I use the simple USB cable that came with the Samsung EVO sad, it worked perfectly. When the computer is put to sleep and then reawakened the hard disk is there on the screen and no DNEP message. I have done this now for a while, copying files from the SSD to the hard drive. I also did the Timed Back-up with this littlel USB cable with no problems whatsoever, but I have to be extremely careful as there is no disk enclosure.

Jun 1, 2015 11:54 AM in response to marshmallow49

I haven't had the luxury of being able to test a variety of enclosures, but I think the general issue is mostly with USB3, with some being affected by others protocols too.


I think I agree with you though, it does seem to be a software/firmware issue with some drives and controllers not working well with Mac OS X. My own setup is using a four bay drive box, which has FW800 and USB3 ports for each drive, FW800 connected to a Thunderbolt adapter has been 100% reliable here. I can also connect using USB2, and still no problems, other than slower speeds. USB3 immediately causes trouble, with drives disconnecting as soon as the Mac goes to sleep mode. However, is sometimes random too, with usually a couple of the drive disconnecting every time, while the others only disconnect sometimes.


However, IIRC FW always did have issues too, and it was always advised to get 'Oxford' chipsets in the controllers. USB as a whole has always been an issue on Macs, as they implemented the USB system different to other platforms, which often caused compatibility and performance issues.


USB3 does seem to be a right old mine field though, with even some complaining on Windows machines too.


TBH, my system works so well under FW800/Thunderbolt, that I see no point in throwing time, effort and money in trying to solve the problem with USB3. It'd be nice to pick up a bit of extra speed from the external drives, but it's not critical to my needs.


And, FWIW, to confirm it's more a USB3 issue, I have a couple of USB3 hubs, and both of those cause problems with sleep mode, even with no devices plugged in.


It is a real mess this.


Cheers

Jun 21, 2015 8:31 AM in response to Pharmz

I have had issues, yes. while connected to USB3, my Lightroom images were very iffy (on a dedicated drive), losing the ability to save images, or edits, or create new folders. I could read the drive OK though. Reconnecting to FW800 via a Thunderbolt adapter was fine.


My Time Machine drive started cropping up with directory errors, and appeared to be a drive hardware failure. Again, reconnecting to FW800 works fine, and I had to reformat the drive and restart my Time Machine backup.


I've also had various errors appearing in the System logs when almost anything is connected using USB3, even an empty powered hub - causes random wake up calls and crashes. The same hubs connected using USB2 have no problems at all.


Although I haven't been able to try many different USB interfaces, the hard drive units are all different brands/models and show the same symptoms.


In the end I decided not to throw more money at the problem, and just stick with FW800, which has no problems whatsoever.


Cheers


Andy

Jun 21, 2015 2:06 PM in response to TheWildRover

This just goes to show how varied this problem is since it affects so many users in different ways. I wish FW800 would work for me, I was rather surprised when it had the same issue. Now that you mention it, my Time Machine BU did get corrupted once and I had to erase and reconfigure all over again. Plus, It actually has disconnected on USB2 a couple times, but so seldom, that using that port has been sort of a fix for the most part. On eSata and FW800, the enclosure consistantly disconnects every time the computer goes into deep sleep. Since the same exact enclosure (not sure about chipset to FW) doesn't have the problem, I may send the unit back while it's under warranty. I just want it to work reliably on one of the ports.

Jul 18, 2015 8:53 AM in response to marshmallow49

I have this problem most days when I first wake up the computer. I just tried Robin's suggestion from the beginning of the thread -- does anyone know if it is necessary to delete the System Configuration folder from Library? It no longer moves the folder when you drag it out of Library, it seems to copy it.


I also have an APC backup, but the master/controlled switch behavior is turned off so I don't think that would be the problem.


I use Time Machine Editor to only backup in the middle of the night, so that is probably contributing to my problem, but I don't want Time Machine making hourly backups. I would like to find a solution, worried about corrupting data...

Jul 21, 2015 10:28 AM in response to iPhabio

This problem is years old. It's been bugging me on Apple laptops since the days of the G4 ibook. Different computers, connection types, external hard drives - back comes the problem. Apple stuff is reliable, and so are the problems! I might try changing the computer name as suggested, but it seems an obscure solution - why should that make any difference when it seems to me to be an inherent fault?


Sorry Apple, but I think it requires a proper fix.

Jul 24, 2015 8:03 AM in response to iPhabio

Like a few other people have mentioned, my "Disk not eject properly" (DNEP) issue seems to have been tied to a small power trip. I have a lot of power running in my office including a couple computers, a TV, and a mini fridge. I finally noticed that I would see the DNEP message when the fridge would kick on. I unplugged the fridge last week and haven't seen the DNEP message since. Still it wasn't an issue back on Mountain Lion or earlier, but my setup hasn't always been the same. So think about how much power you're sharing on the same breaker with your External Disks.

Jul 24, 2015 8:44 AM in response to astoutj

"So think about how much power you're sharing on the same breaker with your External Disks."

@astoutj, that's about the most plausible explanation I've seen in the years I've been following this thread. The randomness of the DNEJ messages and failure of any configuration changes of any kind throughout multiple OS iterations from Mavericks through the beta El Capitan, along with Apple's seeming inability to fix it, suggests that power variations to the various hard drives may well be the answer. Some drives seem more likely to give the DNEP message, particularly USB drives with external power supplies. I've always had a problem with those, and none with my Thunderbolt external HD, which has no external power supply. Also, I get random "battery running low" or some such messages from my USB connected UPS, even though there's nothing of the sort going on.

I can't imagine what the fix is, then, since the computer or OS seems to be responding to an intermittent issue with the drives themselves, if you are correct about this, which I suspect you are.

I'm not getting any more HDs that require external power, and I may try to sell my WD MyBook on Ebay. Readers of this thread can look for it there and bid it up. :-)

Jul 24, 2015 9:03 AM in response to iPhabio

I've now tried a number of different external drives. The only one that has consistently worked without ever giving me DNE errors is the LaCie Little Big Disk. Unfortunately, it is very expensive and has a limited capacity and application (very fast disk for video editing/photography), so it won't help many on this thread. Strangely enough, I tried other LaCie drives (D2 and 2Big) but they triggered the DNE error.


I can't believe this hasn't been addressed, since Apple has moved in a direction of limiting internal storage with the Mac Pro and other devices, essentially necessitating an external drive if you work with many or large files.


Perhaps we should start a list of external drives that don't cause problems?

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!

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.