External Drives STILL ejecting during sleep in Ventura

Just updated to Ventura on a Mac Studio and I noticed that I still have the issue of my external HD disconnecting when the computer goes to sleep. I know this because I get the “disk not ejected properly” message when I wake the computer.


I suppose my question is this, are we EVER going to get a fix to this long-standing problem? This has been a bug I have dealt with on multiple macs, multiple external drives, and every version of MacOS for at least the last decade. It seems like something Apple should be able to fix, and yet, every time I upgrade to the latest OS I have the smallest hope that this issue might have finally been resolved. Every time I am disappointed to see that it persists. I’m far from the only person with this issue, and it is not a specific machine or OS causing the issue, it is every mac I’ve ever had and every version of MacOS.


Please, DO NOT suggest an “SMC reset”, “failing HD cables”, “reinstalling MacOS” or any of the other useless recommendations that serve no purpose other than to send people on a quixotic and time-consuming quest. This is a well known, well-documented , longstanding bug. This is clearly a problem that Apple needs to address and I’m finally annoyed enough to post about it after yet another year of the latest OS failing to address it.


The Mac Studio wasn’t cheap, and part of the expectation a person has around what is supposed to be a powerful, desktop workstation would obviously be that— given its intention as a professional workstation— that it isn’t ejecting external drives just because it needs a nap. Before you ask, yes, the behavior continues even if you turn off “put hard drives to sleep when possible” in the energy saving preferences. The only solution is a third party app like Jettison or to set your energy savings so that the computer never sleeps.


I just want to know if Apple has ever addressed this in any official capacity and if a fix is ever coming for this? The fact that there’s a market for third party apps that have to exist to try and mitigate this long-standing bug should be kind of embarrassing. I don’t get it, you can create your own processors that exceeded everybody’s expectations while running cool to the touch but you can’t get harddrives to stop ejecting? That seems odd. Does Apple plan on addressing this? Have they ever said anything about this at all? If anybody knows, I’d appreciate it.

Mac Studio, macOS 13.0

Posted on Oct 27, 2022 12:35 AM

Reply
Question marked as Top-ranking reply

Posted on Feb 17, 2023 11:05 AM

I've posted here a number of times, with both questions and potential solutions, but until now nothing I've tried has worked, until... drum role; I've finally solved mine without any changes to default macOS settings. My eject drives problem has been with me from Mountain Lion up to and including High Sierra. Here is what has worked for me and why I believe it can be replicated.


First, have y'all noticed that Apple has never, and I mean never sold an Apple-branded USB hub? They now sell several third-party hubs but attach a disclaimer that all warranty or trouble claims must be submitted to the makers of those hubs. Translation in plain English; they know they have a problem with USB and the fix in either the firmware or the OS is not worth the dime to corporate Apple, especially since they have a story they can lay on you if you have a USB problem, to wit: SMC and/or NVRAM reset.


The problem I believe is a race condition between arrival of a wake up signal and the distribution and initialization of 5v dc over USB. It appears random because it is, because it cannot be duplicated: there is no way to resolve this to properly initialize 5v dc over USB without a significant engineering investment, and since Apple does not own USB, the way they do Firewire and Thunderbolt, why bother?


My problem was having two external drive enclosures on a 7-port USB hub. The hub was connected to a direct port on the machine. When the eject problem occurred, both of these drives always ejected, not just one but both, always both (actually 4, since both drives have 2 partitions.) Meanwhile, a RAID enclosure with its own power supply also connected to USB, but on the other direct USB port on my MBP, never ejected. I discussed this problem with technical support at both the hub and enclosure manufacturers and got conflicting advice. One said never put more than one enclosure on any hub, the other said never put even one enclosure on any hub even though they sell a 5v dc adapter for their enclosure. Their message; attach their enclosure with its own 5v dc source directly to the machine. Reading between the lines; this is subtle finger pointing, certainly implying the problem is Apple's. So I ran my own experiments.


First, I moved one of those drive enclosures to an open direct Firewire port. Voilà, this drive now never ejects while the one still on the hub did, at least once every 2 or 3 days. Remember, for me macOS has only default settings and sleep, if done correctly, is welcome. This is the only fair way to test macOS since it is valuable to permit drives to sleep on a system that is always on.


Next, I added a dedicated 5v dc power adapter to the drive enclosure. The hub itself has its own dedicated supply. Result, now neither of my two external drives eject. Going into my third week without a reboot and with no spurious ejects.


Conclusion: Apple has a latent bug in the hardware/firmware/software implementation of 5v over USB. Don't expect a solution anytime soon from Apple since we know the problem is present in all versions of macOS from at least Mountain Lion to Ventura, even in non-Intel machines given the comments on this site.



Similar questions

127 replies

Oct 28, 2022 6:40 AM in response to KJH1986

KJH1986 wrote:

Just updated to Ventura on a Mac Studio and I noticed that I still have the issue of my external HD disconnecting when the computer goes to sleep.

Please, DO NOT suggest an “SMC reset”, “failing HD cables”, “reinstalling MacOS” or any of the other useless recommendations that serve no purpose other than to send people on a quixotic and time-consuming quest.

I just want to know if Apple has ever addressed this in any official capacity and if a fix is ever coming for this?



Call Customer Support (800) MY–APPLE (800–692–7753)

or on line Apple Support



Outside the USA—Contact Apple for support and service by phone

See a list of Apple phone numbers around the world.

Contact Apple for support and service - Apple Support




You can file a bug report /submit your Apple Feedback here: Product Feedback - Apple


Oct 30, 2022 9:36 PM in response to thiagomeedeiros

In the new system, they removed the option of energy saver, where it was possible to put the hard disk so it doesn't turn off after sleep.

Apple complicating things simple again!


Just noticed this as well. I was already irritated that this bug is still present and I hadn't even noticed that in Ventura we don't even seem to have the option we used to have to prevent the computer from going to sleep and ONLY allowing the display to sleep.


So, not only is this bug still present, Apple has actually made it MORE difficult to work around a problem that shouldn't exist in the first place and they haven't fixed in years. They've somehow achieved in making the issue even worse now because one of the easiest (if not ideal) ways to remedy the problem is now missing as an option in the UI nightmare they now call "system settings" 🤦‍♂️


I've been using Macs long enough to remember when expecting that every new update would break something, take a step backwards in terms of UI or user friendlness, or take away something you relied on was something associated with using a Windows machine, not a Mac.

Jan 30, 2023 3:41 PM in response to Juergen Baumann

after more than two weeks of trying different setups I get the following:

turned off WLAN, set disk to sleep never and no automatic sleep for display. BTW this should have been on as we set that with Apple support 2 weeks earlier.

Now the external drive (with it's own power supply) stopped to spin down, did not go to sleep for three days. MBP was not shut down.

Turned WLAN on, just to see what happens, same.

Next day, did shut down MBP, after restart, the disk starts to spin down again, but the settings are the same as before ...

That's how the MBP has been operated now, including battery powered, connecting other drives. Drives spin down.

But - so far not a single drive eject.

Jan 30, 2023 4:39 PM in response to Juergen Baumann

We have an excellent lab experiment going on. You guys do all this crazy **** that we should not have to do - after all, isn't macOS the best UNIX ever written :-) - and I'll just keep waking my MBP by one touch to the space bar. So far, it's been a week since I embraced this idea and no more unplanned ejects. My machine is pure vanilla, except max memory and an internal SSD: I use it as a workstation so devices are always connected. I almost never move it, for any reason. Wi-Fi always available but this machine is also wired to router. Large HP monitor, USB multiport, RAID, two external OWC enclosures (I can boot from two alternate drives if my internal SSD were to fail,) no special sleep settings, lots of application SW including tons of my and client Perl stuff, VirtualBox (FAT drives for Doze), seven external drives, no Time Machine (I use Carbon Copy Cloner for multiple nightly backups - CCC's cron settings awakens a sleeping macOS and never, never ejects any drives, but a CCC job will fail if a drive is not or cannot be mounted.) Hopefully we will learn something existential about macOS and Apple will take a look at their, perhaps buggy, track pad code.

Jan 31, 2023 5:10 PM in response to KJH1986

Very curious indeed! I asked about whether you have a Magic Track-pad because I believe the device driver code for all such devices, whether separate stand alone devices or built in to a MBP is the same. Good engineering suggests one device driver and one implementation regardless of how the HW is assembled. If I am right about this, and if Apple has a latent bug, or bugs, in that driver it would manifest itself across all Apple HW platforms that support a track-pad. I know what clamshell mode is but I never use it except on two or three occasions when my MBP awoke, its own local screen was black while the external monitor was active. It was quite a hassle to get logged in using only the external monitor (my machine is PW protected even at home and the login dialogue appears only on the local) without simply powering off the machine, a no-no. I tried all manner of poking and prodding including closing the lid and reopening it to make the internal screen active. Finally, I got logged in to the dingus using only what could be seen on the external monitor and was able to power off normally. Rebooting always corrected the problem and both screens were again active. I say this only to illustrate my very rare use of clamshell mode, and other latent Apple bugs :-(.


Yes, I too have had directly connected drives ejected.


During your testing please observe and note the following:

1: after a single press of the spacebar, do the LEDs on your USB hubs immediately light?

2: when, exactly do you see the eject messages; before you enter your password or only after login?

3: are all external drives ejected or only a few?

4: do you employ an uninterruptible power supply? If yes, does it power your hubs?


I had almost given up on finding a solution to this problem, and was resolved to just live with it, because my backup strategy is so effective, and drives are relatively cheap, certainly cheaper than a new machine, until the epiphany I had when I connected the dots, at least on my implementation, that how I was waking the machine might be the problem. That's when I returned to the Apple community to possibly revisit the issue and discovered your post. I know a week of testing does not seem like much time with which to draw a conclusion, but in a week's time I wake the machine up at least a hundred, or more times. I will confess failure if my single spacebar press causes even one drive to eject improperly. Alas, I can't look to Apple for support. My machine and my version of the OS are no longer supported. I don't believe in replacing something that works just because it's old (I'm old!) particularly since a circa 2012 MBP is a superb machine and High Sierra is a brilliant version of macOS, before it was corrupted with a lot of iOS code.


BTW: according to Systems Software Overview, my machine has been up and running for 62 days without a reboot, and now no improperly ejected drives for a full week. It runs so well I forget to reboot. Also, I've given up on ever seeing a solution to this problem from Apple. As bad as that indictment is, the competition is worse.

Feb 17, 2023 9:39 AM in response to Juergen Baumann

Juergen Baumann wrote:

oh well, back to square one......Did update to Ventura 13.2.1 - and guess what

Disc eject is back...

The only other change was to update Adobe software Lightroom, Lightroom classic and ACR to the latest versions.

No settings change, all look the same a s before.


Well, the obvious workaround is do not sleep the Mac. Just use the screensaver.

Mar 29, 2023 2:59 AM in response to perlboy_emeritus

this is quite interesting as my MBP is also the 10,1 and was my first Mac with this problem, my older unibody 2007 MBP didnt.


But as the external drives werent the same either, (older USB2 vs new drive USB3) I couldn't related the problem to USB3-Mac relationship.


Wondering if this is the real problem, It could be very sad as it's being 11 years without fix.


I have 3 USB 2.0 dock for 3,5" and many external drives, HDD, SSD and NVMe, different brands, and just some drives are suffering this ejection.No matter the Mac port,cable or model, some just are ejecting and some just wont


8 3,5" 3 of them suffer this problem

2 SSD 2,5" none suffer this problem

1 Samsung Evo Pro with suffer this problem (2 enclosure tested and one dont suffer this problem with another NVMe drive tested)



this is driving me nuts


Apr 26, 2023 10:13 AM in response to KJH1986

The option to prevent hard-drive sleep in Ventura seems to disappear when there are no spinning drives (ie only SSDs) attached. When it does appear, it's under Battery > Options. Regardless, the underlying system setting can be seen and controlled from the command line with pmset(1); man pmset for details.


Nevertheless, with pmset showing disksleep set to 0, I'm still seeing my external SSD being "improperly ejected" during a Time Machine backup. Frustrating.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

External Drives STILL ejecting during sleep in Ventura

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