Raid1c3 and raid1c4

Anyone know how to implement raid1c3 (I only see raid1 as an option)?

Welcome to Rockstor @lucserre

Unfortunately raid1c3 etc are not yet implemented in the Rockstor GUI. That’s not to say the CLI might not be an option, but I could not say how that would be reflected in the web interface - and its not something i have tried.
I think the 3 and 4 copy versions of btrfs raid1 would be a nice inclusion at some point, but there is so much underway with the tantalisingly close release of v4, and limited resources to do everything, that this may be later rather than sooner.


That’s good to know (that eventually it will happen).
Looking forward to v4! :slight_smile:

1 Like

Hi @lucserre, and welcome to the community!

@GeoffA was right on point so I don’t have much to add to it; I simply wanted to point to a recetn discussion we had on that same topic:

The links in that post provide additional details and answers so I thought these might be of interest to you.


If you’re just itching to try (I was) you can update your kernel and btrfs-progs on your own following the info in this post: Upgrade Kernel to 4.16

Just DO NOT remove btrfs-progs, it causes issues, just leave it be.

Then you can convert your metadata to raid1c3 - I don’t have the exact command off-hand, but it’s something like:

btrfs balance start -mconvert=raid1c3 /YOUR-MOUNT

I’ve successfully updated to kernel and btrfs-progs 5.11 with this method and have my own raid5 volume metadata at raid1c3

**NOTE: You will not be able to directly import these shares into the Rockstor4 environment until it defaults to a newer kernel and btrfs-progs OR you update on your own manually.

1 Like

Latest download seems to be Rockstor-Leap15.3-generic.x86_64-4.0.9-0.install.iso

Is raid1c3 and/or raid1c4 implemented there ( Rockstor GUI )?

@TB-UB Hello again.

Yes we do now have a new multi arch and machine target downloads on our newly re-done web page here:

And as of writing those installers are build from our kiwi-ng config here:

No unfortunately not. Although if you don’t do Web-UI initiated balances or disk manipulations then it may just leave things well-alone and report it’s slightly confused interpretation. But note that these levels are the earliest additions to to btrfs and have had very little field testing even in comparison the the parity raids that are still known to be flaky. But at least they are based on better ‘grounds’ than the partiy 5/6 levels. I think you will also need to use a newer kernel for these levels as I don’t think openSUSE SuSE have back-ported these raid levels to Leap 15.3 or SLES 15 sp3 yet so that may be a warning of sorts also.

Take a looks our new website content here:
Customizable Btrfs NAS Storage Platform
and it’s linked openSUSE doc on installing much newer kernels:
Installing multiple kernel versions | Reference | openSUSE Leap 15.4

So take a look also at @kageurufu excellent recent post on their journey with doing the same, along with btrfs-progs, as they also are using RAID1C4 with our “Built on openSUSE” v4.

But keep in mind such things as are indicated in the following issue we have open on upstream kernel changes. It’s not just additions but also subtractrions/alterations that have to be accounted for when making such core changes to an os:

Hope that helps.

1 Like