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.

External hdd won't eject properly since El Capitan

27" iMac, 13 2, fusion drive, OS X 10.11 My LaCie back up drive's icon turns green after the first back up is complete but I can't eject it, except by forced eject. If I force eject it, then turn it back on, it will perform another back up but stay orange when it is done. Any one else have this problem?


I normally do 1 back up a day, then eject the disk and turn off the drive instead of leaving everything on at night. Any help at all would be appreciated as I am a creature of habit and resist change.


Thanks in advance: Tom

iMac (27-inch, Late 2012), OS X Yosemite (10.10.1), Fusion Drive

Posted on Oct 1, 2015 10:15 AM

Reply
134 replies

Dec 16, 2015 10:17 PM in response to EVISCERATOR

Running this command from Terminal allowed me to eject the disk consistently:


sudo killall mds


I cannot guarantee that this workaround will not have side effects (there is no documentation for the mds command) and must recommend that you not do anything important with your Mac between running this command and your next restart.


Of course, this is a bug and affected users should report this at https://bugreport.apple.com

Dec 26, 2015 8:29 PM in response to EVISCERATOR

I also have this problem after upgrading to El Capitan. Oddly, however, it is only a problem on the USB3 drive. I have all Western Digital drives and the Thunderbolt ones and Firewire ones (connected through the Thunderbolt) dismount but the USB3 drives won't. The problem only occurs when I put the Mac to sleep (as opposed to shutting it down). Adding it to the Privacy list in Spotlight does not help.

Dec 31, 2015 4:30 AM in response to winnipeg

I experienced no problem with disc ejection under 10.11.1, however I installed 10.11.2 on December 17th, and this is my log to myself about what happened on completion of my first full backup to an external drive (a Samsung partitioned into 5 'cycles') after that installation...



Full Backup to Cycle 5 (bootable)
24.66 GB


About 560,031 files

(Sophos scanning switched off)


About 27:02 minutes


SuperDuper! finished as normal.


However, this backup 'failed': after completion unable to eject external disc using (1) keyboard eject button or (2) Disk Utility's eject menu option or (3) Disk Utility's eject button.


No response from (1).


Method (2) ejects all partitions (Cycles 1, 2, 3 and 4) but not Cycle 5. No reason given.


Method (3) returns 'Unable to eject Cycle 5 because the device is currently being used'.



No process initiated by me is using this backup disc.


A reboot (logging out and switching off), leaving the external drive connected, does not cause the drive to be re-mounted.


Physically disconnecting and re-connecting the drive after a reboot causes the drive to be mounted as normal, whereupon it can be ejected by method (2) above. Method (1) still has no effect.


Although the state of the contents of Cycle 5 remains unknown, I have no reason to think it has been corrupted.


I had no problem with El Capitan 10.11.1 but the very first time I tried to eject an external disc after installing 10.11.2 this occurred.


What diagnostics can be used under these circumstances to identify the process claiming to be still using the external disc?

Jan 1, 2016 6:35 PM in response to EVISCERATOR

Hi guys,

I believe I found a fix, will report back if it happens to pop back up. This computer is 3 days old and has nothing on it, found it funny it wouldn't eject USB sticks, Seagate 3TB drive and a few of my G-Raid drives. Here's what I did


- unplugged everything form the back but the keyboard

- closed out everything

- relaunched finder

- opened up Disk Utility

- ran first aid my HD

- clicked restart computer

- held down option + command + P + R (for three chimes)


Computer started with zero issues, now able to eject anything. I've tried my USB sticks about 5 times each, HD about twice (really don't want to do this to a spinning HD, USB sticks I really haven't had any issues with). Well I hope that helps



Chris

Jan 2, 2016 12:54 PM in response to Full Decent

I just deduced that the reason my USB3 drive is not ejecting upon sleep is due to a combination of El Capitan and my USB2 hub–that the USB3 drive is running off. My Thunderbolt and Firewire drives run directly off the the Thunderbolt port on the computer, and both shutdown when I put the computer to sleep. Yosemite and Mavericks were both able to shut down the USB3 drive through the USB2 hub, with no warnings when I woke up the computer. Inexplicably, El Capitan, however, does not like this configuration. When I hook the USB3 drive directly up to the computer, it works as it should, shutting it down and restarting it without any fuss. I just ordered a USB3 hub the other day and I am hoping that El Capitan will be okay with it. Unfortunately, it will have to run this way due to the paucity of USB ports on the Mac and my plethora of USB devices. I wish USB hubs were more reliable or Thunderbolt drives were affordable.

Jan 4, 2016 6:44 PM in response to EVISCERATOR

This also happens to me and my wife with multiple external hard drives made by multiple manufacturers. My mother-in-law's iMac even has this issue.


Of course "reboot the machine" is not a solution; I want to back up every day for example and often there is a lot of work going on. I'd should not have to re-create my entire workspace in the morning just to eject the stupid time machine backup disk. I just force eject, and nothing ever goes wrong, but it's a bad issue that has been around for a long time. The fact that it remains is distressing, mostly because I thought Apple was better than this. I guess it is a low priority.


Sometimes maybe it helps to add it to privacy on Spotlight ... ? ... but even if it did that's a really lame work-around to be forced into. And actually that doesn't work for me. Now, when I can't eject it, I look in the Spotlight privacy list and the disk is not there. If I try to add it, I can't because of an "unknown error". But when I plug the disk back in after I force-eject it, there it is again on the privacy list.


Is it because this issue is "solved", that Apple can't see all the evidence? Then at best they are collecting data from the support website very poorly. I guess the only reasonable conclusion is that Apple doesn't care about this issue, and is even hoping it will somehow push me to pay for iCloud backups.

Jan 9, 2016 4:38 PM in response to Chris Au

Hi Chris Au, I have not tried to force quit mdworker but I suspect that that may work. I own 2 iMac's and never had this problem prior to El Capitan. Both iMacs have this identical problem. For myself, it is a minor issue, as simple as rebooting the machine and then eject. I have learned to live with it. When I have time, I will experiment with my older iMac to see if force quitting mdworker has any lasting effect or resolves this issue.

Tom

Jan 16, 2016 11:12 PM in response to ashot

So I have been having the same troubles with ejecting my USB drives ever since the El Capitan update also. I think you guys have found a work-around by going to the privacy settings and preventing spotlight from searching the drives. This is a good one that I will try, but I found this error the hard way one day when months of research on an encrypted iron key thumb drive was at risk. I took it to Best Buy and a guy pretty high up in the Geek Squad plugged it into his windows computer. The Geek Squad at Best Buy runs a proprietary software created in-house that apparently removes all permissions/restriction/limitations on files (for example I had one instance where a file kept asking me for an administrator password that I somehow must have linked to the thumb drive saving stuff from a computer at the hospital). When he checked the drive there were hidden files that I didn't even know about (.DS_Store, .Spotlight-V100, .TemporaryItems, .fseventsd) apparently these are files that the mac puts on the computer so that it becomes accessible to Spotlight. So we both found the problem just from different ends of the problem. My issues still are multiple and if you guys have an answer that would be awesome.

1. If I use my thumb drive at home on a macbook pro running OS X El Capitan but also have to use at work which are mostly windows based PC's that all require me to log-in my own "windows" and I'm not the administrator level, then what is the best way to transfer files to/from the thumb drive and the PC's and my mac without running into these issues?

2. There seems to be a difference when I drag/drop a file vs when I copy a file then paste a file to the thumb drive. The latter seems to be the preferred method, because the drag/drop method seems to "connect" the file. This is just from my experience and I'm not a computer whiz, just from hours and hours of dealing with this since the El capitan update.

3. If I proceed with the work-around by preventing spotlight from searching the drive, do I have to delete these hidden files before this work-around will work? Which of these hidden files can I just delete without corrupting the drive? This is such crap that these added hidden files are reeking such havoc on my thumb drive and my life right now. I can't use dropbox/google drive at my work because they are blocked by the hospital software, or I would just do this. I have to use a hospital approved iron key that encrypted or I can't use a thumb drive to save my work. Ive searched for getting rid of the above files and keep getting crazy stuff like renaming folders/files (http://apple.stackexchange.com/questions/6707/how-to-stop-os-x-from-writing-spot light-and-trash-files-to-memory-cards-an…) and it starts to get over my head pretty quickly and get into stuff that in my hands could compromise the whole drive. It's gotten to the point where its difficult to even use a thumb drive on my mac and I find myself emailing files to myself and have to keep remembering to download them and add them to the thumb drive while I'm at work.


Any help would be amazing (Kicking myself for downgrading to El Capitan)

External hdd won't eject properly since El Capitan

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