Apple Silicon and Sleeping HDDs...

All your general support questions for OpenZFS on OS X.

Apple Silicon and Sleeping HDDs...

Postby CuriousCalico » Fri Jun 20, 2025 11:20 am

Hello,

It seems that the power saving states on Apple Silicon are more aggressive than Intel macs, putting my HDDs to sleep, which ZFS does not appreciate.
I'm running a OWC Thunderbay 8 thunderbolt 3 drive bay (8 drives). HDDs are WD HC580 24TB running latest firmware.

I've tried:
1) setting "never" to "put drives to sleep when possible" in the settings gui.
2) sudo pmset -a disksleep 0
3) caffeinate -ims as a LaunchDaemon

In all of the above Apple Silicon will spin the drives down after a couple minutes.
Where as Intel mac will keep the drives running no problem.

The only thing I've had luck doing is doing "smartctl -a /dev/diskXX > /dev/null" every 30 secs or so to each drive, but this seems fragile.

Curious if others have encountered this problem and/or have any suggested workarounds, etc.

Cheers,

Calico
CuriousCalico
 
Posts: 2
Joined: Fri Jun 20, 2025 11:07 am

Re: Apple Silicon and Sleeping HDDs...

Postby jawbroken » Sat Jun 21, 2025 4:36 am

can't say i've noticed this, but what are the symptoms you're seeing? just having to wait for them to spin up again, or does ZFS not appreciating it mean something more serious?
jawbroken
 
Posts: 99
Joined: Wed Apr 01, 2015 4:46 am

Re: Apple Silicon and Sleeping HDDs...

Postby CuriousCalico » Mon Jun 23, 2025 9:30 am

Interesting that you're not seeing the same issues.

Basically the harddrives will spin down. Once that happens, I typically get a kernel panic. Although I'm also getting kernel panics at other times as well. :shock:
Perhaps it's more about the interactions of the Apple Silicon mac and the OWC Thunderbay 8 running ZFS, etc. (Again Intel macs don't seem to have any problems, either with macos openzfs or running ubuntu and zfs).

I'm curious about your Apple Silicon setup.

Do your HDDs spin down at all or does ZFS just gracefully handle it when they do?
How are you connecting HDDs to your Apple Silicon system?
CuriousCalico
 
Posts: 2
Joined: Fri Jun 20, 2025 11:07 am

Re: Apple Silicon and Sleeping HDDs...

Postby jawbroken » Tue Jun 24, 2025 4:54 am

i have a Mac Studio (M4 Max) with 128 GB of RAM connected to three of the same enclosures as you (OWC Thunderbay 8). i'm running macOS Sequoia 15.5, OpenZFS 2.2.3 (OpenZFSonOsX-2.2.3-Sequoia-15-arm64.pkg). looks like there's a 2.3.0 release (that was never announced on here?) from three weeks ago that i haven't installed. might be helpful to get your various software versions.

i don't really know if my hard drives spin down at all. there's certainly plenty of time when at least one pool is getting no reads or writes, but i do have "Put hard disks to sleep when possible" off in the energy settings.
jawbroken
 
Posts: 99
Joined: Wed Apr 01, 2015 4:46 am


Return to General Help

Who is online

Users browsing this forum: No registered users and 29 guests