Jump to content

Should I be Scrubbing and Balancing BTRFS NVMe Cache pool?


adminmat

Recommended Posts

  • 9 months later...
Scrub should be done once a month and after any unclean shutdown, balance is not so easy to explain, but as long as you don't keep the pool always almost full or have a lot of small changing blocks regular balance is usually not needed, but it won't hurt, except for the extra flash wear.

I was chasing disk errors that were spamming my logs for quite a while and stumbled across Scrubbing. The correlation between unclean shutdowns and my numerous disk errors did not register between my ears. Plus, I had a disk fail during the dark phase of this journey.

I chalk it up to being a a newer unraid user, unfamiliar with Linux, unfamiliar with btrfs, and with NAS practices in general.

Pain is an opportunity for growth.


Sent from my iPhone using Tapatalk
Link to comment
  • 7 months later...
  • 1 month later...
On 7/17/2024 at 1:07 AM, tuner562 said:

Why isn't this caught by Fix Common Problems? If scrubbing is supposed be scheduled this should be checked to see if it is scheduled or not. Mine was disabled for whatever reason.

My array is BTFRS. and not XFS.

Should I scrub all the drives once per month at the same time, or stagger each one (About 8 drives) by about 12 hours? Does it matter?

 

As for cache, and pools, they re small and take only a couple hours So I'll set them to run on the same day of the month as the first disk in the array.

 

This is disk 1 of my array:

image.thumb.png.72465c04537225d7adcf61c855d50193.png

 

Recommended monthly. Do I set the same thing up for balances on everything except schedule them for the day after the scrubbing in the month, or should the scrubbing be done before?

Or just leave all disabled?

 

 

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...