Mac OSX Monterey External Hard Disks Going to Sleep

Hey all, I'm currently using a M1 MBA and recently updated to Monterey. The issue I'm facing now is my external hard disk dock is going to sleep after a minute of inactivity, even when I have unchecked the "Put hard disks to sleep when possible" option in the power options.


This usually gets fixed by restarting the MBA, but every time I put the mac to sleep for awhile (operating in clamshell mode and connected to external display via Caldigit TS3+) and wake it back up, the issue pops up again.


When I head into terminal and execute "pmset -g", it shows that my disk sleep option is set to 0.


The external disk drive dock is plugged directly into my Caldigit TS3+, and the TS3+ is plugged into a thunderbolt port on the MBA.

MacBook Air 13″, macOS 12.0

Posted on Dec 5, 2021 2:23 AM

Reply
Question marked as Top-ranking reply

Posted on Oct 21, 2022 5:10 PM

This is still not fixed with macOS 12.6. Even with "Put hard disks to sleep when possible" disabled, and pmset showing a value of 0 for "disksleep", my drive is still spinning down, and up, and down every few minutes. It seems to be caused by putting the Mac to sleep. I'm able to reproduce the issue and workaround the issue via the following:


How to reproduce:

  1. Boot your Mac with the external hard drive connected.
  2. Allow 10-15 minutes for mdstores process to chill out as it likes to index the drive and perform maintenance when it sees it connected. Wait even longer if this hard drive is also your Time Machine backup destination. When the drive stops reading/writing then proceed.
  3. Sleep your Mac. Wait 10-15 minutes.
  4. Wake you Mac. Wait 10-15 minutes.
  5. The hard drive will now start randomly spinning down when macOS thinks it's not needed and then 1-2 minutes later spin it back up again even though you aren't trying to access the drive.
  6. Step 5 will repeat until you reboot the Mac.


How to workaround/avoid the issue:

  1. Boot your Mac with the external hard drive connected.
  2. Go to System Preferences > Battery > Power Adapter and check the box for "Prevent your Mac from automatically sleeping when the display is off.
  3. When you are finished using your Mac, go to the Apple Menu and choose Lock Screen. Do not shut the lid.
  4. When you want to use your Mac again, press any key and log in.
  5. The external hard drive will remain active and will not spin down unless the system sleeps. Then it will get stuck in the loop mentioned in step 5 above until your Mac is rebooted.


If anyone could test and validate my findings, please respond with your results. If this is accurate and reproducible by others, then I think we have a good shot at trying to get this fixed by Apple. For those of us with Apple Care, opening a case and pointing the engineer to this thread would eliminate a lot of back and forth troubleshooting since most of the work is already done.


Thanks,


-Scott

Similar questions

146 replies

Apr 1, 2022 9:30 AM in response to hammockma89

I've done today the last monterey update, nothing about the bug fix of the external disks that go in standby. now let's put our souls in peace, apple is not interested in solving this bug. We have to continue with third party apps like amphetamine and similar. Honestly i don't like having the hard disk icons dancing from icon image to folder all the time, it gives me the idea of instability (using amphetamine with the option to keep the disks awake every 10 seconds).

Such a shame


Jul 18, 2022 12:32 PM in response to saofrenzy

Chiming in with "I have the same issue": after waking M1 Max Studio running 12.4 from sleep, ext drives (WD MyBook Duo, OWC Mercury Elite Pro Dual, OWC Thunderbay 4) will spin up/down every 30 seconds regardless of what's set in Energy Saver. Don't think the connection matters, it's blanket across everything no matter how they're plugged in.


Only "fix" I've found from some other forum is to trash the Power Management prefs and restart, then uncheck "put hard disks to sleep when possible" again in Energy Saver. This only works until the next time you put the computer to sleep, so I usually have to do this minimum of once per day. I always find two PM pref files in ~/Library/Preferences/ though, one labeled normally and one with some extra numbers/letters on the end.


Just submitted feedback bug report to Apple, would really appreciate a real system-level fix as this is not just an annoyance when trying to work, but will actually damage your spinning drives over time if left unchecked.

Aug 10, 2022 6:38 AM in response to Wurlitzer1015

Have you tried going the opposite way? I mean clearly the no sleep option is buggy since it doesnt work in system preferences. But if you set your disk sleep timer to something ridiculously high, like 60 minutes, that should prevent sleep from happening anytime you are doing anything that involves your hdd but let them sleep overnight or when you are away from your desk. Try it and report back. It works for me so far.

Aug 19, 2022 9:09 AM in response to Wurlitzer1015

I won't discount that this may be the case for some people and drives, but its definitely not my experience. If it were drive-specific firmware putting my disks to sleep rather than the mac, then that behavior would be consistent, and its not. My drives were working and sleeping normally until I got and hooked up my Studio Display, did some rearranging of my ports and software updates and then after that I started having the Sleep At 60 seconds problem. Same enclosure, same drives. This persisted for a few days, and then I did some Terminal adjustments to the settings and that changed the disc sleep for a day. But then it started again.


Provisionally, I have found that doing a shutdown at night and restart in the morning (rather than just overnight sleep) seems to "remind" the mac of the disks and the sleep settings, so my current guess is that deep sleep may be the culprit in losing track of the disk sleep settings. Not sure, but have not had the spin down issue since beginning my daily shutdown/boot up regime. I do NOT use the "0" setting, but rather I have set the disksleep to 15 minutes, which for me is seems enough when I am working on anything involving the drives and video playback to keep them awake.

Oct 19, 2022 3:43 PM in response to Klahane

Just an update...


I've installed the Ventura release candidate on my Mac Studio (M1 Ultra).


My G-Tech G-Drive seems to still somewhat frequently spin down/up, despite the setting for "Put hard disks to sleep if possible".


Which is disappointing.


However, what IS different is that the Amphetamine App seems to keep the drive from spinning down for me now (whereas before, it didn't). I set it up to write to the spinning drive once a minute, and it no longer spins down.

Feb 3, 2023 9:22 AM in response to saofrenzy

Hi,


I've got the exact same problem with my external raid on an M1 macbook pro.

What "solved" my problem was using automator to create an automation and let it move a 1kb file from one folder to another every 20 sec or so.

Maybe there was already a solution but at least you don't need to install any software for it that you normally wouldn't want on your mac.

Apple needs to fix this as it's really annoying!

Cheers!




Jan 29, 2022 9:59 AM in response to Serghios

I am still on Monterey 12.0.1 with my M1 Mac Mini. To further test, I changed my OWC Thunderbay enclosure (4 disks) from Raid being managed by OWCs proprietary software SoftRAID (6.2) to having Apple manage the RAID. The drive still bounced between sleep and wake. I changed the drives to JBOD instead of RAID and fully uninstalled SoftRAID from my Mac to ensure the drivers were not interfering. Still, the drives bounce between sleep and wake. I have a 2nd enclosure from LaCie that is RAID managed by hardware and this drive continues to bounce between sleep and wake. I will update to Monterey 12.2 and see if there is any difference, but from my testing, there continues to be an issue with the way the Mac is managing external HDDs.

Aug 13, 2022 8:51 AM in response to Javier Bonafont

SECOND UPDATE:

So I don't know if this is going to be consistent or what, but I've found that if I SHUTDOWN my mac at night and restart in the morning, it seems to correctly remember the sleep settings for the rest of the day. This is based on only a couple of days, but the previous week I had been just sleeping it overnight.


If anyone else tries this with success, advise.


Nov 14, 2022 8:19 AM in response to Wurlitzer1015

the follow-up - yeah, mileage varied. only on battery option doesn't stick.


what works currently, kinda: setting disk sleep time via terminal to 20 minutes - you're probably aware that you have to login as root user for setting to take effect, but there's no harm in pointing it out - and checking always put the hard disk to sleep if possible.


why kinda?

'cause it works only if mac doesn't go to sleep. if it sleeps, the problem comes back, disks spin down after approximately fourty seconds.


all of them, including new lacie 2big TB3 dock version 2 with default nas graded ironwolfs pro. one TB2 lacie is equipped with factory seagates that came when i bought it, and the other one is loaded with consumer range wd's. so it seems your theory that the problem might be connected to disk grade and its drivers doesn't hold up :) but it was a plausible theory.


i tried with seagate dashboard too. installed it. fired it up. the app didn't recognize any of the disks. uninstalled it.


installed the amphetamine too, but will wait to see if this currently helping workaround - unless mac sleeps - lasts. if not, then i'll try with amphetamine, despite that annoying icon/folder bouncing.


one off-topic question - how does disk utility recognize your lacie TB3 dock? mine says it's USB external disk, and i'm not sure it's ok since old lacie is recognized completely different, as visible in attached pics.



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.

Mac OSX Monterey External Hard Disks Going to Sleep

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