full raid on B3 running Jessie

Got problems with your B2 or B3? Share and get helped!
Post Reply
Puma
Posts: 227
Joined: 29 Sep 2008, 06:30

full raid on B3 running Jessie

Post by Puma » 20 Nov 2016, 09:19

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
Linux is like a wigwam - no windows, no gates, apache inside!

MouettE
Site admin
Posts: 266
Joined: 06 Oct 2011, 19:45

Re: full raid on B3 running Jessie

Post by MouettE » 20 Nov 2016, 17:25

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.

Puma
Posts: 227
Joined: 29 Sep 2008, 06:30

Re: full raid on B3 running Jessie

Post by Puma » 21 Nov 2016, 14:38

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
Linux is like a wigwam - no windows, no gates, apache inside!

MouettE
Site admin
Posts: 266
Joined: 06 Oct 2011, 19:45

Re: full raid on B3 running Jessie

Post by MouettE » 21 Nov 2016, 15:20

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).

Post Reply