1 |
Hello, |
2 |
|
3 |
Ok, so It's a new gentoo install on (2) 2T sata 3 drives (Raid1). |
4 |
|
5 |
|
6 |
So I'm using this document as a reference: |
7 |
http://wiki.gentoo.org/wiki/Btrfs_native_system_root#Installing_the_MBR |
8 |
|
9 |
I ran the "o" option on both disks and it is the only deviation from the |
10 |
document: |
11 |
|
12 |
Command (? for help): o |
13 |
This option deletes all partitions and creates a new protective MBR. |
14 |
Proceed? (Y/N): Y |
15 |
|
16 |
So using cgdisk I end up with: |
17 |
|
18 |
Disk /dev/sda: 1.8 TiB, 2000398934016 bytes, 3907029168 sectors |
19 |
Units: sectors of 1 * 512 = 512 bytes |
20 |
Sector size (logical/physical): 512 bytes / 4096 bytes |
21 |
I/O size (minimum/optimal): 4096 bytes / 4096 bytes |
22 |
Disklabel type: gpt |
23 |
Disk identifier: A278FD71-0AFC-448C-817F-BAA52F97F6E1 |
24 |
|
25 |
Device Start End Size Type |
26 |
/dev/sda1 2048 8191 3M BIOS boot partition |
27 |
/dev/sda2 8192 1024000 496M Linux filesystem |
28 |
/dev/sda3 1026048 3907029134 1.8T Linux filesystem |
29 |
|
30 |
|
31 |
Disk /dev/sdb: 1.8 TiB, 2000398934016 bytes, 3907029168 sectors |
32 |
Units: sectors of 1 * 512 = 512 bytes |
33 |
Sector size (logical/physical): 512 bytes / 512 bytes |
34 |
I/O size (minimum/optimal): 512 bytes / 512 bytes |
35 |
Disklabel type: gpt |
36 |
Disk identifier: 08A52E74-1A4D-4681-9BF6-0F3A436251E0 |
37 |
|
38 |
Device Start End Size Type |
39 |
/dev/sdb1 2048 8191 3M BIOS boot partition |
40 |
/dev/sdb2 8192 1024000 496M Linux filesystem |
41 |
/dev/sdb3 1026048 3907029134 1.8T Linux filesystem |
42 |
|
43 |
/dev/sda is identical (HD are same make/model). |
44 |
|
45 |
Then : |
46 |
mkfs -t btrfs -L BTROOT -m raid1 -d raid1 /dev/sda3 /dev/sdb3 |
47 |
|
48 |
mkfs -t btrfs -L BOOT -m raid1 -d raid1 /dev/sdb2 /dev/sda2 |
49 |
|
50 |
|
51 |
Turning ON incompat feature 'mixed-bg': mixed data and metadata block groups |
52 |
Turning ON incompat feature 'extref': increased hardlink limit per file to 65536 |
53 |
Created a data/metadata chunk of size 8388608 |
54 |
adding device /dev/sda2 id 2 |
55 |
fs created label BOOT on /dev/sdb2 |
56 |
nodesize 4096 leafsize 4096 sectorsize 4096 size 992.00MiB |
57 |
|
58 |
Turning ON incompat feature 'extref': increased hardlink limit per file to 65536 |
59 |
adding device /dev/sdb3 id 2 |
60 |
fs created label BTROOT on /dev/sda3 |
61 |
nodesize 16384 leafsize 16384 sectorsize 4096 size 3.64TiB |
62 |
Btrfs v3.12 |
63 |
|
64 |
So far so good(?). |
65 |
|
66 |
But now it looks to me like a straight forward handbook install; OR |
67 |
follow the aforementioned link explicitly for sections: |
68 |
Root Volume and Boot Volume and Other Volumes (suggestions for |
69 |
Other Volumes (sub-volumes) are welcome. |
70 |
|
71 |
|
72 |
Another question. I want to run openrc not systemd. All of that |
73 |
init scripts looks like systemd. How and where would I modify that |
74 |
page if I intend to use openrc, if at all? |
75 |
|
76 |
|
77 |
all discussion, comments and suggestions are welcome. |
78 |
|
79 |
|
80 |
James |