OMV Standby button reconfiguration to pm-suspend, is it possible?

    • OMV 3.x
    • OMV Standby button reconfiguration to pm-suspend, is it possible?

      Hi everyone, I have an OMV setup with no swap. The system is on a SSD driver with 4gb of ram and swapspace installed. When I use the Standby option from the UI nothing happens. I see this in dmesg

      [24893.612738] [drm] ib test on ring 5 succeeded
      [24893.671651] PM: thaw of devices complete after 684.496 msecs
      [24893.672037] PM: writing image.
      [24893.672040] PM: Cannot find swap device, try swapon -a.
      [24893.672091] PM: Cannot get swap writer
      [24893.824454] PM: Basic memory bitmaps freed
      [24893.824461] Restarting tasks ... done.
      [24895.557395] r8169 0000:04:00.0 eth0: link up

      it seems like it tries to write the memory contents to the swap partition(pm-suspend-hybrid or pm-hibernate?) which i don't have, I don't need it, the server is attached to an UPS. Anyway the pm-suspend from CLI works, but needs to be inputted manually. It's really a pain since I need to shutdown the server for the night time. I have a smaller quiet one 24/7.

      OMV is 3.0.99
      24/7 OpenVPN server: PCDuino3 Nano, OMV 3, ARM V7 Alwinner A20, 1GB DDR3, 1x500GB HGST (2.5"), 1000mbps lan.
      used with WOL by demand: OMV 3, Cooler Master Elite 120, Asrock E350M1, 84GB DDR3, 6432GB SSD(kingfast) for OS, 2x4TB + 2x2TB - Seagate + 1x1TB - HGST all are 3.5"
    • anu suggestions? Standby is much faster than poweron and off.
      24/7 OpenVPN server: PCDuino3 Nano, OMV 3, ARM V7 Alwinner A20, 1GB DDR3, 1x500GB HGST (2.5"), 1000mbps lan.
      used with WOL by demand: OMV 3, Cooler Master Elite 120, Asrock E350M1, 84GB DDR3, 6432GB SSD(kingfast) for OS, 2x4TB + 2x2TB - Seagate + 1x1TB - HGST all are 3.5"
    • I've tried to comment out github.com/openmediavault/open…4f34f044b9ad0cb56072e00e8 the file omv-pm-standby, but it still doesn't suspend it tries to write to swap. Something here is really buggy. Probably will create a ticket.
      24/7 OpenVPN server: PCDuino3 Nano, OMV 3, ARM V7 Alwinner A20, 1GB DDR3, 1x500GB HGST (2.5"), 1000mbps lan.
      used with WOL by demand: OMV 3, Cooler Master Elite 120, Asrock E350M1, 84GB DDR3, 6432GB SSD(kingfast) for OS, 2x4TB + 2x2TB - Seagate + 1x1TB - HGST all are 3.5"