On Fri, Feb 21, 2014 at 11:27 PM, Facundo Curti <facu.cu...@gmail.com> wrote: > Hi all. I'm new in the list, this is my third message :) > First at all, I need to say sorry if my english is not perfect. I speak > spanish. I post here because gentoo-user-es it's middle dead, and it's a > great chance to practice my english :) Now, the problem. > > I'm going to get a new PC with a disc SSD 120GB and another HDD of 1TB. But > in a coming future, I want to add 2 or more disks SSD. > > Mi idea now, is: > > Disk HHD: /dev/sda > /dev/sda1 26GB > /dev/sda2 90GB > /dev/sda3 904GB > > Disk SSD: /dev/sdb > /dev/sdb1 26GB > /dev/sdb2 90GB > /dev/sdb3 4GB > > And use /dev/sdb3 as swap. (I will add more with another SSD in future) > /dev/sda3 mounted in /home/user/data (to save data unused) > > And a RAID 1 with: > md0: sda1+sdb1 / > md1: sda2+sdb2 /home > > (sda1 and sda2 will be made with the flag: write-mostly. This is useful for > disks slower). > In a future, I'm going to add more SSD's on this RAID. My idea is the > fastest I/O. > > Now. My problem/question is: > Following the gentoo's doc, it says I need to put the flag --metadata=0.9 on > the RAID. My question is ¿This will make get off the performance?. > > I only found this document. This says the difference, but nothing about > performance and advantages/disadvantages.
I don't know the performance differences, if any, but in my tests everything worked with the default metadata (1.2). > Another question is, ¿GRUB2 still unsupporting metadata 1.2? No, GRUB2 supports it just fine. You just need to use the mdraid1x GRUB2 module. > In case that metadata get off performance, and GRUB2 doesn't support this. > ¿Anyone knows how can I fix this to use metadata 1.2? It's not necessary. > I don't partitioned more, because I saw this unnecessary. I just need to > separate /home in case I need to format the system. But if I need to > separate /boot to make it work, I don't have problems doing that. It works fine; I tested it in a virtual machine (and I used systemd, but it should not be significantly different with OpenRC). You can check my steps in [1] and [2] (with LUKS support). > But of course, /boot also as RAID... It works even with boot being on LVM over RAID. > ¿Somebody have any ideas to make it work? I didn't tested in a real life machine (I've never been a fan of neither RAID nor LVM), but in a VM it worked without a hitch. Again, check [1] and [2]. Hope it helps. Regards. [1] http://article.gmane.org/gmane.linux.gentoo.user/269586 [2] http://article.gmane.org/gmane.linux.gentoo.user/269628 -- Canek Peláez Valdés Posgrado en Ciencia e Ingeniería de la Computación Universidad Nacional Autónoma de México