How to accomplish automatic sleep/shutdown and power-on with advanced power management?

    • OMV 4.x
    • How to accomplish automatic sleep/shutdown and power-on with advanced power management?

      Hi.
      I want to accomplish some automated way to conserve power, but in a way, that I can always reach my NAS on-demand.

      Scenario:
      • Shutdown (or sleep) NAS over a night or when "no one" is using NAS for a specified period of time.
      • Resume (power-on, WoL), when I want to reach my data.
      • Even when OMV is "operating" as a Linux system I want to sleep my harddrives with data when there's no read/write operations.
      Plugins/settings, that I have:
      • schedules jobs in System/Power Management (obviously)
      • Physical Disk Properties in Storage/Disks
      • Autoshutdown
      • WOL
      Disks:
      • 60GB SSD - system
      • 3TB Seagate IronWolf
      • 3TB Seagate Barracuda


      Questions:
      1. Which setting/plugin (or combination) I should use to achieve my goals in best way?
      2. I can wake my NAS from sleep, but I have to login to my router and execute WoL command to wake up NAS remotely. Is there a way to wake up NAS automatically, when I try to access my shared/SMB folder?
      3. Should I set APM for my disks to conserve energy or just set up a "idle" time, after which NAS will put itself to sleep?
      4. Is there a need to set APM for SSD drive or SSD are generally not using much energy when nothing is "going on"?
      5. WOL plugin has Rtcwake tab. Is this the same as cronjobs in Power Management or is there sth different/better? If yes, should they be combined or not?
    • raven66 wrote:

      I can wake my NAS from sleep, but I have to login to my router and execute WoL command to wake up NAS remotely.
      It is also possible to use WOL from Windows and from Linux.
      On WIndows I use mhsoft start-on-lan. There are others.
      On Linux I use a terminal command.
      Odroid HC2 - armbian - Seagate ST4000DM004 - OMV4.x
      Asrock Q1900DC-ITX - 16GB - 2x Seagate ST3000VN000 - Intenso SSD 120GB - OMV4.x
      :!: Backup - Solutions to common problems - OMV setup videos - OMV4 Documentation - user guide :!:
    • Not so much.

      raven66 wrote:

      Should I set APM for my disks to conserve energy or just set up a "idle" time, after which NAS will put itself to sleep?
      I do not use APM. When I did, load cycle count increased quite fast. I use hd-idle instead.
      For APM I would use maximum power with spin down (127). But depends on the use case.
      Odroid HC2 - armbian - Seagate ST4000DM004 - OMV4.x
      Asrock Q1900DC-ITX - 16GB - 2x Seagate ST3000VN000 - Intenso SSD 120GB - OMV4.x
      :!: Backup - Solutions to common problems - OMV setup videos - OMV4 Documentation - user guide :!: