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 working it was set to State.

It remains on even with the network cable unplugged, so I don't think it is kept on by some other device in the network.

All apps have been uninstalled.

Any suggestions what to look at?  Are there some log files than I can check?

Thanks!

Other notes: in case it makes any difference, it has 6GB compared to the 2GB when orginally purchased)

Firmware is 6.10.6.  I don't know exactly when the power timer stopped working, at least a couple of updates ago.

The disks spin down as expected

 

  • 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.

     

     

16 Replies

Replies have been turned off for this discussion
  • Sandshark's avatar
    Sandshark
    Sensei - Experienced User

    Does the log show it's trying to shut down and fails, or is there no shut-down entry?

    • ReadyNASinUK's avatar
      ReadyNASinUK
      Aspirant

      Sandshark wrote:

      Does the log show it's trying to shut down and fails, or is there no shut-down entry?


      The main log says every day: "System: Scheduled power off was delayed."  I was hoping there might be some more detailed info that I can access somewhere.

  • StephenB's avatar
    StephenB
    Guru - Experienced User

    ReadyNASinUK wrote:

     

    Other notes: in case it makes any difference, it has 6GB compared to the 2GB when orginally purchased)


    The RN104 memory is soldered on (and it came with 512 mb, not 2 GB).  Can you double check the NAS model?

     


    ReadyNASinUK wrote:

    After working for years, our ReadyNAS has stopped switching off out-of-hours. 


    There are a couple of things that will hold off a scheduled shutdown

    1. Backup job in progress (including ReadyDR)
    2. volume being resynced/reshaped/recovered
    3. RAID group in process of being deleted

    Have you checked that those don't apply?

    • ReadyNASinUK's avatar
      ReadyNASinUK
      Aspirant

      StephenB wrote:

      ReadyNASinUK wrote:

       

      Other notes: in case it makes any difference, it has 6GB compared to the 2GB when orginally purchased)


      The RN104 memory is soldered on (and it came with 512 mb, not 2 GB).  Can you double check the NAS model?

      The model is as stated in the header, orgininally with 2x 1GB disks but now with 3GB disks.  Can't see how that would make a difference but...

       


      ReadyNASinUK wrote:

      After working for years, our ReadyNAS has stopped switching off out-of-hours. 


      There are a couple of things that will hold off a scheduled shutdown

      1. Backup job in progress (including ReadyDR)
      2. volume being resynced/reshaped/recovered
      3. RAID group in process of being deleted

      Have you checked that those don't apply?


      1. ReadyDR does not run on RN104 afaik.  All jobs are completed or failed (failed, if that PC is away for example) long before shut down time.

      2. Nothing I can see in the main log.  Bear in mind this fails every day.  Is there somewhere to check if the system thinks one of these is in progress? - maybe not completed for some obscure reason?  NB this error survives reboots and firmware upgrades.

      3.  Ditto as 2

       

       

       

      • StephenB's avatar
        StephenB
        Guru - Experienced User

        ReadyNASinUK wrote:
        Nothing I can see in the main log.  Bear in mind this fails every day.  Is there somewhere to check if the system thinks one of these is in progress? - maybe not completed for some obscure reason? 

        Have you downloaded the log zip file?

         

        Look in system.log (searching for "Shutdown delayed").

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