* [gentoo-user] btrfs raid1 new install
@ 2014-10-05 22:34 James
0 siblings, 0 replies; only message in thread
From: James @ 2014-10-05 22:34 UTC (permalink / raw
To: gentoo-user
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-10-05 22:34 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-05 22:34 [gentoo-user] btrfs raid1 new install James
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox