fonzie Posted January 8, 2017 Share Posted January 8, 2017 My webgui has been freezing up and I want to know if there is a simple way to do a clean power down through terminal when I can no longer access unRAID through the web browser. I have an Asrock server motherboard (signature) and have access through IPMI and I want to use it to restart or shutdown my server cleanly so that it does not have to initiate a parity check on startup. What are the specific commands to spin down, unmount, stop services, and clean power down (or reboot)? Thanks. Link to comment
fonzie Posted January 8, 2017 Author Share Posted January 8, 2017 oh wow, it's that simple?! Looking back at V5 there was like an essay you had to write. So what code would I type for a restart? restart -r I'm guessing that's incorrect. Link to comment
Squid Posted January 8, 2017 Share Posted January 8, 2017 oh wow, it's that simple?! Looking back at V5 there was like an essay you had to write. So what code would I type for a restart? restart -r I'm guessing that's incorrect. in v5 days restart -r wouldn't do a clean restart. The powerdown plugin is now incorporated into unRaid 6.2+ And that command I gave was for the restart. A shutdown is just powerdown Link to comment
fonzie Posted January 8, 2017 Author Share Posted January 8, 2017 oh, okay. Awesome! Thanks a bunch. Link to comment
CHBMB Posted January 9, 2017 Share Posted January 9, 2017 reboot also works on V6.3 Sent from my LG-H815 using Tapatalk Link to comment
Zonediver Posted January 9, 2017 Share Posted January 9, 2017 Is there also a console command for sleep mode? Link to comment
bonienl Posted January 9, 2017 Share Posted January 9, 2017 Is there also a console command for sleep mode? echo -n mem >/sys/power/state Link to comment
B_ISC Posted January 9, 2017 Share Posted January 9, 2017 Was the native restart/reboot command hooked into the powerdown script automatically after 6.2? It allowed the hardware power button to do a clean shutdown. Link to comment
bonienl Posted January 10, 2017 Share Posted January 10, 2017 Was the native restart/reboot command hooked into the powerdown script automatically after 6.2? It allowed the hardware power button to do a clean shutdown. reboot = /sbin/reboot powerdown = /sbin/poweroff Link to comment
RobinG61 Posted January 10, 2017 Share Posted January 10, 2017 I do not know why but powerdown is not always working for me (sometimes I have to do the powerdown three times in a row!). I don't know why this is the case. On the other hand, reboot works perfectly, always. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.