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

Mar 5, 2016 10:37 AM in response to EVISCERATOR

I am mystified that someone can respond with "Problem went away after I rebooted" and have that qualify as an excepted answer. Of course, the problem went away after a reboot. It is a problem with a running process (in this case it's Spotlight). What's interesting is that Spotlight doesn't seem to honor it's Privacy Settings, which should be a source of concern for folks and something that Apple should be admonished for. Here are a couple of pointers to working around the problem (a solution is entirely in Apple's court):


Scenario 1 - you want to have the drive indexed, but you also want to eject the drive temporarily:

Stop the indexing process, eject the drive, and restart the indexing process (this is the bug that Apple needs to fix):

a. sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist

b. Eject the drive from Finder, or from the command line with diskutil eject whateverDisk

c. sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist


Scenario 2 - you don't want the drive indexed, ever, and you want to eject it.

Stop the indexing process, add the external drive to the Privacy Tab of Spotlight's Settings, under System Settings, add a metadata file to the volume, remove the spotlight files, eject the drive, restart the indexing process:

a. sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist

b. sudo touch /Volumes/Whatever/.metadata_never_index

c. sudo rm -fr /Volumes/Whatever/.Spotlight-V100

d. eject the drive from Finder, or from the command line with diskutil eject whateverDisk

e. sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist


I hope this helps someone a bit better than "reboot"

Mar 15, 2016 2:12 PM in response to decuser

1) Bravo for this post decuser - spot on to the root of the problem as far as I can see, a solution, and saying why a reboot 'workaround' is anything but.


2) What I've observed: whatever has been redone with mds/mdworker/Spotlight seems to be at the core of a raft of issues beyond disk ejection. Apparently the indexing is what produces the App/Photo/Music "bands of color" in the new diskutil UX - which may or may not have anything to do with why "verify/repair disk" may be gone in the DiskUtil App, but has something to do with a separate problem where El Capitan relies on spotlight data for filesystem info - and seemed to confuse the difference between what gpt / DiskUtil cli disk info is produced, and what El Capitan actually sees / reports coming from spotlight (example: incorrect disk size info and bizarre problems with partition tables.)


It appears that not only is Spotlight engineered to look at everything (which it ~generally should as an indexer for user info, with limits like not saturating a bunch of network shares at an office), but also used to determine acceptable kernel-level actions like ejecting disks or reporting filesystem info (which it should not, unless it's bulletproof - and it's clearly not bulletproof yet.)


Only adding the info above because while I'm disappointed that this issue is still not fixed, I think it's related to a whole bunch of complexity that got added to El Capitan - even before you add SIP over the top - and might help others look into this.


TLDR; For Apple product manager: I can live without knowing what % of my disk is taken up by photos as long as my storage works as expected.

Mar 21, 2016 3:58 AM in response to EVISCERATOR

I do have a fix guys, at least in my case. I use El Capitan almost without issues till the begin of March'16 and then I came across issue with not working Eject button located next to external drive in Finder. It affected any external or mounted drive like usb stick or dmg mounted to install any app. Of course I could use terminal command "diskutil eject" and this did the job but this was not a solution for me so I've installed a free app called Onyx which is a tweaking tool for Mac OS and I pressed 'default' button in tabs which have any common things to Finder. All is now fixed even without restart 😉 I just hope it will last this way long time.

Apr 3, 2016 6:25 AM in response to osxhag

Agreed. Restarting a computer will TEMPORARILY solve a lot of little issues. But what's the solution to getting this fixed permanently? I have 6 external drives connected to my 27" iMac running 10.11.3, and 90% of the time cannot eject them. I'm concerned that force ejecting them will corrupt the file system over time. I have a dozen applications running when I work, and can't afford to simply "reboot" anytime OSX decides to have a hiccup. Is Apple looking into this at all?


iMac Retina 5K, 28-inch, Late 2015

4Ghz Intel Core i7

32GB 1867Mhz DDR3

512GB SSD


Various external drives: USB 3 and USB 2, some are external SSDs, others conventional.

Apr 3, 2016 12:53 PM in response to gordonf238

I had a drive become corrupted while I was trying to figure out how to keep it from being indexed. I was forced to power off and power back on because OS X wouldn't reboot. I repartitioned that drive and restored it from time machine and then set it up not to be indexed and all has been well with that drive since. I echo your query - when will apple address the problem permanently? It seems to be pretty low on their list.

Apr 4, 2016 7:59 PM in response to mattrock1

I will elaborate further. Five days after the 10.11.4 update, I erased the Macintosh HD on my fusion drive and installed 10.11.3. again and set up a temporary user account (named Dummy) with out signing into iCloud. After again updating to 10.11.4, I used migration assistant to reinstall my user accounts and data. After making sure all accounts were working and all data was ok, I erased the time machine back up that I use for daily backups (I have two external backup drives) , renamed it and did the initial backup and then ejected it from finder. It ejected with no problem much to my surprise. Next weekend I mounted my long term backup ext. HD and backed up. I then ejected it from finder, it started to eject, then remounted and I got the "disk not ejected properly" message. I waited thirty seconds and ejected it again, this time no problem and no problems since.

Good luck to those still having problems. Tom

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.