Public bug reported: Binary package hint: powernap
I have coded a powernap plugin module that leverages hdparm to monitor disks that enter standby or sleeping state. This plugin should be useful in scenarios such as building a NAS box, where the primary objective is to have the server powered primarily only if the data disks are in use. In such a scenario, if hdparm has been configured to spindown the disks when idle, this DiskMonitor powernap plugin can take the server down the rest of the way to a low power state. If any of the monitored disks are not in standby or sleeping state, the monitor reports back as active preventing powernap from transitioning the system to the low power state. Drives that don't exist are ignored and considered inactive (not affecting transition to low power state). Unfortunately, in testing I found that spindown settings are not currently restored by hdparm (in concert wtih pm-utils) when resuming from pm-suspend. This means that after the first suspend/resume cycle, that hard drives will never spindown again, and so the DiksMonitor would keep the system awake. I have opened a bug against hdparm on this issue, with a proposed patch https://bugs.launchpad.net/bugs/738757. With the patch in place, the DiskMonitor works. ** Affects: powernap (Ubuntu) Importance: Undecided Status: New ** Tags: hdparm powernap -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/738764 Title: powernap enhancement, DiskMonitor plugin to add monitoring of standby/sleeping disks -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs