You are not logged in.

#1 2012-07-25 13:49:22

d2_racing
Staff
From: Québec (Canada)
Registered: 2010-10-05
Posts: 425

Raid1 Funtoo installation

Hi everyone, I learning how to use and install a Funtoo box with a Raid1 setup.

One of my friends wants to try this and I'm gonna help him.

Right now, I read this :

http://en.gentoo-wiki.com/wiki/RAID/Sof … Partitions

http://www.noisette.ch/wiki/index.php/Mdadm

http://wiki.gentoo.org/wiki/File_System_Security

Anyone here is using a RAID1 setup ?

I have 3 questions in mind right now.

1. Using a Raid1 with mdadm, can I boot a Funtoo box without any initramfs, because I don't want to use genkernel.

2. How do I configure boot-update so that it can handle the raid1 setup ?

3. Do I need to install Grub2 on both hdd ?

Thanks !!

Offline

#2 2012-07-26 09:33:16

init_6
Member
From: Ukraine
Registered: 2010-10-09
Posts: 58

Re: Raid1 Funtoo installation

>Hi everyone, I learning how to use and install a Funtoo box with a Raid1 setup.

Rootfs over encrypted lvm over raid-1 on GPT

No. genkernel does not need.

np all the same except initramfs.

Offline

#3 2013-07-19 14:42:36

Nikos Alexandris
Member
From: Trikala, Greece
Registered: 2013-07-06
Posts: 26

Re: Raid1 Funtoo installation

Hi!

I am trying to undesrtand (after comments/suggestions by unix.stackexchange.com members) what goes wrong with a RAID 1 setup in Funtoo.  Manually assembling the Array in question, works fine. At what stage of the boot process does the assembly (think of `mdadm --assemble`) takes place? During `initramfs` or after?

As a reference, a Q&A: http://unix.stackexchange.com/q/83457/13011.

Offline

#4 2013-07-22 13:29:04

Nikos Alexandris
Member
From: Trikala, Greece
Registered: 2013-07-06
Posts: 26

Re: Raid1 Funtoo installation

Nikos Alexandris wrote:

[strike]Hi!

I am trying to undesrtand (after comments/suggestions by unix.stackexchange.com members) what goes wrong with a RAID 1 setup in Funtoo.  Manually assembling the Array in question, works fine. At what stage of the boot process does the assembly (think of `mdadm --assemble`) takes place? During `initramfs` or after?

As a reference, a Q&A: http://unix.stackexchange.com/q/83457/13011.[/strike]

I use ZFS now. It took me a while to get  up and running following the Funtoo ZFS installation guide (wiki-page + featured video), with quite some live support by 'fearedbliss'. But I am amazed about how easy one can use ZFS' pool and datasets concepts.

Best

Last edited by Nikos Alexandris (2013-07-22 13:29:55)

Offline

#5 2013-08-08 08:27:29

kdvgent
Member
Registered: 2011-11-06
Posts: 19

Re: Raid1 Funtoo installation

Hi d2_racing,

I do not know if it is still relevant but I have a Raid1 Funtoo box with:

  1. Manually compiled kernel - No initramfs.

  2. Use extlinux and lazykernel instead of boot-update. I do not remember why but looking to the funtoo installation tutorial I assume I did it exactly to avoid the inintramfs.

  3. It is my understanding that if you install Grub2 on both hard disks, you still will be able to boot (after switching cables) with your second hard disk if the first one fails because of hardware problems..

I used a mix of Funtoo (installation tutorial, extlinux) and Gentoo (Raid1/LVM) documentation to build that box.

Hope this helps.

Offline

Board footer

Powered by FluxBB