OS X Yosemite attempts to eject external drives after sleep I have 2 external drives that I use respectively for Time Machine and for all my work. I installed OS X Yosemite today and now every time my iMac goes to sleep (I never turn my macs off) it attempts to eject them. This never happened before and is a pain as all my work could potentially get lost or corrupted. Help!
I used to have the same problem, but since installed an app called "Mountain". It allows me to customize which volumes to eject and also re-connect for me on wake. It is not a free app, but it's worth the $5.99 (as of the time I write this).

http://appgineers.de/mountain/

Note, I don't work for them nor am I connected to them in any way. I just like the app and have had great results with it doing exactly what you're doing and more. (I move my macbookpro from 3 locations, where I have different external volume configurations.)