Standby and resume


Recommended Posts

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

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
  • 1 month later...
  • 7 years later...

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.