Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Should I be Scrubbing and Balancing BTRFS NVMe Cache pool?

Featured Replies

I'm running two NVMe drives (BTRFS) in RAID1 for my main Cache pool. I just came across the option to schedule "Balance" and "Scrub". Is this something I should be doing regularly? I've not used this before. Searching for this answers provides wildly varying opinions. 

 

 

Screenshot_20230222_035408.png

Screenshot_20230222_035157.png

  • Community Expert

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.

  • 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
  • 7 months later...

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.

  • 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?

 

 

  • 6 months later...
  • Community Expert
3 minutes ago, MrSuppish said:

How are you seeing this page?

Click on the first device in the pool to get to its page, and scroll down.

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...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.