hypyke Posted August 4, 2018 Share Posted August 4, 2018 There are some old topics in the forum and the docs aren't very clear. I now have the current ver and I'm running docker containers and such. What is the correct way to cleanly power down the array from the CLI? the powerdown command has no help Will that powerdown safely? I am trying to script it from another machine so I can powerdown everything in case of a storm or something. Thanks. Quote Link to comment
Frank1940 Posted August 4, 2018 Share Posted August 4, 2018 I have a note on a post-it note that says that poweroff is now the proper CLI command. I have not had occasion to try it so I can't be certain. Quote Link to comment
BCinBC Posted August 4, 2018 Share Posted August 4, 2018 I would suggest using a UPS, the system will shut down cleanly in the event of a power outage. You need to get a signal to unRAID so that it knows that the power has gone out. A Serial, USB or even an SNMP connection via the network can be leveraged. Make sure that the switch you would send this signal through is also on the UPS if you go with SNMP! I also found that using the Tips & Tweaks plug-in and selecting "ssh,bash" as the "Processes to kill before Array is Stopped:" helped immensely for shutdowns too. Also, I can confirm, 'poweroff' works nicely for a clean shutdown, just tried it. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.