harmen Posted January 19, 2011 Share Posted January 19, 2011 Hi, I was looking for a way to put my server into standby mode (S3) and make it resume at a specified time. In Linux this can be done with the rtcwake command. According to http://lime-technology.com/forum/index.php?topic=9517.0 unRAID might not include rtcwake. It turns out that the command is there (using unRAID 4.6) but it complains about a missing device when I try to use it: root@NAS:~# rtcwake -s 60 -m mem rtcwake: assuming RTC uses UTC ... /sys/class/rtc/rtc0/device/power/wakeup: No such file or directory rtcwake: /dev/rtc0 not enabled for wakeup events What does this mean and how can I make this work? Link to comment
starcat Posted January 19, 2011 Share Posted January 19, 2011 Not a direct answer to your question, but maybe you can send a magic packet from another computer running in your network at a specified time and wake up unRaid? Link to comment
harmen Posted January 19, 2011 Author Share Posted January 19, 2011 I would like the unRAID server to wake up on it's own just before the mover script is started at 3:40 am. In this scenario all other computers are turned off. Link to comment
Joe L. Posted January 19, 2011 Share Posted January 19, 2011 Many BIOS have a feature to power up at a specific time. check out that as a possibility. Before experimenting, press "Stop" to cleanly stop your server. That way, if you are forced to power cycle to get control back you'll not be faced with a lengthy parity check. To put the unRAID server to sleep, you can try: echo 3 > /proc/acpi/sleep If /proc/acpi/sleep does not put your server to sleep, then S3 mode is not enabled on your motherboard. You can type: cat /proc/acpi/sleep to see what is enabled. May people have discovered that their NIC needs to be reset after a S3 sleep to respond again, same with some video chipsets. One utility to suspend better is "s2ram" and is attached here http://lime-technology.com/forum/index.php?topic=3657.msg70945#msg70945/index.php?topic=3657.msg70945#msg70945'>http://lime-technology.com/forum/index.php?topic=3657.msg70945#msg70945/index.php?topic=3657.msg70945#msg70945 (You use "s2ram -f -p" instead of "echo 3 > /proc/acpi/sleep" to go to sleep) It is described here: http://old-en.opensuse.org/S2ram You can try many of the things listed in this thread: http://lime-technology.com/forum/index.php?topic=3657 Lastly, you can set the "mover" script to run at any time. No need to run it at 3:40 AM. Joe L. Link to comment
harmen Posted January 24, 2011 Author Share Posted January 24, 2011 Apparently my board does not support S3. I am going to let it rest for now. I am still wondering whether rtcwake would work or not if my board had S3. Link to comment
starcat Posted March 5, 2011 Share Posted March 5, 2011 Which mobo do you have exactly? Thanks. Link to comment
DisplayNerd Posted April 22, 2018 Share Posted April 22, 2018 My board doesn't support s3 sleep either. The best you can do is echo -n shallow > /sys/power/mem_sleep # Then do echo -n mem > /sys/power/state Probably too late though. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.