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.

My first unRAID build uses BTRFS, did I screw up?

Featured Replies

I chose BTRFS for my two array disks and two parity disks. Also for a separate disk for the cache. Did I make a mistake by not using XFS? I have moved my data over, approximately 5 Tb, and have had 0 issues and been rock stable for a month now.

 

After doing more reading I see XFS allows more plugins and features, or am I wrong? I was interested in having bitrot protection, which is why I picked BTRFS initially, unawares that there are excellent tools in plugins to check for file integrity on XFS and fix them. Should I consider converting to XFS, or just be content with what I have?

 

Thanks for the input!

  • Community Expert

Would not have thought it was worth moving to XFS if BTRFS is stable for you.    The only reason I can think of preferring XFS is if your system regularity crashes as XFS seems to be slightly more tolerant to crashes.    However if you are having regular crashes you have a problem that needs resolving iregardless of your file system choice.

 

not sure why you think there are features available for XFS that are not available if you went with BTRFS.    If anything I would think it was the other way around.

  • Author
5 hours ago, itimpi said:

Would not have thought it was worth moving to XFS if BTRFS is stable for you.    The only reason I can think of preferring XFS is if your system regularity crashes as XFS seems to be slightly more tolerant to crashes.    However if you are having regular crashes you have a problem that needs resolving iregardless of your file system choice.

 

not sure why you think there are features available for XFS that are not available if you went with BTRFS.    If anything I would think it was the other way around.

Well, I'm getting familiar with these file systems and turning to people with more experience for advice. This explains why my initial question seems nonsensical. I suppose my next question would be whether I can expect good results trying to use the Dynamix file integrity plugin with BTRFS, or should I look to another solution?

Edited by Freedomfries

@JorgeBwill correct me if I'm wrong, but I'm fairly sure the default settings for BTRFS automatically detect file corruption on all read requests, making the file integrity plugin redundant. BTRFS scrub triggers a checksum detection sweep across the volume manually.

  • Community Expert
5 hours ago, Freedomfries said:

Well, I'm getting familiar with these file systems and turning to people with more experience for advice. This explains why my initial question seems nonsensical. I suppose my next question would be whether I can expect good results trying to use the Dynamix file integrity plugin with BTRFS, or should I look to another solution?

As was mentioned the Dynamix File Integrity plugin is redundant if using BTRFS as detection of file level corruption is built into BTRFS.

 

One important thing is that BTRFS can detect that file corruption has occurred, but it is still up to you to have a backup process in place so that if this occurs you can then restore a ‘good’ copy from your backups.    The same would apply if you use XFS in conjunction with the Dynamix File Integrity plugin.

  • Author

Understood thank you. How do you find a file corruption report using BTRFS?

I would expect to be able to restore a corrupted file from the parity volume, since you can restore it if the drive fails... but I guess you need a backup. Interesting.

  • Community Expert
10 minutes ago, Freedomfries said:

How do you find a file corruption report using BTRFS?

You can monitor btrfs filesystem for corruption (and other) errors, if data corruption is found a scrub will list the affected files in the syslog.

 

17 minutes ago, Freedomfries said:

I would expect to be able to restore a corrupted file from the parity volume, since you can restore it if the drive fails..

It would be possible if you knew corruption happened on the data device and parity wasn't corrected, like after actual bit rot, but most corruptions are caused by other factors, and from those not easy or possible to recover from parity, and since each array drive is a single device filesystem and doesn't have redundancy it also can't be fixed by btrfs, that's just one many reasons why backups of anything important are still needed.

  • Community Expert
47 minutes ago, Freedomfries said:

I would expect to be able to restore a corrupted file from the parity volume, since you can restore it if the drive fails... but I guess you need a backup. Interesting.

Parity is about recovering a failed drive, and has no understanding of the data on any drive as it works at the physical sector level so it cannot be used to recover individual files.

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.