From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Q6l4P-0008Vp-1f for garchives@archives.gentoo.org; Mon, 04 Apr 2011 14:47:57 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0450E1C012; Mon, 4 Apr 2011 14:46:22 +0000 (UTC) Received: from mail-iw0-f181.google.com (mail-iw0-f181.google.com [209.85.214.181]) by pigeon.gentoo.org (Postfix) with ESMTP id C55561C012 for ; Mon, 4 Apr 2011 14:46:22 +0000 (UTC) Received: by iwn2 with SMTP id 2so7302311iwn.40 for ; Mon, 04 Apr 2011 07:46:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=7RoOyj+jP5LbsokRAE2q336UPpcVSYCwGiV2loKZ/Sk=; b=iYGo1IdbM77RuIGpYKRo91aLToxmN96GXP3SFPG3/9XJAXq7fS2jQa+O3udwMinIk5 J+kNWCQ1WH4mGaBsC2U4PtfdrxezbomhKNr7de5XQpSY+XGAU3vQBCzSmADb2+rdtvYR d7CrTiuHRWCMEkXCCvAzBEgc8tQHLlFezoDHs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=Bq+8jim8tdzgvhFTq2u9VrfsA8fsV74xP0oVpnPCe17Ew8FC5cqEp3wxIt1tFQFywE oGxVlAjBa8u9169g6Oz3UR6B6t17uGe8UvL6nyR4cKGjYQfeqlgCNGUvNWyTvJjXtKUn TNmHqBA5MO96sqox9k476402JmGQCMwTP0bm8= 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 Received: by 10.43.54.18 with SMTP id vs18mr1197363icb.313.1301928382256; Mon, 04 Apr 2011 07:46:22 -0700 (PDT) Received: by 10.42.167.74 with HTTP; Mon, 4 Apr 2011 07:46:22 -0700 (PDT) In-Reply-To: References: Date: Mon, 4 Apr 2011 07:46:22 -0700 Message-ID: Subject: Re: [gentoo-user] Re: RAID on new install From: Mark Knecht To: gentoo-user@lists.gentoo.org Cc: James Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: 5def8d8f38b588769394b03a0cbf4e00 On Mon, Apr 4, 2011 at 7:14 AM, James wrote: > Mark Knecht gmail.com> writes: > > >> =C2=A0 =C2=A0Depending on what you are putting onto your RAID watch care= fully >> what choices you make for SuperBlock type as well as being aware of >> possible md name changes between the install environment and your >> first real boot. > > Nice to know. > > > (I think I'm going to stick with ext4 for now). > (BTRFS later...) I have 2 identical 2T seagate drives. > The main purpose is to run an php and apache > server =C2=A0and use kde (kiosk) to display network status > using jffnms (graphical) and postgresql-9. > > Raid 1 Mirroring for most if not all partitions. > Think of it as a station where everyone can view > the network conditions, as users, but I remote > admin the system. No logins except via the limited > kiosk =C2=A0to just view/query the network, or a remote > connection to the server. > > > These Docs I listed are dated? > Gentoo.wiki.com is finally back up. =C2=A0These > 2 docs reference each other.... > > http://en.gentoo-wiki.com/wiki/Software_RAID_Install > and > http://en.gentoo-wiki.com/wiki/RAID/Software > > Which one is more accurate or the best one > to mostly follow? (that's what I'm trying to > figure out now.) > > I do appreciate any and all feedback. > > > James > > > > > Which guide do you think is better, for my needs? I suspect that a 2-drive RAID1 is a good solution for you. I personally doubt that ext4 vs ext3 will make any difference. I use both myself. I wouldn't personally touch any new file system type when trying to learn to do RAID. Save that for some future date. Unfortunately neither link is responding as I write this, but my recent (last 6 months) experience with the Gentoo RAID documents is that none of them result in a completely working system first time through. (Again, I cannot look at these links right now so please excuse my not knowing about any recent changes.) 1) They are all based on the oldest SuperBlock 0.9 format which, if I remember correctly, is not the default SuperBlock format that mdadm creates these days. 2) I was able to build a SB-0.9 system using the same docs. I was only able to build a working SB-1.2 by also including an initramfs: http://en.gentoo-wiki.com/wiki/Initramfs Pay special attention to note about building certain things static or the initramfs won't work for you. Also, include all the tools you can that will help with debugging why you cannot mount the root file system. My experience is that you won't be able to for the first day and you'll find the tools invaluable in getting it worked out. 3) It might be frustrating, but I'd suggest some testing of the RAID before the actual install. Boot the install disk, build the RAID, then learn to use mdadm examine & detail commands to understand then names your RAIDs have. Pay attention to what the name of the machine will eventually be. Consider renaming the RAIDs before the real Gentoo install so that when you boot the real install it can find them. I run RAID these days on almost all my machines. I just got a laptop with 2 500GB hard drives which will become a 2-drive RAID1 system when I get around to doing the work. I hope this response is at least somewhat helpful. Good luck, Mark