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

Forum Discussion

vrspectre's avatar
vrspectre
Apprentice
May 04, 2021

Volume schedule during peak usage

Running OS 6.10.1. 

 

My scrub runs 3 times a year and it takes about a week to finish. Is it possible to schedule it so that the scrub uses less CPU during peak usage and runs full bore at night when nobody is using it? 

5 Replies

Replies have been turned off for this discussion
  • StephenB's avatar
    StephenB
    Guru - Experienced User

    vrspectre wrote:

    Running OS 6.10.1. 

     

    My scrub runs 3 times a year and it takes about a week to finish. Is it possible to schedule it so that the scrub uses less CPU during peak usage and runs full bore at night when nobody is using it? 


    It already is running at a background priority.  FWIW, I believe the performance impact is largely due to the continuous disk I/O.  I don't think CPU would be a major factor on an RN516 (which is what I think you have???).

     

    It is possible to run the commands via ssh. There is a way to pause/resume the BTRFS scrub. Pausing mdadm checkarray is supposed to be possible, but I've never tried it.   

    • vrspectre's avatar
      vrspectre
      Apprentice

      One of the apps I have has a CPU usage which shows 100% cpu being used. I supposed I/O is probably also a bottle neck. basically i just want it to run at night and pause during the day. 

       

      Do you know how i might pause it and resume it? would love to schedule it. 

      • StephenB's avatar
        StephenB
        Guru - Experienced User

        vrspectre wrote:

         

        Do you know how i might pause it and resume it? would love to schedule it. 


        I don't know exactly what command is being used for the mdadm piece, and that would matter for this. mdgm might know.

         

        For the btrfs piece of it, you'd enter 

        # btrfs scrub cancel /path

        to pause, and then later on use

        # btrfs scrub resume /path

        to resume it.  The status is saved in a file, and it will pick up from where it left off.

         

        You can see the status using 

        # btrfs scrub status -d /path
        

         

         

         

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