Prevent external drives from spinning down

Despite setting my external drives to stay awake, they often spin down. There are a number of third-party solutions, but they all seem to be quite old. What solution might there be for an M1 mac running Monterey?


Mac mini, macOS 12.3

Posted on Apr 11, 2022 2:59 AM

Reply
Question marked as Top-ranking reply

Posted on Apr 11, 2022 3:51 AM

The native Terminal command without quotation marks and no third party software required


" caffeinate -m "


NAME


     caffeinate – prevent the system from sleeping on behalf of a utility




SYNOPSIS


     caffeinate [-disu] [-t timeout] [-w pid] [utility arguments...]




DESCRIPTION


     caffeinate creates assertions to alter system sleep behavior.  If no


     assertion flags are specified, caffeinate creates an assertion to prevent


     idle sleep.  If a utility is specified, caffeinate creates the assertions


     on the utility's behalf, and those assertions will persist for the duration


     of the utility's execution. Otherwise, caffeinate creates the assertions


     directly, and those assertions will persist until caffeinate exits.




     Available options:




     -d      Create an assertion to prevent the display from sleeping.




     -i      Create an assertion to prevent the system from idle sleeping.




     -m      Create an assertion to prevent the disk from idle sleeping.




     -s      Create an assertion to prevent the system from sleeping. This

2 replies
Question marked as Top-ranking reply

Apr 11, 2022 3:51 AM in response to pmstavros

The native Terminal command without quotation marks and no third party software required


" caffeinate -m "


NAME


     caffeinate – prevent the system from sleeping on behalf of a utility




SYNOPSIS


     caffeinate [-disu] [-t timeout] [-w pid] [utility arguments...]




DESCRIPTION


     caffeinate creates assertions to alter system sleep behavior.  If no


     assertion flags are specified, caffeinate creates an assertion to prevent


     idle sleep.  If a utility is specified, caffeinate creates the assertions


     on the utility's behalf, and those assertions will persist for the duration


     of the utility's execution. Otherwise, caffeinate creates the assertions


     directly, and those assertions will persist until caffeinate exits.




     Available options:




     -d      Create an assertion to prevent the display from sleeping.




     -i      Create an assertion to prevent the system from idle sleeping.




     -m      Create an assertion to prevent the disk from idle sleeping.




     -s      Create an assertion to prevent the system from sleeping. This

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.

Prevent external drives from spinning down

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