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.

Btrfs cache raid 0 and raid 1

Featured Replies

Hi i know you can create a raid 1 using

-dconvert=raid0 -mconvert=raid1

 

but is the btrfs raid 1  stripped across both drives giving a faster read off the cache or does it just use the drives normally but not mirrored?

  • Community Expert

With that setting, the data is raid0 and the metadata is raid1

  • Author

With that setting, the data is raid0 and the metadata is raid1

 

ah okay so should I use

-dconvert=raid1 -mconvert=raid1

  • Community Expert

With that setting, the data is raid0 and the metadata is raid1

 

ah okay so should I use

-dconvert=raid1 -mconvert=raid1

That is the default setting, a raid1 mirror.

Hi i know you can create a raid 1 using

-dconvert=raid0 -mconvert=raid1

 

but is the btrfs raid 1  stripped across both drives giving a faster read off the cache or does it just use the drives normally but not mirrored?

 

I think you might have confused RAID 0 and RAID 1 in your question. It makes much mores sense like this:

 

Hi i know you can create a raid 0 using

-dconvert=raid0 -mconvert=raid1

 

but is the btrfs raid 0  stripped across both drives giving a faster read off the cache or does it just use the drives normally but not mirrored?

 

If that's what you meant then the answer is that the data is striped for speed but the filesystem metadata (which, in comparison, is much smaller) is mirrored for redundancy.

 

  • Author

Hi i know you can create a raid 1 using

-dconvert=raid0 -mconvert=raid1

 

but is the btrfs raid 1  stripped across both drives giving a faster read off the cache or does it just use the drives normally but not mirrored?

 

I think you might have confused RAID 0 and RAID 1 in your question. It makes much mores sense like this:

 

Hi i know you can create a raid 0 using

-dconvert=raid0 -mconvert=raid1

 

but is the btrfs raid 0  stripped across both drives giving a faster read off the cache or does it just use the drives normally but not mirrored?

 

If that's what you meant then the answer is that the data is striped for speed but the filesystem metadata (which, in comparison, is much smaller) is mirrored for redundancy.

 

Ha yes thanks thats exactly what i meant. Raid 0. I was wondering if adding a cache drive in raid 0 would give me any kind of performance boost on the cache. Thanks for seeing past my mistake!! What is the advantage of mirroring the files system for redundancy if the data doesnt have redunduncy?

I don't think there's much to be gained from striping the metadata, but added safety from mirroring it.

 

What is the advantage of mirroring the files system for redundancy if the data doesnt have redunduncy?

 

In theory it should help recover / prevent file system errors.

Archived

This topic is now archived and is closed to further replies.

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.