I have a 1TB Western Digital external hard drive that I use for Time Machine backups, and recently my iMac has started to randomly eject the hard drive, preventing backups. It tends to happen while the display goes to sleep, but I have my Energy Saver settings set to not put the hard drives to sleep, and the computer is set to never go to sleep.
To correct the issue, I pull the USB cable on the drive and then re-attach it. I'm wondering if this is just a bad drive that I need to return or if this is some kind of larger issue.