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

Forum Discussion

HuwSy's avatar
HuwSy
Guide
Feb 05, 2023

Ready Nas 516 drive sleep issues with readynasd

Hi

Im a new Readynas user, just as they are retired and because my work decided to throw the 516 unit out with 5x 2TB drives included because they didn’t have the required support going forward. It’s already been through a multitude of wipes, resets etc to ensure there was no data included then been upgraded to the latest os. I have setup the options within the web ui to enable drive sleep, I have a few shares all with no access (no smb, ftp anything), the only enabled service is ssh as everything I use connects over this to the shares, all shares do have copy on write but don’t have defrag. I have disabled clamav, disabled the swap partition via systemctl mask, changed journaling to storage=none, moved /var/log /var/tmp /var/cache /var/readynasd /var/backups to tmpfs with startup and shutdown scripts, upped the vfs_cache_pressure dirty_ratio dirty_background_ratio to increase io caching in memory, stopped smb service all to reduce io activity in iotop and lsof which has reduced a lot but the drives still read about 450kb every other minute. The only thing that stops this is if I stop the readynasd service which is fine as I don’t need web interface once setup correctly but does mean I lose the temperature display on the front and maybe it’s shutdown on drive failure etc. is there anything else I should look at to what this service is doing with the drives, the best I can see in iotop is it’s something to do with enclosure monitor.

Thanks

15 Replies

Replies have been turned off for this discussion
  • Hello HuwSy 

     

    It seems like networking issue, network time out is occurring.
    Could you please perform OS Reinstall and then monitor if issue appears again or not?

    OS reinstall. Re-installs the firmware from the internal flash to the disks. Use the OS reinstall boot mode when the system crashes and corrupts some configuration files. OS reinstall boot mode also resets some settings on your storage system, such as Internet protocol settings and the administrator password, to defaults.

     

    OS-reinstall is a safe method and the data is not impacted at all.

     

    To access the boot menu:

    Power off your storage system.
    Using a straightened paper clip, press and hold the Reset button.
    Press the Power button. The system powers on.
    Continue to press the Reset button until the status display screen shows a boot menu message.
    Release the Reset button.
    Press the Up or Down arrows on the Touch-pad to scroll through boot mode options.The status display screen shows the current boot mode option.
    When the status display screen shows the boot mode that you need, press the OK button in center of Touch-pad to confirm your boot menu selection.

     

    Please find the link for more details : https://kb.netgear.com/23005/How-do-I-access-the-boot-menu-on-my-ReadyNAS-316-516-716

     

    Have a lovely day, 
    NiveditaPa
    Netgear Team 
      

     

     

     

    • HuwSy's avatar
      HuwSy
      Guide
      Hi

      I had previously tried this with a factory reset but experienced the same issues. I did notice the network connected, ip would pop up on display at random intervals but probably only every few hours not as often as the drive spin up. I have only 1 of the 2 NICs connected and the 2nd disabled in the web interface. Does this need or attempted both interfaces perhaps? If so I’ll need to disable or run another line as the rest of the network is already slower than this unit.

      Thanks
  • StephenB's avatar
    StephenB
    Guru - Experienced User

    You shouldn't be needing such heroic measures. Can you confirm you are running 6.10.8?  ("latest" isn't that helpful).

     

    My own NAS (an rn526) is set to sleep, but generally still spins up every 30-60 minutes during off-hours.  But I have an always-on PCs with the volume mapped to a drive letter, and some applications on that PC can and do access the volume at any time.  

     

    You might want to enable block_dump, as described here:

     

    There is a very old thread where the conclusion was that disabling ipv6 on the NAS resolved this issue.

    While I'd hope that the underlying cause would have been fixed by now, I think it is worth a disabling ipv6 on the NAS as a test.

     

     

     

     

     

    • HuwSy's avatar
      HuwSy
      Guide
      Hi

      Yes it’s 10.6.8. I have to fire up the service again to check versions.

      I have disabled ipv6 just now and enabled block dump, will let it settle a little and see what it’s like later this afternoon. If all of this was just ipv6 then it will be slightly annoying but I think I have nicely tuned the disc usage down for what will be a system that spends most off its time completely idle in my case.

      Thanks

      • HuwSy's avatar
        HuwSy
        Guide
        Disabling ipv6 on both nics made no difference and additional logging only shows enclosure monitor repeatedly dirtying and writing nodes which is nothing new from my findings with iotop. I still don’t know which files it’s hitting to move to cache though.

        Although I have now taken the alternate route and setup msmtprc and mdadm to email and shutdown on failure and will use the nas without readynasd or apache2 or samba which are the biggest culprits, although it does reduce the attack surface given I can’t really update the Debian base here.

        Or could I update Debian if I am not using more and more of Netgear software here?

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