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

Jul 20, 2022 8:30 AM in response to Klahane

Continuing to monitor my Disk Not Ejected properly issue (which may or may not be related to disks spinning up and down frequently):

I have two OWC miniStackSTX boxes (Thunderbolt 4) with 14T hard drives used only for Time Machine. One is connected to a Mac Studio with an Apple 3 m Thunderbolt 4 cable. The other is daisy chained to the first drive. Nothing else is on this Thunderbolt chain.


After three months of testing ports, switching the positions in the Thunderbolt chain and monitoring and record keeping, I can say for certain that that the drive in the OWC miniStackSTX box daisy chained (#2 in the Thunderbolt chain) spontaneously ejects much more often than the directly connected drive.

Aug 3, 2022 4:35 PM in response to saofrenzy

Same problem here, seems to happen less with my Lacie RAID thunderbolt drive, but happens all the time with my USB 3.1 drive plugged directly into the rear ports on a M1 Max Studio. Every time I open up finder it beach balls for 10 seconds before showing the folders. Tried other cables, unchecked all the "put drives to sleep" check boxes, downloaded amphetamine...


Seems to work better after a restart for some unknown reason but starts spinning up and down constantly after a few minutes

Aug 9, 2022 4:04 PM in response to Javier Bonafont

"Have you tried changing the disksleep settings in Terminal?"


I experimented with several settings shorter than the default 10 minutes.


Note that the issue I'm dealing with is external hard drives spontaneously unmounting*, not a spin-up, spin-down problem.


*sometimes the drives remount on their own, sometimes I have to restart or unmount all and unplug and replug the Thunderbolt cable.

Aug 19, 2022 8:54 AM in response to Peedy

Update on my separate hard drive issue of drives spontaneously unmounting and producing one or more Notifications that the drive was not ejected properly—

Background: two OWC miniStack STX boxes Thunderbolt 4 daisy chained from a Mac Studio. Each box has a 14T hard drive. One box also has a 4T SSD. Everything's Thunderbolt 4. I've tested every configuration I could think of and several different Thunderbolt 4 cables.

I have logged as many Notifications as I could, and noticed that the second OWC miniStack STX on the Thunderbolt 4 daisy chain spontaneously ejected much more often that the one plugged directly into the Mac Studio. So I plugged both drives into my Mac Studio directly, so there's no daisy chaining. Ten days have passed with no spontaneous unmounting.

I ordered a second 3m Apple Thunderbolt 4 cable so I can have both drives located where I want them.


This is an expensive solution and shouldn't be necessary. I think it clearly implicates something about Thunderbolt 4. But I can live with this solution.

Aug 19, 2022 8:59 AM in response to Wurlitzer1015

That's an interesting theory, except for many of us have used these drives with Intel Macs with VERY different behaviors.


We aren't talking about normal drive spin-down here. I expect and want my drive to spin-down!


What I don't want is for a drive that isn't in use to spin back up, then down, then back up, every few minutes. That is not normal!


With my drives connected to an Intel Mac, the behavior is as expected.

Aug 21, 2022 4:08 PM in response to Nellisoft

HI Nellisoft, OK, that's useful to know. I did the pmset command before changing the drives out and haven't changed it from 0 since, so that could fit in with your theroy. I'm waiting for delivery of 4 Seagate Iron Wolf drives, I'll swap them out with the drives in the two older LaCie enclosures and post what I find. For now the newer 2Big Dock Thunderbolt 3 is still not spinning down, whereas the the two older units are. This inconsistency in external drive behavior, one remaining up and two spinning down after 60 seconds, still makes me think it might be the drive type. I have tried them on different thunderbolt ports to try and remove the ports as an issue.

Aug 27, 2022 3:14 AM in response to saofrenzy

Same issue for me, 2x WD Red (WD40EFAX) in Akasa USB box, formatted with APFS & RAID. MBP 13" M1, Monterey 12.5.1 and still not resolved. It's painful since I have a Lightroom library in that RAID array and disks are going down/up many times when working with my photos. I am certain this issue started a month or two ago, maybe after some update. Apple, please, get this resolved.

Aug 29, 2022 7:18 AM in response to Klahane

"Ten days have passed with no spontaneous unmounting.

I ordered a second 3m Apple Thunderbolt 4 cable so I can have both drives located where I want them."


Ten more days have passed with no spontaneous unmounting after installing the second 3m Apple Thunderbolt 4 cable.


Oddly, the disk spontaneously unmounted twice the morning after I moved it the first time and connected it directly to my Mac Studio. Exactly the same thing happened when I moved the disk a second time and installed the 3m Apple Thunderbolt 4 cable.

But after spontaneously unmounting twice in quick succession after each move, the system's been completely stable.


(Note that I'm not monitoring unusual spin up and spin down as my disks are used only for Time Machine.)

Sep 19, 2022 9:33 AM in response to saofrenzy

Just to add more data points, when I wake my MacStudio up in the morning, it tells me my time machine drive was dismounted incorrectly, plus sleep disconnects my printer (ethernet through a caldigit hub) when it goes to sleep so I have to restart my machine whenever I want to print anything. I'm thinking I should just shut my machine down at night rather than letting it sleep, but that's a work around, not a fix.

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.