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 051891381F3 for ; Thu, 27 Jun 2013 20:52:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E937BE0982; Thu, 27 Jun 2013 20:52:20 +0000 (UTC) Received: from mail-pd0-f179.google.com (mail-pd0-f179.google.com [209.85.192.179]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0EA39E07E0 for ; Thu, 27 Jun 2013 20:52:19 +0000 (UTC) Received: by mail-pd0-f179.google.com with SMTP id q10so605708pdj.10 for ; Thu, 27 Jun 2013 13:52:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=Xjyt1DOE+ZBlmQ4p7wiS+3uID9h8EAbvjpAE54Ww3eQ=; b=Vrcl5Ln0nLj0q2C8mzNEOz7FrvvTycCzubi1CmVY28dIsXJ5ykQSfvhHSCdlygxBc+ z27jNaz3It3EmZ+R+btwOHQcCfTXHlq75woCq5tf+LK6Pkn5ceIgpA7AYhQ0zje93M95 3XdW37jXmp2m4+OTU3S3ncpjKVn5rc0X0UGuR5d4MRrR5j2BL3KNjds0NTEiBfOMuHdv g3V/6kpbZZoMLHxJrNZnI2pUJJOeYSMO7BBFitq3q/QxixeqWcObPHZTTd4/SZ7JmBGo B/F+2RxyoQbZTqz8Wsa3qSWgA1iP1XvPjn4RwCZewoOp2wk4CaZgf6aROi1pXNNecI2q AC7g== Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-amd64@lists.gentoo.org Reply-to: gentoo-amd64@lists.gentoo.org MIME-Version: 1.0 X-Received: by 10.68.241.135 with SMTP id wi7mr8019509pbc.88.1372366338929; Thu, 27 Jun 2013 13:52:18 -0700 (PDT) Received: by 10.70.126.130 with HTTP; Thu, 27 Jun 2013 13:52:18 -0700 (PDT) In-Reply-To: References: Date: Thu, 27 Jun 2013 13:52:18 -0700 Message-ID: Subject: Re: [gentoo-amd64] Re: Can initrd and/or RAID be disabled at boot? From: Mark Knecht To: Gentoo AMD64 Content-Type: text/plain; charset=UTF-8 X-Archives-Salt: 1d60735e-5a82-4a08-b95e-61f1388ad585 X-Archives-Hash: e7b2e361c19565ea703b68d2d2a80998 On Thu, Jun 27, 2013 at 11:53 AM, Duncan <1i5t5.duncan@cox.net> wrote: > Mark Knecht posted on Tue, 25 Jun 2013 15:51:14 -0700 as excerpted: > >> This is related to my thread from a few days ago about the >> disappointing speed of my RAID6 root partition. The goal here is to get >> the machine booting from an SSD so that I can free up my five hard >> drives to play with. > > FWIW, this post covers a lot of ground, too much I think to really cover > in one post. Which is why I've delayed replying until now. I expect > I'll punt on some topics this first time thru, but we'll see how it > goes... Agreed, and I've made some major course changes WRT this whole thing, but there's a lot of great info in your response so I'm going to make a very targeted response for now. > > zgrep 'REISER\|EXT4\|TMPFS\|BTRFS' /proc/config.gz I use ext4 mostly. Some ext3 on older external USB drives. ext2 on boot. Looking at caps, xattr & filecaps I don't appear to have them selected on any packages. (equery hasuse ..., emerge -pv ...) Similar results as yours for the zgrep: mark@c2RAID6 ~ $ zgrep 'REISER\|EXT4\|TMPFS\|BTRFS' /proc/config.gz CONFIG_DEVTMPFS=y # CONFIG_DEVTMPFS_MOUNT is not set CONFIG_EXT4_FS=y CONFIG_EXT4_FS_POSIX_ACL=y CONFIG_EXT4_FS_SECURITY=y # CONFIG_EXT4_DEBUG is not set # CONFIG_REISERFS_FS is not set # CONFIG_BTRFS_FS is not set CONFIG_TMPFS=y CONFIG_TMPFS_POSIX_ACL=y CONFIG_TMPFS_XATTR=y mark@c2RAID6 ~ $ With that in mind I may well have needed the -X on the rsync. However as I didn't get a quick response I decided this was a background issue for me in a sense. My HDD-based, low performance RAID6 is working so for now I'm cool. As I have some time coming up over the weekend, and because I have this SSD which is to date unused, I decided to simply build a new Gentoo install from scratch on the SDD in a chroot. I haven't even bothered with trying to boot it yet. I just copied all the RAID6 config stuff, world file, /etc/portage/*, /etc/conf.d, blah blah and let it start building all the binaries. If it works, great. If not no big deal. It's just compute cycles because it's on the SDD and isn't slowing me down much inside of the RAID6 environment today. However, I think your comments about gpt & grub2 are VERY good points and might work out in my favor long term. I only used 2 partitions on the SDD - one for a new boot partition and one for /, my thought being that if I installed grub on the SDD then in BIOS I could point at /dev/sda to boot off the SDD instead of /dev/sdb. As I think about your comments, I could consider backing up the SDD install using rsync -aAvx, converting to gpt & grub2 on that device, do my learning and it doesn't have to impact my current setup at all. That can all stay on the hard drives until I'm ready to get rid of it. It's just a flip of a switch in BIOS as to which one I'm using. I'll go through your response later and continue the conversation as appropriate but I wanted to say thanks more quickly for the above points. Cheers, Mark