PDA

View Full Version : External hard drive ejects on sleep




summero
Aug 3, 2012, 08:25 PM
I recently upgraded to Mountain Lion and noticed every time I leave my iMac and it goes to sleep, the external hard drives eject. I get the pop-up stating they were improperly ejected. Anyone know how to stop this? Wasn't having any problems in Lion.



nzreg
Aug 3, 2012, 08:33 PM
I had just this problem with my Macmini and two identical WD external hard drives, one with two partitions kept ejecting and giving the unplugged message. I deleted the second partition and that fixed the problem.

628
Aug 3, 2012, 08:33 PM
Is it a network drive? I know that internet disconnects on ML which never happened in lion before.

Cripps
Aug 3, 2012, 10:38 PM
If you cannot resolve your problem consider an App called Jettison (available in the Store) which gracefully ejects external drives before sleeps and then re-mounts them when you return.

summero
Aug 4, 2012, 02:01 AM
Not a network drive. It's a LaCie external that's partitioned into two parts. Wish I could delete the second partition, but one is for important work items and the other is for Time Machine. Might give Jettison a go.

----------

Gah, reading reviews that the current version of Jettison doesn't work well with Mountain Lion. Any other suggestions would be very much appreciated!

hafr
Aug 4, 2012, 07:46 AM
If you cannot resolve your problem consider an App called Jettison (available in the Store) which gracefully ejects external drives before sleeps and then re-mounts them when you return.

Does it remount also when the ATV wakes the computer, i.e. not logging in as one would normally do?

jorgus
Aug 5, 2012, 08:30 AM
After sleep my mounted network disks are gone - Mountain Lion. Have to re-mount them again. In Lion it was all fine. Will send a ticket to Apple - this is a bug.

ZipZap
Aug 8, 2012, 06:25 AM
On mine as well. Sleep ejects the drives so well, the system cannot see them when it wakes.

Jettison has no affect on this and my backup software will no longer work as when it wakes the system the drives are gone.

Pretty serious defect.

Tander
Aug 8, 2012, 06:32 AM
Just put my MB into sleep with an external connected. It was mounted when I woke the machine up.

No issues here.

ZipZap
Aug 9, 2012, 06:54 AM
Not so on my retina mbp

Taz Mangus
Aug 9, 2012, 09:15 AM
I have two external hard drives hooked to both my iMac and Mac-Mini. Not seen the eject after wake from sleep issue using Mountain Lion. I use firewire 800 connections. People having the issue what connections are you using? Wonder if a particular port is related to the issue (e.g. the second USB from the left, etc.).

ZipZap
Aug 9, 2012, 03:47 PM
I have two external hard drives hooked to both my iMac and Mac-Mini. Not seen the eject after wake from sleep issue using Mountain Lion. I use firewire 800 connections. People having the issue what connections are you using? Wonder if a particular port is related to the issue (e.g. the second USB from the left, etc.).

I'm using USB 3.0

Icy1007
Aug 9, 2012, 09:32 PM
Well, considering that OS X ejects all external drives when it goes to sleep. It makes sense that your external hard drive would eject.

Tander
Aug 10, 2012, 12:44 AM
Well, considering that OS X ejects all external drives when it goes to sleep. It makes sense that your external hard drive would eject.

That's not the issue - the issue is the drives not remounting.

jason221
Aug 10, 2012, 01:35 AM
My external drive (and others in this thread) works fine on Mountain Lion. However, it is not partitioned. I guess partitioned drives are where this bug is occurring.

ZipZap
Aug 10, 2012, 05:43 AM
My external drive (and others in this thread) works fine on Mountain Lion. However, it is not partitioned. I guess partitioned drives are where this bug is occurring.

My drives are partitioned. I'm not going to repartition just to see it if it works. I don't that's it. I think it's a USB 3 issue.

hafr
Aug 10, 2012, 06:30 AM
My external drive (and others in this thread) works fine on Mountain Lion. However, it is not partitioned. I guess partitioned drives are where this bug is occurring.

I can reproduce the problem every single time if I wake my computer by accessing the iTunes library from an iOS device. Waking it up from sleep and logging in sometimes remounts the drive, sometimes not. It's not partitioned.

dmelgar
Aug 11, 2012, 08:18 AM
I might be having a similar problem.

I have 2 drives in a new USB 3.0 dock. One of the drives has two partitions, the other one has one partition.

With the two partition drive in particular, I have one partition as a time machine backup. Often (but not always), when I go away for an extended period of time, Time Machine reports that it couldn't backup because it can't create a directory.

Looks like the drive was ejected. I get the message, "disk was improperly ejected".

I have the laptop set to never sleep.

For a while I thought it was the option to let the drives spin down. If I set that off, it seemed to fix the problem. But sometimes even with it set on, and the drive spun down, it works fine.

I've been off on a tangent thinking maybe the drive was overheating in the dock. I had the other drive eject as well even though it has one partition.

I put them back in their previous USB 2.0 case. I discovered using S.M.A.R.T. that the drives run even hotter there so that's likely not the cause of the problem.

So now I'm down to thinking its either a USB 3.0 issue with the Macbook Air or with Mountain Lion, or an issue with the USB 3.0 dock.

I also had a situation where USB communication suddenly stopped. The Macbook was still running, but if I ever asked any app to do anything with the file system, it would hang. Eventually the whole machine was hung and I had to hard power off.

SnifferUK
Aug 17, 2012, 11:25 AM
I am also having this problem on my headless Mac Mini which has 2 x FW800 drives attached. When it goes into idle sleep (not manual) the drives do not re-mount. In fact I have to manually power the drives off and back on again for even the Mini to see them again !

ZipZap
Sep 2, 2012, 09:24 AM
Does the latest ML patch fix this issue?

ZipZap
Sep 4, 2012, 09:48 AM
Just an update:

10.8.1 does not fix this problem.

Also, the problem is related to hard drives connected through a hub. I have a USB 3.0 hub and according to plugable (the maker), ML does not properly interrogate the hub to determine that there are drives connected. This hub worked perfectly under Lion.

The apple forum has several threads on this issue with no clear idea when Apple will fix.

If I plug my drive directly into the computer it reconnects properly from sleep.

desertman
Sep 4, 2012, 10:47 AM
I'm having the same symptom with one particular USB drive on my new iMac with OS X 10.8.1. It does not make any difference whether the drive is connected directly or through a hub. I had no problem with this drive on my previous iMac with OS X 10.7

I opened a support case with Apple about this and have spent several hours talking with a senior advisor from Apple, trying this and that and that and this and sending them twice captured data from my computer. Nothing helps. I'm waiting since August 25 that Apple calls me back after having sent them another set of captured data.

eyedee
Oct 13, 2012, 04:41 AM
I've been having the exact same problem since purchasing a MBPr and a USB 3.0 Seagate 1TB external HDD a couple of weeks back. It's intermittent and not always the same. HDD plugged directly into MBPr with "Never Put Hard Disks to Sleep" seems to be the best configuration so far for the least amount of HD ejecting faults.

In general, whether I plug it into a 4 Port 'Trust' USB 3.0 Hub, or into the MBPr directly, it ejects on sleep and only sometimes mounts on wake. When it doesn't mount again I always get the "You didn't eject a device" nonsense on wake.

I've also returned to my machine whilst it's still fully awake, just a couple of times, to find the drive missing from the finder/desktop but no warning message re: ejecting the drive, and the physical HD still powered and spinning.

Other than the fact it's annoying and time wasting, I'm worried all this connecting and disconnecting malarky could do damage to the drive or the data before its time.

We're now at 10.8.2 and it's still a bug. Apple don't seem bothered by this - quite serious - issue with their OS! :(

tug
Oct 13, 2012, 07:59 AM
just starting having this same issue here.

it seems that "sleep" stops all running processes in ML also. its becoming SO ANNOYING!!!

sandiegoscott
Oct 14, 2012, 12:45 PM
Happens occasionally with my new Mac Mini running Mountain Lion, external is a G-Drive mini powered by the Firewire connection, where it is daisy-chained off the G-Drive with my Time Machine. I will switch the order of the daisy chain so the mini drive is first and see if that makes any difference, though this seems to be a wider problem than could be explained by that.

=================

Okay, I switched the drives so the unpowered mini drive is first and the powered drive second. That's worse! Upon waking from sleep, both were ejected, where before only the mini drive was.

Next: get a power adaptor for the mini drive.

ZipZap
Oct 15, 2012, 06:34 AM
You can't fix this as its a bug in ML.

backspace
Oct 16, 2012, 06:03 PM
I have a similar issue. I have a 2010 MBA running 10.8 and the network drives disconnect during sleep when running off of battery power. I don't get any error message though---the drives are just gone. This didn't happen in 10.7.

I haven't done any testing on this issue. I don't know if the same would happen if the drives were directly connected to the computer. I just notice that in the morning my mounted drives are gone if the computer was sleeping on battery power throughout the night. This doesn't happen if it is plugged in to power.

scottfifty
Oct 16, 2012, 10:28 PM
NEW MacPro running OS 10.8.2 with two external Sata drives via PCI CalDigit USB3 Adapter... same issue. Both drives eject on sleep and don't remount.

Very annoying defect... any fixes

ZipZap
Oct 17, 2012, 07:48 AM
NEW MacPro running OS 10.8.2 with two external Sata drives via PCI CalDigit USB3 Adapter... same issue. Both drives eject on sleep and don't remount.

Very annoying defect... any fixes

No fixes. Please report to apple.

mwalsh5757
Oct 25, 2012, 02:11 PM
So have we decided that the USB ports on the MBP shut down on sleep and refuse to wake? I have an issue with a wireless USB mouse that simply won't work after waking the MBP up until the USB dongle is removed and reinserted.

Any workaround, or report to :apple: and hope for a fix?

NewAnger
Dec 25, 2012, 04:26 AM
Just found this thread. I have the same problems on a 2008 MB and a 2010 MB using a dual drive dock. I found an app to ping the drives every 60 seconds so they never sleep but once either Mac goes to sleep, the drives spin down and upon waking either Mac, the dock never wakes the drives up.

It does work correctly with a regular drive enclosure. I noticed someone else in this thread mention a dock.

The 2008 MB is on Lion while the 2010 is on ML.

cybercap
Dec 30, 2012, 07:56 PM
Same problem here, new imac 2012. My external hdd usb 3.0 drives do not seem to eject at sleep and do not remiunt nicely. I always get the red exclamation mark dialog box telling there was an ejection problem

ZipZap
Dec 31, 2012, 03:26 PM
So there are really 2 issues here:

1. Drives done eject properly on sleep. This can be resolved using a app called Jettison.

2. Drives connected through a USB 3.0 hub will eject on sleep but will not reappear when the computer wakes. Turns out that despite the assurances from the hub manufacturer (plugable for one), the new VIA VL811 chipset was not working properly and requires newer firmware (which is not easily applied on a MAC). Force the vendor to swap out your hub.

Catsman
Jan 8, 2013, 06:06 PM
Any further developments on this bug?

I continue to get "disk ejected improperly...blah blah" after sleep and cannot re mount it.

Using ML on MBPretina, 16g memory. Only one partition on USB3 on 2tb WD essentials HD.

ryedarrow
Jan 17, 2013, 10:48 AM
I have a 2Tb external drive that handles sleep on my mac mini fine.

I use a 6TB JBOD raid using USB 3.0 to store my iTunes library externally. When the computer sleeps, iTunes freaks out and I get all these "itunes can't be saved errors".

This didn't happen before when it was a 3TB seagate external using USB 3.0 so it must be something with my new drive.

Will jettison eject an external drive even if an Application like iTunes is using it?

tug
Jan 17, 2013, 01:37 PM
i think I've solved this problem (worked for me, not had problem since, even ATV stays connected!)

ok this is what i did, in sys prefs. energy saver i just unchecked 'put HD's to sleep when possible' and never had problem since. :):cool:

hope it works for you guys too.

ryedarrow
Jan 17, 2013, 01:48 PM
i think I've solved this problem (worked for me, not had problem since, even ATV stays connected!)

ok this is what i did, in sys prefs. energy saver i just unchecked 'put HD's to sleep when possible' and never had problem since. :):cool:

hope it works for you guys too.

Yeah that fixed the problem for my Lacie drive, but my raided 6TB drive still ejects improperly...

davidra
Feb 4, 2013, 06:50 PM
Brand new iMac user, with a new 27" iMac. I purchased a Fantom 1.5 TB external to use with TM. I cannot let the computer sleep without the drive disconnecting (and getting the "failed to eject" message. This apparently is a common problem (https://discussions.apple.com/thread/4174723?start=0&tstart=0). No problem at all if I don't let the iMac sleep; everything works perfectly. I tried the drive in my son's Mac Pro running Snow Leopard and the drive did not disconnect after the computer was put to sleep. I have two questions:
1. How bad is it to never let the iMac sleep? (The display sleeps with no problems but not the computer).
2. I noticed when I clicked the "sleep" option on my son's Mac Pro it took about 20 seconds for the screen to shut down; on my iMac the screen goes black immediately. Is that normal behavior?

According to several people, including some in this thread, this is a bug in ML, but everyone doesn't seem to be experiencing it. Suggestions?

ryedarrow
Feb 4, 2013, 06:52 PM
Brand new iMac user, with a new 27" iMac. I purchased a Fantom 1.5 TB external to use with TM. I cannot let the computer sleep without the drive disconnecting (and getting the "failed to eject" message. This apparently is a common problem (https://discussions.apple.com/thread/4174723?start=0&tstart=0). No problem at all if I don't let the iMac sleep; everything works perfectly. I tried the drive in my son's Mac Pro running Snow Leopard and the drive did not disconnect after the computer was put to sleep. I have two questions:
1. How bad is it to never let the iMac sleep? (The display sleeps with no problems but not the computer).
2. I noticed when I clicked the "sleep" option on my son's Mac Pro it took about 20 seconds for the screen to shut down; on my iMac the screen goes black immediately. Is that normal behavior?

According to several people, including some in this thread, this is a bug in ML, but everyone doesn't seem to be experiencing it. Suggestions?

I have this same question... How bad is it to NEVER let my Mac Mini go to sleep?

Cause this is what i am doing to solve the problem too.

davidra
Feb 5, 2013, 01:47 PM
As opposed to starting another thread, I'm sure somebody can answer the question how harmful it may be to leave your Mac on 24/7 with only the display sleeping?

davidra
Feb 6, 2013, 11:50 AM
After dealing with the Micronet support system (which is very good), I got this reply today. My suspicion is that the same situation is true for other manufacturers...in fact, it's likely since they are just boxing other people's drives.

"I apologize for the delay in response. We've now replicated the issue, which appears to affect Macs with native USB 3. We will have new firmware to fix this issue begin testing within the next week; Would you like to receive the beta?"

rk25123
Feb 6, 2013, 01:57 PM
I had this problem and Jettison (1,79 App Store) solved it!

davidra
Feb 6, 2013, 02:04 PM
I had this problem and Jettison (1,79 App Store) solved it!
As best i can tell, Jettison just ejects the drive before the computer goes to sleep. After ejected it can't backup. Jettison would not have helped my problem.

ZipZap
Feb 7, 2013, 03:59 AM
This was 100% the fault of the USB 3 hub I was using (Plugable). A firmware update resolved the issue but it took them 6 months to admit it was NOT Mountain Lion.

My drives now eject properly, and reattach on wake.

davidra
Feb 7, 2013, 05:03 AM
It seems like a lot of drive and hub makers have not been accurate as to how to get their products to successfully interact with the Mac USB 3.0 bus. If you're having problems contact the manufacturer. That's two of us that have had this happen.

Blubert
Feb 16, 2013, 10:37 AM
I had the problem of when my Macbook Pro went to sleep with two FW 800 Drives Daisy Chained and a Thunderbolt Raid attached, when I woke it up it gave me the "these drives have not been ejected properly" type warning.

Being a bit old school I zapped the PRAM (Now called VRAM) et Voila!!

Everything is now working tickity boo

Worth a shot people!

Resetting NVRAM / PRAM
Shut down your Mac.
Locate the following keys on the keyboard: Command (⌘), Option, P, and R. You will need to hold these keys down simultaneously in step 4.
Turn on the computer.
Press and hold the Command-Option-P-R keys before the gray screen appears.
Hold the keys down until the computer restarts and you hear the startup sound for the second time.
Release the keys.

ZipZap
Feb 17, 2013, 05:30 AM
I had the problem of when my Macbook Pro went to sleep with two FW 800 Drives Daisy Chained and a Thunderbolt Raid attached, when I woke it up it gave me the "these drives have not been ejected properly" type warning.

Being a bit old school I zapped the PRAM (Now called VRAM) et Voila!!

Everything is now working tickity boo

Worth a shot people!

Resetting NVRAM / PRAM
Shut down your Mac.
Locate the following keys on the keyboard: Command (⌘), Option, P, and R. You will need to hold these keys down simultaneously in step 4.
Turn on the computer.
Press and hold the Command-Option-P-R keys before the gray screen appears.
Hold the keys down until the computer restarts and you hear the startup sound for the second time.
Release the keys.

The issue here is old and could not be fixed by a reset when it was occurring. The hubs are now 8 months down the road and have been updated.

Plugable, the folks I got mine from, swore it was Apple. Apple, could find no issue and 8 months later, plugable admits it was the firmware from their manufacturer.

What's annoying is it took them 8 months, and only fessed up when pressed on their blog.

Despite this, they sell a good USB hub, though they did not design or manufacture it.

rmd2011
Apr 25, 2013, 09:34 AM
Brand new iMac user, with a new 27" iMac. I purchased a Fantom 1.5 TB external to use with TM. I cannot let the computer sleep without the drive disconnecting (and getting the "failed to eject" message. This apparently is a common problem (https://discussions.apple.com/thread/4174723?start=0&tstart=0). No problem at all if I don't let the iMac sleep; everything works perfectly. I tried the drive in my son's Mac Pro running Snow Leopard and the drive did not disconnect after the computer was put to sleep. I have two questions:
1. How bad is it to never let the iMac sleep? (The display sleeps with no problems but not the computer).
2. I noticed when I clicked the "sleep" option on my son's Mac Pro it took about 20 seconds for the screen to shut down; on my iMac the screen goes black immediately. Is that normal behavior?

According to several people, including some in this thread, this is a bug in ML, but everyone doesn't seem to be experiencing it. Suggestions?

POSSIBLE SOLUTION:

I have a new (late 2012) 27" iMac, and I was experiencing the issue that many of you have reported, with hard drive disconnects each time my machine went to sleep, and the 'improperly ejected' messages as soon as it woke up. My primary external drive is a WD MyBook 3TB unit that I use for Time Machine backups. As a temporarily solution, I changed the settings so that my iMac never went to sleep. While this worked, I never intended it to be the final answer.

I was able to finally resolve the issue by replacing my USB3 hub. I had been using a Lacie USB3 powered hub from a few years ago. After reading a little about these devices, it seems that many of the vendors have followed different standards over the years, so one hub may not actually behave the way another one will (or the way that the actual standard requires).

I purchased the Belkin 4-port USB3 hub that is sold at the Apple store. Since making this change, I have not experienced the problem again. I have literally put my iMac to sleep *many* times just to prove that the problem is really solved. Now, when it goes to sleep, the hub and drives shut down, as expected (all of the lights on the hub shut off). When the iMac returns from sleep, the hub reactivates (all the lights turn back on) a moment before the iMac comes back to life, and the hard drives are visible and ready to use. I have had no further disconnect messages.

I thought I'd let people know about my particular experience. Hopefully, it will help at least a few of you out there...

Che Castro
Apr 25, 2013, 09:01 PM
For me this only happens after the mac has been a sleep for a long time

ZipZap
Apr 26, 2013, 04:42 AM
After a long go around with the vendor who assured many of us their usb 3.0 hub was fine, it turned out to be the firmware in the usb hub. (Plugable hub)

I will be its the interface on the drive that is the issue.

ColdCase
Jun 18, 2013, 05:31 PM
I purchased the Belkin 4-port USB3 hub that is sold at the Apple store. Since making this change, I have not experienced the problem again. I have literally put my iMac to sleep *many* times just to prove that the problem is really solved. Now, when it goes to sleep, the hub and drives shut down, as expected (all of the lights on the hub shut off). When the iMac returns from sleep, the hub reactivates (all the lights turn back on) a moment before the iMac comes back to life, and the hard drives are visible and ready to use. I have had no further disconnect messages.


Have you run into the situation where the Belkin hub seems to get into a wake/sleep cycle that gives the Mac insomnia?

I have 10.8.4 on a rMBP that seems to cycle (sometimes, sometimes well behaved). It doesn't wake up the whole way, but is maintenance wakeup that also wakes up my third party display (TB-DP connection). System logs says hub port 2 is waking up, which is a recent OWC USB3 raid.. but I can turn off that Raid and sometimes the rMBP gets into the same cycle regardless. Blue Tooth is turned off. I may try swapping cables.

sivleyelserp
Aug 22, 2013, 02:28 PM
I'm no engineer. New iMac early this year & I purchased a new surge protector, hooked everything up including my G-Drive. It never worked right from that point. Whenever my computer went to sleep, the G-Drive ejected & I would get the pop-up warning: improperly ejected. I spent hours on the phone, on forums, looking for a solution and resorted to backing up once a week. Finally I took it to the Genius Bar yesterday where it worked perfectly. Even so, to be certain, I got a new USB. Happily I connected up at home it started all over again until I finally looked at the surge protector which, turns out, was an HP Monster with Green Power Energy Savings (the outlets switch off automatically & I hadn't paid any attention.) I ditched Monster, plugged it up to an older surge, and it's working perfectly.

MacMan988
Aug 27, 2013, 09:19 AM
I'm also having the same problem with my external HDD being used for TM backups.

ZipZap
Aug 28, 2013, 03:44 AM
I'm also having the same problem with my external HDD being used for TM backups.

Plugged Directly into your Mac, or through USB hub?

If you are using a USB hub then that is most likely your problem.

MacMan988
Aug 28, 2013, 07:38 AM
Plugged Directly into your Mac, or through USB hub?

If you are using a USB hub then that is most likely your problem.

It was connected directly. My previous external HDD did not get detected by the mac at all but it worked perfectly well with my brother's windows laptop. So I gave it to him. This is the next one I bought and now I've stopped using it also.

First I had the drive encrypted and I didn't save the password to keychain, so I had to manually mount it each time coming back from sleep. Now the password is saved, but still I see that the HDD is getting disconnected.

davidra
Aug 29, 2013, 07:22 AM
See my post #43. If you're directly connected it's likely your drive is incompatible with the USB3 bus. Contact the manufacturer, and if you can try another brand drive to make sure.

helveta
Oct 7, 2013, 02:04 PM
I've been having this problem since I got my 2013 MBA, I never had it with my 2011 MBA. My external drive is a LaCie 2Big, attached via thunderbolt to my TBD.

I tried unchecking the "put network drives to sleep when possible" box. I'll see if that works.