Page 1 of 1

full raid on B3 running Jessie

Posted: 20 Nov 2016, 09:19
by Puma
Hello,

I run Jessie with following partiotions sda1 (root), sda 2 swap and sda home and storage.

Is it possible to run full raid 1 without changing u-boot?

Does anybody has this running? Tutorial? disadvantages?

Thanks in advance.

Puma

Re: full raid on B3 running Jessie

Posted: 20 Nov 2016, 17:25
by MouettE
Puma wrote:Is it possible to run full raid 1 without changing u-boot?
Yes. I guess the simplier path would be to compile a custom kernel (with a forced command-line) and prevent its upgrade from the jessie repository. Or you could try building a small interstitial kernel which would boot from u-boot and then start the jessie kernel with a patched command line like sakaki did on the arch image. I can help you building a custom kernel from the sources and configure your system if you wish.

Re: full raid on B3 running Jessie

Posted: 21 Nov 2016, 14:38
by Puma
Mouete,

Thanks for your quick reaction.
It seams very complicated.
So for me the best solution is probarbly only raid sda2 (home partition).

That way u-boot can still boot from the root partition.

When you have a better idea let me know.
How does everybody else this??

Thanks in advance.

Puma

Re: full raid on B3 running Jessie

Posted: 21 Nov 2016, 15:20
by MouettE
Puma wrote:It seams very complicated.
It's not that complicated. Fact is the first solution (custom kernel) is simplier to implement but it requires you to repeat the procedure on each kernel upgrade (should you want to have newer kernels). I admit the second one is much more complicated to implement but as it's compatible with standard kernel upgrades it's fire-and-forget once it's in place.

In any case if you don't feel comfortable you shouldn't try to change u-boot configuration (by far the simpliest solution).