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 9A55B13838B for ; Sun, 5 Oct 2014 22:34:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 11C55E0AAA; Sun, 5 Oct 2014 22:34:44 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C7D2CE0A63 for ; Sun, 5 Oct 2014 22:34:42 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id BF259340234 for ; Sun, 5 Oct 2014 22:34:41 +0000 (UTC) X-Virus-Scanned: by amavisd-new using ClamAV at gentoo.org X-Spam-Flag: NO X-Spam-Score: -2.277 X-Spam-Level: X-Spam-Status: No, score=-2.277 tagged_above=-999 required=5.5 tests=[AWL=0.335, BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=no Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id snKpjRu6S7XB for ; Sun, 5 Oct 2014 22:34:33 +0000 (UTC) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B8BB333F649 for ; Sun, 5 Oct 2014 22:34:32 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XauNn-0000v3-Gf for gentoo-user@gentoo.org; Mon, 06 Oct 2014 00:34:27 +0200 Received: from rrcs-71-40-157-251.se.biz.rr.com ([71.40.157.251]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 06 Oct 2014 00:34:27 +0200 Received: from wireless by rrcs-71-40-157-251.se.biz.rr.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 06 Oct 2014 00:34:27 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: James Subject: [gentoo-user] btrfs raid1 new install Date: Sun, 5 Oct 2014 22:34:15 +0000 (UTC) Message-ID: 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=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 71.40.157.251 (Mozilla/5.0 (X11; Linux x86_64; rv:29.0) Gecko/20100101 Firefox/29.0 SeaMonkey/2.26.1) X-Archives-Salt: abaf2f19-c469-44fc-9aa7-dec324862e30 X-Archives-Hash: 813e2bd65b89e16580a9d3674e525fb7 Hello, Ok, so It's a new gentoo install on (2) 2T sata 3 drives (Raid1). So I'm using this document as a reference: http://wiki.gentoo.org/wiki/Btrfs_native_system_root#Installing_the_MBR I ran the "o" option on both disks and it is the only deviation from the document: Command (? for help): o This option deletes all partitions and creates a new protective MBR. Proceed? (Y/N): Y So using cgdisk I end up with: Disk /dev/sda: 1.8 TiB, 2000398934016 bytes, 3907029168 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disklabel type: gpt Disk identifier: A278FD71-0AFC-448C-817F-BAA52F97F6E1 Device Start End Size Type /dev/sda1 2048 8191 3M BIOS boot partition /dev/sda2 8192 1024000 496M Linux filesystem /dev/sda3 1026048 3907029134 1.8T Linux filesystem Disk /dev/sdb: 1.8 TiB, 2000398934016 bytes, 3907029168 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: gpt Disk identifier: 08A52E74-1A4D-4681-9BF6-0F3A436251E0 Device Start End Size Type /dev/sdb1 2048 8191 3M BIOS boot partition /dev/sdb2 8192 1024000 496M Linux filesystem /dev/sdb3 1026048 3907029134 1.8T Linux filesystem /dev/sda is identical (HD are same make/model). Then : mkfs -t btrfs -L BTROOT -m raid1 -d raid1 /dev/sda3 /dev/sdb3 mkfs -t btrfs -L BOOT -m raid1 -d raid1 /dev/sdb2 /dev/sda2 Turning ON incompat feature 'mixed-bg': mixed data and metadata block groups Turning ON incompat feature 'extref': increased hardlink limit per file to 65536 Created a data/metadata chunk of size 8388608 adding device /dev/sda2 id 2 fs created label BOOT on /dev/sdb2 nodesize 4096 leafsize 4096 sectorsize 4096 size 992.00MiB Turning ON incompat feature 'extref': increased hardlink limit per file to 65536 adding device /dev/sdb3 id 2 fs created label BTROOT on /dev/sda3 nodesize 16384 leafsize 16384 sectorsize 4096 size 3.64TiB Btrfs v3.12 So far so good(?). But now it looks to me like a straight forward handbook install; OR follow the aforementioned link explicitly for sections: Root Volume and Boot Volume and Other Volumes (suggestions for Other Volumes (sub-volumes) are welcome. Another question. I want to run openrc not systemd. All of that init scripts looks like systemd. How and where would I modify that page if I intend to use openrc, if at all? all discussion, comments and suggestions are welcome. James