ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Data check/scrub RAID 1 - how often?

    IT Discussion
    md raid raid 1
    4
    8
    604
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • 1
      1337
      last edited by 1337

      How often does it makes sense to do a data scrub on an md software RAID 1 array?

      The system I'm looking at have a 2x4TB array and runs the data scrub once per week (CentOS). It feels like it's way too often but I'm not sure.

      According to the logs it takes about 7.5 hours to complete so it's basically running at full speed (avg 155MB/s). Probably because it's running on weekends. It will likely take twice as long when there is more disc activity.

      scottalanmillerS Emad RE 2 Replies Last reply Reply Quote 0
      • scottalanmillerS
        scottalanmiller @1337
        last edited by

        @Pete-S said in Data check/scrub RAID 1 - how often?:

        It feels like it's way too often but I'm not sure.

        Too often? I'd lean to too infrequent. Why not scrub daily? I believe that most people consider daily to be the "baseline."

        Most enterprise RAID systems scrub constantly.

        1 1 Reply Last reply Reply Quote 0
        • 1
          1337 @scottalanmiller
          last edited by 1337

          @scottalanmiller said in Data check/scrub RAID 1 - how often?:

          @Pete-S said in Data check/scrub RAID 1 - how often?:

          It feels like it's way too often but I'm not sure.

          Too often? I'd lean to too infrequent. Why not scrub daily? I believe that most people consider daily to be the "baseline."

          Most enterprise RAID systems scrub constantly.

          Maybe you're right. We have a few other RAID 6 arrays that are in the +30TB range and they are scrubbed monthly.

          Scrubbing is mostly a sequential read of all sectors so I guess it's about the same wear on the disks if they are scrubbing or if they just are spinning doing nothing.

          scottalanmillerS 1 Reply Last reply Reply Quote 0
          • scottalanmillerS
            scottalanmiller @1337
            last edited by

            @Pete-S said in Data check/scrub RAID 1 - how often?:

            Scrubbing is mostly a sequential read of all sectors so I guess it's about the same wear on the disks if they are scrubbing or if they just are spinning doing nothing.

            Pretty much, yeah. If you can run it as a continuous background process, that's roughly ideal.

            1 Reply Last reply Reply Quote 0
            • Emad RE
              Emad R @1337
              last edited by Emad R

              @Pete-S

              Monthly or twice a month at night, Scrubbing will check each block and that takes alot of time and performance.

              1 Reply Last reply Reply Quote 0
              • JaredBuschJ
                JaredBusch
                last edited by

                Obviously one of you are wrong.
                eb49e727-c858-4bd1-98d4-ac9efb980d4b-image.png

                So proof time. Backup your statements.

                scottalanmillerS 1 Reply Last reply Reply Quote 0
                • scottalanmillerS
                  scottalanmiller @JaredBusch
                  last edited by scottalanmiller

                  @JaredBusch said in Data check/scrub RAID 1 - how often?:

                  Obviously one of you are wrong.
                  eb49e727-c858-4bd1-98d4-ac9efb980d4b-image.png

                  So proof time. Backup your statements.

                  All enterprise systems that are preconfigured do it either continuously or daily. Unfortunately, scrubbing isn't all that important (contrary to what people want to tell you about it being magic) and so even doing it never works out just fine for essentially everyone.

                  That scrubbing is a big deal at all is one of those ZFS myths that has crept into other areas. It is good, but most people learned about it from ZFS, thought it was magic, demanded to use it, blah blah.

                  1 Reply Last reply Reply Quote 0
                  • scottalanmillerS
                    scottalanmiller
                    last edited by

                    This write up sums it up well. It's a "it depends." It depends because it impacts you potentially and generally isn't very important. So therefore, there is no hard and fast guideline.

                    https://serverfault.com/questions/588217/how-often-should-i-scrub-my-raid

                    1 Reply Last reply Reply Quote 0
                    • 1 / 1
                    • First post
                      Last post