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.

2 Likes

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.

2 Likes

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
Specifically:

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