public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: James <wireless@tampabay.rr.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] btrfs raid1 new install
Date: Sun, 5 Oct 2014 22:34:15 +0000 (UTC)	[thread overview]
Message-ID: <loom.20141006T001515-368@post.gmane.org> (raw)

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






                 reply	other threads:[~2014-10-05 22:34 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=loom.20141006T001515-368@post.gmane.org \
    --to=wireless@tampabay.rr.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox