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

Forum Discussion

Sandshark's avatar
Sandshark
Sensei
May 07, 2024

Scrub errors

I just checked the scrub status (btrfs scrub status /data) for an ongoing scrub and see this:

 

 

        total bytes scrubbed: 19.68TiB with 144 errors
        error details: csum=144
        corrected errors: 0, uncorrectable errors: 144, unverified errors: 0

 

 

This is on one of my backup NAS, and a few backup jobs were run while the scrub was ongoing, if that might have anything to do with it.  I've never seen scrub errors before.

 

Is there a way to see where these errors occurred?  I would think an rsync incremental backup job (pull) would fix any corrupted files, or is there a reason I need to manually tell it to do a complete backup next time?

3 Replies

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

    Sandshark wrote:

     

    Is there a way to see where these errors occurred?  I would think an rsync incremental backup job (pull) would fix any corrupted files, or is there a reason I need to manually tell it to do a complete backup next time?


    There are some suggestions here maybe worth trying:

     

    No harm in trying another incremental backup run, and then run another scrub (maybe from ssh, since you don't need the RAID scrub).

     

     

    • Sandshark's avatar
      Sandshark
      Sensei

      Thanks for the pointer.  I was able to find the location of the errors.  Turns out I have one pretty messed up share.  It contains files that were deleted from the primary system some time ago and not some that were added, even though the log shows the incremental rsync backups completed just fine.  It appears rsync was not identifying there were any changes.  It appears that this happened some time before the previous scrub, so it's also concerning that nothing showed up in the main log.  There probably are entries in the downloaded logs, but who looks at those except when something else points top a problem?

       

      The scrub had also ground to a crawl, so I stopped it.  I've renamed the old share and created a replacement, with the backup now ongoing.  Once that completes, I'm going to delete the old share; and I hope that doesn't give me any issues.

      • StephenB's avatar
        StephenB
        Guru - Experienced User

        Sandshark wrote:

         

        The scrub had also ground to a crawl, so I stopped it.  I've renamed the old share and created a replacement, with the backup now ongoing.  Once that completes, I'm going to delete the old share; and I hope that doesn't give me any issues.


        When the dust settles you might also want to run the disk test.

         

        It's odd to see a bunch of checksum errors.

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