Rich Freeman <rich0 <at> gentoo.org> writes:

> > As many know, I have made many failed attempts to get btrfs in raid 1 
> > working on gentoo, and have to this date, failed.

> Interesting. I've never had any problems with it.  I boot using
> grub2+dracut with root on a single-device btrfs, and /usr on a
> multi-device raid1 btrfs (and dracut mounts both).

WE should focus on Peter's needs, as this is his thread.

> As long as you pass a valid root= dracut should just find and mount
> all the devices for your root.  Note that it will attempt to read
> /etc/fstab and remount your root using whatever is in that, so make
> sure it is valid.

> Some relevant config:
> from grub.cfg:
> linux   /root1/boot/vmlinuz-3.18.19
> root=UUID=7d9f3772-a39c-408b-9be0-5fa26eec8342 ro
> rootflags=subvol=root1 init=/usr/lib/systemd/systemd
> video=1920x1080-32 <at> 60 crashkernel=64M net.ifnames=0
> libahci.ignore_sss=1
> initrd  /root1/boot/initramfs-3.18.19.img

> from fstab:
> /dev/disk/by-uuid/7d9f3772-a39c-408b-9be0-5fa26eec8342          /
> btrfs           noatime,ssd,nodiscard,compress=none     0 0
> /dev/disk/by-uuid/cd074207-9bc3-402d-bee8-6a8c77d56959          /data
> btrfs           noatime,compress=none           0 0

> Compression is transparent - the mount option only affects future
> writes to the device, and you don't need anything to correctly mount
> the drive.

I have dozens and dozens of excellent links on btrfs. I've read hundreds and
hundreds of postings and docs, some even about other folks successes with
btrfs and raid-1. I can install btrfs and put gentoo on it. Successfully
configuring the system files, rebooting and enjoying  raid-1 on btrfs evades
me. I file a bug (bgo 548930) requesting support for btrfs in the
gentoo handbook. It's not even assigned to anyone...............

So, a smart (and really cool dude like yourself) surely can take the
handbook, and edit out an experimental version that only address btrfs-raid
one?  That way a following of folks could 'monkey see monkey do' install
gentoo on raid -1? (You'd be a very popular person with lots of
commoners..... (struggling admin types?).

The way I see it there are (2) main cases and (2) minor cases::

(1) main case::  efi system with drives >2T
(1_a) minor case efi system with drives <2T

(2) main case :: mbr/bios system with Drives <2T
(2_b) minor case:: mbr/bios system with drive >2T

Either of these cases in a format of the gentoo handbook, could
simple removed all references to all files systems but btrfs.
Hell, I'd be willing to send some dollars to whomever  or (whatever charity)
for that......

Once that happens, then surely we could get an unofficial install script....


Note:: the OpenSuse-13.2 install does not even need a ext boot partition as
it uses btrfs for  every partition. I think that sort of doc, is really what
Peter, myself and many others need:: and is consistent with 'the gentoo way'?

In my mind all new/default gentoo installs should be raid-1 as that would
eliminate many postings for help on gentoo_user {imho} YMMV.


James








Reply via email to