From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 0C98B138ECC for ; Sat, 22 Feb 2014 11:42:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C5A70E0DC9; Sat, 22 Feb 2014 11:42:16 +0000 (UTC) Received: from smtpq2.tb.mail.iss.as9143.net (smtpq2.tb.mail.iss.as9143.net [212.54.42.165]) by pigeon.gentoo.org (Postfix) with ESMTP id 98333E0D90 for ; Sat, 22 Feb 2014 11:42:15 +0000 (UTC) Received: from [212.54.42.136] (helo=smtp5.tb.mail.iss.as9143.net) by smtpq2.tb.mail.iss.as9143.net with esmtp (Exim 4.71) (envelope-from ) id 1WHAyE-0003cp-PE for gentoo-user@lists.gentoo.org; Sat, 22 Feb 2014 12:42:14 +0100 Received: from 53579160.cm-6-8c.dynamic.ziggo.nl ([83.87.145.96] helo=data.antarean.org) by smtp5.tb.mail.iss.as9143.net with esmtp (Exim 4.71) (envelope-from ) id 1WHAyD-0008Di-He for gentoo-user@lists.gentoo.org; Sat, 22 Feb 2014 12:42:14 +0100 Received: from www.antarean.org (net.lan.antarean.org [10.20.13.13]) by data.antarean.org (Postfix) with ESMTP id 000BB4B for ; Sat, 22 Feb 2014 12:41:41 +0100 (CET) Received: from 10.55.16.19 (SquirrelMail authenticated user joost) by www.antarean.org with HTTP; Sat, 22 Feb 2014 12:41:42 +0100 Message-ID: <88bc72ed9c21d87d01ba6a2cf9f5145f.squirrel@www.antarean.org> In-Reply-To: References: Date: Sat, 22 Feb 2014 12:41:42 +0100 Subject: Re: [gentoo-user] RAID 1 on /boot From: "J. Roeleveld" To: gentoo-user@lists.gentoo.org User-Agent: SquirrelMail/1.4.22 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 X-Priority: 3 (Normal) Importance: Normal Content-Transfer-Encoding: quoted-printable X-Ziggo-spambar: / X-Ziggo-spamscore: 0.8 X-Ziggo-spamreport: BAYES_50=0.8,RDNS_DYNAMIC=0.982,RP_MATCHES_RCVD=-1 X-Ziggo-Spam-Status: No X-Spam-Status: No X-Spam-Flag: No X-Archives-Salt: 35e7c7aa-5f7a-449b-866b-0e79c448d43b X-Archives-Hash: ffb6ebefa8e711ea6386f0c5e1422962 On Sat, February 22, 2014 06:27, Facundo Curti 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. First of all, there are plenty of people here who don't have English as a native language. Usually we manage. :) > 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) Why put the swap on the SSD? > 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=3D0.9 on the RAID. My questio= n is > =C2=BFThis will make get off the performance?. metadata=3D0.9 might be necessary for the BIOS of your computer to see th= e /boot partition. If you use an initramfs, you can use any metadata you like for the root-partition. > I only found this > document. > This says the difference, but nothing about performance and > advantages/disadvantages. > > Another question is, =C2=BFGRUB2 still unsupporting metadata 1.2? See reply from Canek. > In case that metadata get off performance, and GRUB2 doesn't support th= is. > =C2=BFAnyone knows how can I fix this to use metadata 1.2? > > I don't partitioned more, because I saw this unnecessary. I just need t= o > 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. > > But of course, /boot also as RAID... /boot seperate as RAID-1 and metadata=3D0.9 and you are safe. > =C2=BFSomebody have any ideas to make it work? It is similar to what I do, except I don't have SSDs in my desktop. I have 2 partitions per disk: 1 : /boot (mirrored, raid-1) 2 : LVM (striped, raid-0) All other partitions (root, /usr, /home, ....) are in the LVM. I use striping for performance reasons for files I currently work with. All important data is stored and backed up on a server. For this, an initramfs is required with support for mdraid and lvm. > Thank you all. Bytes! ;) You're welcome and good luck. Please let us know what the performance is like when using the setup you are thinking off. -- Joost