Gentoo Archives: gentoo-user

From: James <wireless@×××××××××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] btrfs and gcc 4.9
Date: Sat, 08 Nov 2014 20:28:05
Message-Id: loom.20141108T211341-582@post.gmane.org
1 <snip from stefan>
2
3 I give that a try ... as I set up a fresh new btrfs-subvolume to do a
4 fresh new build based on my <at> world only yesterday I will see if I can do
5 it with gcc 4.9 while I am at it.
6
7 Let's see if things work out and if it gets any better.
8 <end/snip>
9
10 Hello Stefan,
11
12 Well. OK. I'm working on a fresh install of gentoo with btrfs.
13 Subvolumes have me a bit mystified still. I mostly followed this
14 doc for a basic (raid 1) configuration with btrfs:
15
16 http://wiki.gentoo.org/wiki/Btrfs_native_system_root
17
18 If you would be so cool as to post your subvolume setup;
19 I'd be very grateful:
20
21 My disks look like this:
22
23 (livecd)# fdisk -l
24
25 Disk /dev/sda: 1.8 TiB, 2000398934016 bytes, 3907029168 sectors
26 Units: sectors of 1 * 512 = 512 bytes
27 Sector size (logical/physical): 512 bytes / 4096 bytes
28 I/O size (minimum/optimal): 4096 bytes / 4096 bytes
29 Disklabel type: gpt
30 Disk identifier: A278FD71-0AFC-448C-817F-BAA52F97F6E1
31
32 Device Start End Size Type
33 /dev/sda1 2048 8191 3M BIOS boot partition
34 /dev/sda2 8192 1024000 496M Linux filesystem
35 /dev/sda3 1026048 3907029134 1.8T Linux filesystem
36
37
38 Disk /dev/sdb: 1.8 TiB, 2000398934016 bytes, 3907029168 sectors
39 Units: sectors of 1 * 512 = 512 bytes
40 Sector size (logical/physical): 512 bytes / 512 bytes
41 I/O size (minimum/optimal): 512 bytes / 512 bytes
42 Disklabel type: gpt
43 Disk identifier: 08A52E74-1A4D-4681-9BF6-0F3A436251E0
44
45 Device Start End Size Type
46 /dev/sdb1 2048 8191 3M BIOS boot partition
47 /dev/sdb2 8192 1024000 496M Linux filesystem
48 /dev/sdb3 1026048 3907029134 1.8T Linux filesystem
49
50
51
52 (livecd) # gdisk /dev/sda
53 GPT fdisk (gdisk) version 0.8.10
54
55 Partition table scan:
56 MBR: protective
57 BSD: not present
58 APM: not present
59 GPT: present
60
61 Found valid GPT with protective MBR; using GPT.
62
63 Command (? for help): p
64 Disk /dev/sda: 3907029168 sectors, 1.8 TiB
65 Logical sector size: 512 bytes
66 Disk identifier (GUID): A278FD71-0AFC-448C-817F-BAA52F97F6E1
67 Partition table holds up to 128 entries
68 First usable sector is 34, last usable sector is 3907029134
69 Partitions will be aligned on 2048-sector boundaries
70 Total free space is 4061 sectors (2.0 MiB)
71
72 Number Start (sector) End (sector) Size Code Name
73 1 2048 8191 3.0 MiB EF02 grub2biosboot
74 2 8192 1024000 496.0 MiB 8300 boot
75 3 1026048 3907029134 1.8 TiB 8300 root
76
77
78 I guess what really has me "confused" is to set up a traditional
79 fstab, uuid, efi, with grub2. I'm just "dense" I guess
80 because the aforementioned doc, I think derived from some
81 of "Duncan's" postings just does not click for me. I've botched
82 a few runs at btrfs (raid1) one on fresh gentoo installs, just
83 so you know....
84
85 Your guidance is keenly appreciated.
86
87 James

Replies

Subject Author
Re: [gentoo-user] btrfs and gcc 4.9 "Stefan G. Weichinger" <lists@×××××.at>