Hi forum!
It's been a while since I posted something, in part because my OMV has been working flawlessly. However, I am having some issues currently with rtcwake.
My server goes in S3 suspend mode daily via a cronjob using rtcwake, the reason being that I am out of home the whole day and keeping it running cost me 120€ of electricity a year. Shutting it down during the day cuts the running costs to ~30€/year. However, since I moved the OMV installation to a new rig I started having issues. The system will suspend as expected, but it will randomly fail to properly wake up. The system wakes up, but it does not boot back online. The system becomes completely unresponsive and I have to pull the plug of the server to hard-reset it.
The first thing I checked was the logs, but there is nothing in there. I can clearly see when the system goes into suspension, but there is nothing else after that. Therefore, I have some questions to try to narrow the problem:
1. I have only 2 GB of RAM and no SWAP (I am using an SSD as OS drive and have the flash memory plugin installed). The ram usage is usually around 30% and the OMV installation size is ~12,5 GB. Might it be that I have not enough ram to use suspension?
2. I moved the OS hard drive from my old rig to the new one. The problem was not present in the old one. The main difference is that in the old one I had a swap partition (I was not using the flash memory plugin). Then, might it be that the lack of swap might be the source of my problem?
Thanks for the help!