ORICO 9558RU3 RAID workaround for auto sleep
The 9558RU3 is an inexpensive 5-bay RAID from ORICO. It has a "feature" that puts the RAID to sleep after 10 minutes of no user activity, even if the array is rebuilding. This is configured in the RAID's firmware, with no way to disable, but sleep can be prevented by touching a file every five minutes.
On macOS, you can configure this by adding the following to cron:
*/5 * * * * touch /Volumes/yourvolumename/nosleep
Newer versions of macOS also require you to give disk access permission. In the Finder, go to Go > Go to folder and enter "/user/sbin/cron". Then go to Apple menu > System Preferences > Security & Privacy > Privacy > Full Disk Access. Drag and drop cron to the list of apps that have full disk access and make sure its checkbox is checked.
Comments
Is the cron create a file
Is the cron create a file called nosleep every 5 min?
Thanks!
Correct. The first time you
Correct. The first time you call touch, it creates an empty file. On subsequent calls, it updates the modification and access times of the file, writing them to disk. You can look at the manual page for the command by running man touch in the terminal.
Thank you!
Thank you!