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

Mar 4, 2014 8:46 AM in response to iPhabio

Hi Everyone,


I've had this problem since moving to a new MacBook Pro with Mavericks 3 months ago and have been watching this thread with interest.


One thing that "solves" this problem is to prevent the Mac from sleeping. I keep a Terminal session going which is running the command "caffeinate", this keeps the Mac awake. Since doing this I have never had the "disks improperly ejected" message and my nightly backup jobs have run without a hitch. Of course this is not really a solution unless you can keep your Mac plugged in all the time.


I haven't yet tried the Robin solution yet. But I wonder: has everyone with this problem used Migration Assistant to move to Mavericks?


That was true for me. If so, another way to try to fix this is to erase your hard drive, reinstall a fresh Mavericks WITHOUT Migration Assistant, and move all your data, apps, settings, onto the Mac manually. That might work better than Robin's fix which sounds like a bit of a hack.

Mar 4, 2014 2:34 PM in response to iPhabio

This time I got the eject error message again and couldn't even eject the drives! So I had to shut the

computer down completely and then plugged the drives back in and it's working ok now. Boy this is

some problem and nobody seems to have a real effective fix yet. And I thought Apple stuff was supposed to

work better than Microsoft. I have a Toshiba laptop with Windows 8.1 on it and it isn't this much trouble.

Luckily this is a new iMac and if I have to I can erase the drive and start over I guess I can, but I am not that

familiar with Apple so may take it to the Apple store in Tulsa and let them have a go at it.😉

Mar 4, 2014 2:53 PM in response to Podstar

To Podstar and other,


If you have AppleCare, follow Robin's lead and escalate a service request. You'll need to get to 2nd tier support to get anything effective. This is a huge problem and more of us should be pinging Apple.


I have two systems with symptoms and both were derived fro migration assistant ports (one from a prior computer and one from a time-machine backup). I can also confirm that, in my case, the 10.9.2 update has caused a return of problems. I'll be trying Robin's solution again tonight.


Mike

Mar 4, 2014 4:54 PM in response to mkaiser996

It does not seem to make any difference if the computer goes to sleep or not here, as there does not seem to be a problem when I wake it, rather anytime during the day while working it will appear, I have stopped unplugging the drive, and time machine still does the backups.

When it started before I tried Robins solution the backups were not happening and I had to unplug etc, so I am just ignoring it now and checking occasionally to make sure there has been a backup.

Mar 6, 2014 5:14 PM in response to JanetH51

I posted on another discussion and kept following this thred. Wow, I've been having the same problems for a while, it is doing it to my TB(Thunder Bolt) drives and also my TB CF Reader, at the biginning of the week it ejected my 1tb SSD and wacked it! Apple Genius or LaCie couldnt remount it so its at DriveSavers... no kidding. All this time I thought it was me... Not that I'm going to get any emotional of physical help from Apple.

😉

Mar 9, 2014 10:14 PM in response to Robster50

I had a Seagate 2TB powered drive (2 partitions) on USB3 that had the described problem. None of my other drives (mostly WD) gave problems.

Some time ago the the Seagate crashed (I do not know whether it was because of the 'not properly ejected after sleep' bug). Luckily, the drive was still under warranty so got a new one.

This time I did not partion it, but very soon the same problem appeared!!


I tried Robin's solution yesterday. Initially, it looked good but today the disk was again inproperly ejected after sleep.....

Mar 15, 2014 9:12 PM in response to jonan1987

Hi folks,


Similar issues here plus what I hope is a useful observation. I’ve typed this out in detail as I’ll be sending it to Apple support, but others may be interested.


For the record and to help the troubleshooters, I’m using a new MBA (mid-2013 model, OSX 10.8.5, 2xUSB3 slots) purchased early January 2014, and a new 1 TB Seagate Backup Plus portable drive (USB3) purchased Feb 2014. I’ve reformatted the Seagate drive (let’s call it S1TB) via Disk Utility to create 3 new partitions: 2x Mac OS Extended Journaled, incl one for Time Machine, and 1x FAT32 for bringing files over from my old Dell laptop.


Typically I get the “disk not ejected properly” (DNEP) message after a period of inactivity on the MBA and when the S1TB isn’t active with a task, like a Time Machine backup. I don’t recall having this problem while S1TB is working: only when it has nothing to do and takes a snooze. Within a minute of the MBA display switching off, the light on S1TB also goes off. I assume it’s gone into some kind of power-saving or sleep mode, despite the fact that, as I understand it, Seagate drives take their cue for sleep from OSX on Mac computers and I have “Put hard disks to sleep when possible” de-selected in Energy Saver on both battery and power modes. Not sure why that is happening. http://knowledge.seagate.com/articles/en_US/FAQ/208571en


After tapping the space bar or track pad to bring the MBA display back, the DNEP message will nearly always appear immediately and the S1TB will have disappeared out of the devices list in the Finder sidebar (if it is the visible window). Occasionally the Finder window will spontaneously close. Occasionally, too, the DNEP message doesn’t appear immediately and S1TB doesn’t disappear from Finder immediately, but clicking on S1TB in the device list will trigger the message.


I’ve tried Robin’s solution (see post on 25 Jan 2014) but it didn’t work for me. BTW Robin, when you say “pull this folder onto the desktop”, I presume you effectively mean delete the System Config folder so it is re-created on the re-boot? This is what I did several times but no success (…and I noticed that the re-boot re-sets the sleep settings in Energy Saver to factory/default settings. I had de-selected “Put hard disks to sleep when possible” on both battery and power modes, but this procedure sends them back to factory/default.)


Following an inconclusive call with an Apple support rep, I did some comparison of the performance of my S1TB and an older USB2 Seagate 250 GB (I’ll call this S250). I connected both drives to the MBA simultaneously, one in each USB slot and let the computer run until the display sleeps. I then bring the display back by tapping the space bar. I ran this same test with the drives connected to the opposite slots on the MBA, and both before and after Robin’s recommended solution.


In a nutshell the S1TB was spat out every time with the DNEP message. On the other hand, the S250 on USB2 seemed bulletproof. No DNEP messages ever. Not even after closing the lid and forcing the MBA to sleep, and not even when I had to pull the S250 out while it was still listed in Disk Utility and, apparently, still spinning. (For some reason I couldn’t eject the S250 in disk Utility, but that seems like another story.) For what it’s worth USB2 FAT32 thumb drives don’t cause DNEP either (occasional problem with initial recognition but that’s another other story).


Conclusions: This could be a problem with the S1TB model or my particular S1TB drive but the fact that it works without fail on my Dell laptop seems to rule this out (…although the Dell is a USB2 machine). Alternatively, maybe there’s a USB3 handling problem on Mac’s? ie. too sensitive or too fast in responding to the sleep status of external drives?? This would need some additional testing (eg. my S1TB connected to another MBA; different USB3 portable drives connected to my MBA). However, I see other comments seem to suggest the problem may be with USB3 or that USB2 drives/connections don’t have the DNEP message problem (see post by Mark on 1 Feb 2014, Linda on 30 Jan), so maybe this is worth further investigation.


I’m guessing it would mean the only effective fix will come via an update from Apple. Kind of ironic after shifting from windows because of all of its alleged shortcomings!


Peter


By the way, it would help Apple and others if everyone listed the possible variables here: eg. Mac model, OSX version, USB slot version, external drive model and usb version, external drive re-formatted on not, situation in which DNEP appears, etc. So, to practice what I preach, and in response to other suggested causes mentioned in this and other DNEP-related posts: Mavericks – I’m still on 10.8.5 but getting the DNEP message anyway (…and I won’t be upgrading for the moment); Migration Assistant - I used this when I started transferring files from my old Dell laptop but only as a trial. I think I only selected and migrated files on my desktop for migration. Seemed like it was going to be a time-consuming process so I transferred the rest of my files (successfully) via the S1TB; Faulty cables and ports – Seems unlikely given that both products are very new, S1TB works on the Dell laptop, and the results of testing on both MBA ports described above.

Mar 16, 2014 1:44 AM in response to houstonwehaveaproblem2014

Well for the record: I am running a Mid 2010 27" Imac with OSX 10.9.2, I have a WD My Passport 1TB USB Drive. which has been my Time Machine Backup only for serveral years. The problem only started with the latest update.


I had a brief 3 days without the DNEP after trying Robins plan, I then started to get it again, I used to unplug my drive and replug each time this happened, and the message seemed to gain in frequency, then I realised that the Backups were still happening if I left it alone, which I have now done for the last few weeks, and I have noticed that the DNEP seemed to become less frequent, and was going to reply here that I had not seen it for some days, BUT when I picked up the WD to see what brand it was the message popped up again, but ignoring it has been the best thing so far.

Jan

Mar 16, 2014 9:55 AM in response to JanetH51

I have not been able to fix this problem. One 4TB USB drive plugged into a DigiCal USB 3.0 PCI card ejects every time my Mac goes to sleep. Also, a 750GB drive plugged into the eSATA slot on the same PCI card ejects. Before getting the PCI card, the 4TB drive was plugged into USB 2.0 and it was ejecting.


My work around is to just keep those drives turned off unless I want to copy to or from them. I am not happy about that solution, but it is less of a headache until this problem is fixed.

Mar 16, 2014 10:31 AM in response to iPhabio

I moved my OWC usb3 drive from my iMac to my MS laptop and bought a Buffalo Thunderbolt 1tb drive

from Amazon and installed it on my iMac for Time Machine backups and so far no DNEP errors. So

I hope this solves problem for me. But guess original problem lies in the usb3 implementation

by Apple. I hope they fix it for the rest of you and you don't have to buy a TB drive just to solve the problem.


John

Mar 16, 2014 12:42 PM in response to shodgkins83

For completeness.


My machine is a late 2013 MBP Retina 15 running 10.9.2


Drive is a WD 2TB 2.5, although seen similar problems with 1.5Tb 2.5 Seagate.


Never seen the problem with a Thunderbolt attached drive.


Never seen problem with USB 3 drive connected to USB 2 port (Thunderbolt display)


Saw problem all the time with 1 particular USB 3 hub.


Currently running fine (I have seen the message a couple of times in since the fix)


Currnetly have the USB3 WD drive connected to a Thunderbolt docking station.


Robin


Oh and to the person who asked, yes dragging to desktop or deleting the folder I mentioned is fine, putting it on desktop means you can recover the old one if you want.


One other point of reference I DO have the 'Put Disks to Sleep' box checked!

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.