December 4, 20232 yr Hi folks, Sometimes I have to shut down the Unraid Server remotely, without access to the interface. I've been reading posts supporting "poweroff" and "powerdown" commands. When I used "Powerdown" , the server came up with the parity check, which is very annoying. Thus, in short, for version 6.12.4, which is the best command or bash script to clean shutdown the Unraid server, without came up with parity check. Thanks in advance!
December 4, 20232 yr Community Expert They should have the same result, if the shutdown was unclean there was likely something causing it, when that happens Unraid will save the diags in the flash drive /logs folder.
December 4, 20232 yr Author Thanks @JorgeB! There is an easy way to access this file? Through the interface? Should I post it here?
December 4, 20232 yr Community Expert @EDalcin, get times on stopping the array on the Main tab and add 25% to it. Then look at the setting on the SETTINGS >>> Disk Settings and set the marked parameter in the screenshot below to that calculated value:
December 5, 20232 yr Author 9 hours ago, Frank1940 said: Hi @Frank1940 Thanks for jump in! 9 hours ago, Frank1940 said: get times on stopping the array on the Main tab and add 25% to it. Where exactly is this? I couldn't find it. 9 hours ago, Frank1940 said: Then look at the setting on the SETTINGS >>> Disk Settings and set the marked parameter in the screenshot below to that calculated value: I have "90" at "Shutdown time-out:". Should I have more? Thanks in advance!
December 5, 20232 yr Community Expert 54 minutes ago, EDalcin said: I have "90" at "Shutdown time-out:". Should I have more? It depends, the diags after an unclean shutdown will show, but you can safely set it to 150secs, a higher value it's often needed.
December 5, 20232 yr Community Expert Solution 3 hours ago, EDalcin said: Where exactly is this? I couldn't find it. On the MAIN tab of the GUI as shown in the following screenshot: You do the timing manually with a stopwatch (or its equivalent). Great accuracy is not required as the time may vary several seconds from measurement to measurement. You are after a good approximation of the time required. Remember if the array can not be stopped within that time setting on the Disk Setting tab, Unraid will force an unclean shutdown! As I understand it, Unraid will do a clean shutdown as soon as it has detected that the array has been stopped so having a shutdown time that is on the high side has no real penalty if things are working correctly. (The sole exception being if your UPS runs out of battery power as a result of waiting...)
December 5, 20232 yr Author Great explanation @Frank1940 ! That makes perfect sense now. I'll hit "Stop" and do the timing manually. Then, I'll set the "Shutdown time-out:" accordingly. Thanks!
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.