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 Sep 1, 2017 5:18 AM

I ran into the same problem. In my case, the culprit was the type of surge suppressor I was using. This is the kind that turns off power to all the the outlets when the main outlet senses that the device plugged into it has powered off. When my iMac, plugged into the main outlet, went to sleep, this was sufficient to turn off power to all the other outlets, including those that my external drives were plugged into. After I plugged those drives into a second surge suppressor, they now remain powered on when the iMac is sleeping and I no longer get the "Disk not ejected properly" message. An added bonus is that the drives spin down during sleep, whether or not I tick the "Put hard disks to sleep when possible" checkbox in Energy Saver, and whether or not I select the "Automatic" setting on the drives' three-position on/off switch.

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

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.