Suspend To Disk And Wake On Lan, Can you somehow combine Suspend2 and Soft off?
Hi all.
I have Suse 10 fileserver running in my home LAN, serving files (doh) to all my computers (2 more Suses and windows and an xbox). Server is running very nicely with old hardware (700mhz duron with 256mb RAM). But in the interests of reducing the running costs I´m trying to achieve somesort of compromise with powerusage and ease of use.
As I already mentioned above, I´m trying to cut the hefty electricity bill I can´t afford as a student much longer, by saving power with the server. Currently I have the servers suspend to disk working nicely, it suspends and resumes OK, but some problems remain. For one, I´ve to manually power the machine from the suspend and secondly the resume takes alot of time, aprox. 1min 30 seconds.
Also with the server I´ve working Wake On LAN solution, when I put it to sleep in state 5 (soft off). When I "echo 5 > /proc/acpi/sleep" the system instantly turns off (is this bad for the system btw?) and I can start it again with Wake on LAN (WOL) packets via network. This is very nice.
What I´d like to do is to combine these two things. I´d like to suspend my server to disk and then be able to resume it via WOL. Is this at all possible??
If the scenario suspend2+WOL is not possible, I´d like to know if the sleep state 5 (soft off) damages the system. Because to me it seems that the system powers off "too quickly", meaning that I fear it does not shutdown properly, unmounting disks and closing services.
If the soft off process is indeed safe to use, I´d also like to know how I can tweak my servers boot to take less time. I´ve already disabled the unneeded services, but besides that I´m clueless.
Finally I´d really like to know how I can make my system go to sleep or even poweroff when its been idle for certain period of time?
I realise that the above text contains A LOT of questions, but be it known that I appreciate all the answers I get! Cheers!
|