Iam a long-time Arch Linux user, and have been using Linux as my primary OS for over 10 years. I made the change from Arch to Funtoo a couple of weeks ago.
However, Im getting a new laptop, which has both UEFI instead of BIOS, and also 2x SSD's which I intend to setup with a software raid instead of the intel fakeraid which is default.
Im completely new to this kind of stuff (raid and uefi), but I know I have two options on how to do this:
* MDADM with initramfs
* Using BTRFS with built-in raid features
I've been using BTRFS for the last year or so, and it is my preferred filesystem anyway, so regardless of the raid-setup, I will be using BTRFS.
My questions are as follow:
What is the BEST option on how to setup this in the best possible way, with both btrfs and UEFI? What about swap and the efi-boot partitons?
I was thinking a seperate /home, /root and the uefi boot partition. Preferably, I want them all raided, however it is to my understanding that I have to use raid1 on swap and /boot?
Im in desperate need of some help here!
Last edited by petterk (2013-10-07 18:43:56)
I know nothing about this matter, but, in my ignorance, I see four options:
1.- Btrfs (it looks rather scary but maybe the Wiki is not up to date):
2.- ZFS (the real thing):
I did something similar (but is not fully working):
3.- LVM (this is fully working):
4.- Configure RAID0 via RAID controller...
Thanks for your reply.
However, Im thinking of doing it this way:
* Installing Funtoo from SystemRescueCD
* Partitioning with Gparted to the following scheme (and aligning the partitions:
/boot (EFI) FAT (RAID1)
/root Reiser4 (RAID0)
/home Reiser4 (RAID0)
* Setting up the arrays and everything with mdadm
* Installing Grub with efi-64 in make.conf
* Creating a initramfs with Genkernel:
genkernel --install --no-ramdisk-modules --mdadm initramfs
Proceeding as normal
Why raid for swap? If you have 8gig or more of ram, chances are you won't even need swap. A single non-raided partition is more than enough. One can also have more than one swap partition. You could have one on each drive if you wanted, but again - Why?
Reiser4 on raid0? You're brave.
Well, Im going to need it for hibernation.
And since Im going for raid0, why would I want a swap partition on only one of the disks? That free space on the other disk is not going to be used anyway.
Raid1 is for redundancy and to protect against disk failure. Since you are planning to put your / (did I read that right?) and /home on raid0 your system will be going down if one disk dies. What good is the redundant swap file if your / and /home filesystems are hosed? I guess I was just trying to point that out.
I don't know if you've already read this or not. Check out the "Swapping on Raid" section.
Last edited by overkill (2013-10-15 20:04:24)