NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

ReadyNASinUK's avatar
ReadyNASinUK
Aspirant
Jan 11, 2022
Solved

ReadyNAS RN104 Power Timer not switching off

After working for years, our ReadyNAS has stopped switching off out-of-hours.  I have tried switching the power timer off and back on.  Also using State and Event switching, though when it was worki...
  • StephenB's avatar
    StephenB
    Jan 13, 2022

    ReadyNASinUK wrote:

    Thanks for the suggestion though, anything else I could try? 

     


    This suggestion will require ssh.

     

    The poweroff script checks for running backup jobs using this check:

      # Check for running backups.
      if grep -q 'IN_PROGRESS' /var/log/frontview/backup/status*; then
        OK_TO_HALT=0
        CAUSE="backup job `grep -l 'IN_PROGRESS' /var/log/frontview/backup/status* | sed 's/.*status_backup_//' | xargs echo`"
      fi

    This is intending to search files like

    1. status_backup_001
    2. status_backup_002
    3. ...

    for "IN_PROGRESS".  If it sees that string in any of those files, it holds off the shutdown.  Though the search is broader than needed (all files that start with status are being scanned).

     

    status_backup_XXX seems to be renamed to backup_XXX_status in the log zip.

     

    Backup jobs on all my OS 6 ReadyNAS start with 001. So one puzzle is why status_backup_000 exists at all.  I don't program the backup button, so one possibility is that 000 is used for that???  Just a total guess.

     

    One thing you could do remove all backup jobs from from the backup button sequence (just in case the guess is correct).  Then enable ssh and rename /var/log/frontview/backup/status_backup_000 to xstatus_backup_000.  Reboot the NAS, and the power schedule should then work correctly.  After you've confirmed that, you can re-add the backup jobs to the backup button sequence.

     

     

NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology! 

Join Us!

ProSupport for Business

Comprehensive support plans for maximum network uptime and business peace of mind.

 

Learn More