Re: BTRFS partitioning scheme (was BTRFS with RAID1 cannot boot when removing drive)

2014-02-21 Thread Frank Kingswood
On 13/02/14 18:02, Austin S Hemmelgarn wrote: On 2014-02-13 12:33, Chris Murphy wrote: On Feb 13, 2014, at 1:50 AM, Frank Kingswood wrote: On 12/02/14 17:13, Saint Germain wrote: Ok based on your advices, here is what I have done so far to use UEFI (remeber that the objective is to have a

Re: BTRFS with RAID1 cannot boot when removing drive

2014-02-16 Thread Saint Germain
On Fri, 14 Feb 2014 15:33:10 +0100, Saint Germain wrote : > On 11 February 2014 03:30, Saint Germain wrote: > >> > I am experimenting with BTRFS and RAID1 on my Debian Wheezy (with > >> > backported kernel 3.12-0.bpo.1-amd64) using a a motherboard with > >> > UEFI. > >> > >> > I have installed D

Re: BTRFS with RAID1 cannot boot when removing drive

2014-02-14 Thread Saint Germain
On 11 February 2014 03:30, Saint Germain wrote: >> > I am experimenting with BTRFS and RAID1 on my Debian Wheezy (with >> > backported kernel 3.12-0.bpo.1-amd64) using a a motherboard with >> > UEFI. >> >> > I have installed Debian with the following partition on the first >> > hard drive (no BTRF

Re: BTRFS partitioning scheme (was BTRFS with RAID1 cannot boot when removing drive)

2014-02-13 Thread Saint Germain
On Thu, 13 Feb 2014 10:43:08 -0700, Chris Murphy wrote : > >>> sda3 = 1 TiB root partition (BTRFS), mounted on / > >>> sda4 = 6 GiB swap partition > >>> (that way I should be able to be compatible with both CSM or UEFI) > >>> > >>> B) normal Debian installation on sdas, activate the CSM on the >

Re: BTRFS partitioning scheme (was BTRFS with RAID1 cannot boot when removing drive)

2014-02-13 Thread Chris Murphy
On Feb 13, 2014, at 11:02 AM, Austin S Hemmelgarn wrote: > > While this is what the UEFI spec says is supposed to be the fallback, > many systems don't actually look there unless the media is removable. > All of my UEFI systems instead look for Microsoft/Boot/bootmgfw.efi as > the fallback (Caus

Re: BTRFS partitioning scheme (was BTRFS with RAID1 cannot boot when removing drive)

2014-02-13 Thread Austin S Hemmelgarn
On 2014-02-13 12:33, Chris Murphy wrote: > > On Feb 13, 2014, at 1:50 AM, Frank Kingswood > wrote: > >> On 12/02/14 17:13, Saint Germain wrote: >>> Ok based on your advices, here is what I have done so far to use UEFI >>> (remeber that the objective is to have a clean and simple BTRFS RAID1 >>>

Re: BTRFS partitioning scheme (was BTRFS with RAID1 cannot boot when removing drive)

2014-02-13 Thread Chris Murphy
On Feb 13, 2014, at 3:03 AM, Saint Germain wrote: > On 13 February 2014 09:50, Frank Kingswood > wrote: >> On 12/02/14 17:13, Saint Germain wrote: >>> >>> Ok based on your advices, here is what I have done so far to use UEFI >>> (remeber that the objective is to have a clean and simple BTRFS R

Re: BTRFS partitioning scheme (was BTRFS with RAID1 cannot boot when removing drive)

2014-02-13 Thread Chris Murphy
On Feb 13, 2014, at 1:50 AM, Frank Kingswood wrote: > On 12/02/14 17:13, Saint Germain wrote: >> Ok based on your advices, here is what I have done so far to use UEFI >> (remeber that the objective is to have a clean and simple BTRFS RAID1 >> install). >> >> A) I start first with only one driv

Re: BTRFS partitioning scheme (was BTRFS with RAID1 cannot boot when removing drive)

2014-02-13 Thread Saint Germain
On 13 February 2014 09:50, Frank Kingswood wrote: > On 12/02/14 17:13, Saint Germain wrote: >> >> Ok based on your advices, here is what I have done so far to use UEFI >> (remeber that the objective is to have a clean and simple BTRFS RAID1 >> install). >> >> A) I start first with only one drive,

Re: BTRFS partitioning scheme (was BTRFS with RAID1 cannot boot when removing drive)

2014-02-13 Thread Frank Kingswood
On 12/02/14 17:13, Saint Germain wrote: Ok based on your advices, here is what I have done so far to use UEFI (remeber that the objective is to have a clean and simple BTRFS RAID1 install). A) I start first with only one drive, I have gone with the following partition scheme (Debian wheezy, kern

Re: BTRFS partitioning scheme (was BTRFS with RAID1 cannot boot when removing drive)

2014-02-12 Thread Chris Murphy
On Feb 12, 2014, at 10:13 AM, Saint Germain wrote: > On 11 February 2014 19:15, Chris Murphy wrote: >>> >>> To summarize, I think I have 3 options for partitioning (I am not >>> considering UEFI secure boot or swap): >>> 1) grub, BTRFS partition (i.e. full disk in BTRFS), /boot inside BTRFS >

Re: BTRFS with RAID1 cannot boot when removing drive

2014-02-12 Thread Saint Germain
On 11 February 2014 21:35, Duncan <1i5t5.dun...@cox.net> wrote: > Saint Germain posted on Tue, 11 Feb 2014 11:04:57 +0100 as excerpted: > >> The big problem I currently have is that based on your input, I hesitate >> a lot on my partitioning scheme: should I use a dedicated /boot >> partition or sh

Re: BTRFS partitioning scheme (was BTRFS with RAID1 cannot boot when removing drive)

2014-02-12 Thread Saint Germain
On 11 February 2014 19:15, Chris Murphy wrote: >> >> To summarize, I think I have 3 options for partitioning (I am not >> considering UEFI secure boot or swap): >> 1) grub, BTRFS partition (i.e. full disk in BTRFS), /boot inside BTRFS >> subvolume > > This doesn't seem like a good idea for a boot

Re: BTRFS partitioning scheme (was BTRFS with RAID1 cannot boot when removing drive)

2014-02-11 Thread Duncan
Chris Murphy posted on Tue, 11 Feb 2014 11:15:56 -0700 as excerpted: > The distros should be pressured to move to grub 2.02, currently in beta, > upon release. And I think it would be good for Btrfs testers to build > grub 2.02 beta, and try to break it with various Btrfs configurations so > that

Re: BTRFS with RAID1 cannot boot when removing drive

2014-02-11 Thread Duncan
Saint Germain posted on Tue, 11 Feb 2014 11:04:57 +0100 as excerpted: > The big problem I currently have is that based on your input, I hesitate > a lot on my partitioning scheme: should I use a dedicated /boot > partition or should I have one global BTRFS partition ? > It is not very clear in the

Re: BTRFS with RAID1 cannot boot when removing drive

2014-02-11 Thread Chris Murphy
On Feb 11, 2014, at 10:36 AM, Saint Germain wrote: >> >> grub-install shouldn't work on UEFI because the only place >> grub-install installs is to the volume mounted at /boot/efi. And also >> grub-install /dev/sdb implies installing grub to a disk boot sector, which >> also isn't applicable

Re: BTRFS partitioning scheme (was BTRFS with RAID1 cannot boot when removing drive)

2014-02-11 Thread Chris Murphy
On Feb 11, 2014, at 10:02 AM, Saint Germain wrote: > Hello and thanks for your feedback ! > > Cc back to the mailing-list as it may be of interest here as well. > > On 11 February 2014 16:11, Kyle Gates wrote: >>> The big problem I currently have is that based on your input, I >>> hesitate a

Re: BTRFS with RAID1 cannot boot when removing drive

2014-02-11 Thread Saint Germain
On 11 February 2014 18:21, Chris Murphy wrote: > > On Feb 10, 2014, at 8:15 PM, Saint Germain wrote: >> >> Ok I need to really understand how my motherboard works (new Z87E-ITX). >> It is written "64Mb AMI UEFI Legal BIOS", so I thought it was really >> UEFI. > > Manufacturers have done us a diss

Re: UEFI/BIOS, was: BTRFS with RAID1 cannot boot when removing drive

2014-02-11 Thread Chris Murphy
On Feb 10, 2014, at 11:59 PM, Duncan <1i5t5.dun...@cox.net> wrote: > Saint Germain posted on Tue, 11 Feb 2014 04:15:27 +0100 as excerpted: > >> Ok I need to really understand how my motherboard works (new Z87E-ITX). >> It is written "64Mb AMI UEFI Legal BIOS", so I thought it was really >> UEFI.

Re: BTRFS with RAID1 cannot boot when removing drive

2014-02-11 Thread Chris Murphy
On Feb 10, 2014, at 8:15 PM, Saint Germain wrote: > > Ok I need to really understand how my motherboard works (new Z87E-ITX). > It is written "64Mb AMI UEFI Legal BIOS", so I thought it was really > UEFI. Manufacturers have done us a disservice by equating UEFI and BIOS. Some UEFI also have a

BTRFS partitioning scheme (was BTRFS with RAID1 cannot boot when removing drive)

2014-02-11 Thread Saint Germain
Hello and thanks for your feedback ! Cc back to the mailing-list as it may be of interest here as well. On 11 February 2014 16:11, Kyle Gates wrote: >> The big problem I currently have is that based on your input, I >> hesitate a lot on my partitioning scheme: should I use a dedicated >> /boot p

Re: BTRFS with RAID1 cannot boot when removing drive

2014-02-11 Thread Saint Germain
On 11 February 2014 07:59, Duncan <1i5t5.dun...@cox.net> wrote: > Saint Germain posted on Tue, 11 Feb 2014 04:15:27 +0100 as excerpted: > >> Ok I need to really understand how my motherboard works (new Z87E-ITX). >> It is written "64Mb AMI UEFI Legal BIOS", so I thought it was really >> UEFI. > > I

Re: BTRFS with RAID1 cannot boot when removing drive

2014-02-10 Thread Duncan
Saint Germain posted on Tue, 11 Feb 2014 04:15:27 +0100 as excerpted: > I understand. Normally the swap will only be used for hibernating. I > don't expect to use it except perhaps in some extreme case. If hibernate is your main swap usage, you might consider the noauto fstab option as well, the

Re: BTRFS with RAID1 cannot boot when removing drive

2014-02-10 Thread Duncan
Saint Germain posted on Tue, 11 Feb 2014 04:15:27 +0100 as excerpted: > Ok I need to really understand how my motherboard works (new Z87E-ITX). > It is written "64Mb AMI UEFI Legal BIOS", so I thought it was really > UEFI. I expect it's truly UEFI. But from what I've read most UEFI based firmwa

Re: BTRFS with RAID1 cannot boot when removing drive

2014-02-10 Thread Saint Germain
Hello ! On Mon, 10 Feb 2014 19:18:22 -0700, Chris Murphy wrote : > > On Feb 9, 2014, at 2:40 PM, Saint Germain wrote: > > > > Then I added another drive for a RAID1 configuration (with btrfs > > balance) and I installed grub on the second hard drive with > > "grub-install /dev/sdb". > > That

Re: BTRFS with RAID1 cannot boot when removing drive

2014-02-10 Thread Saint Germain
Hello Duncan, What an amazing extensive answer you gave me ! Thank you so much for it. See my comments below. On Mon, 10 Feb 2014 03:34:49 + (UTC), Duncan <1i5t5.dun...@cox.net> wrote : > > I am experimenting with BTRFS and RAID1 on my Debian Wheezy (with > > backported kernel 3.12-0.bpo.1-

Re: BTRFS with RAID1 cannot boot when removing drive

2014-02-10 Thread Chris Murphy
On Feb 9, 2014, at 2:40 PM, Saint Germain wrote: > > Then I added another drive for a RAID1 configuration (with btrfs > balance) and I installed grub on the second hard drive with > "grub-install /dev/sdb". That can't work on UEFI. UEFI firmware effectively requires a GPT partition map and som

Re: BTRFS with RAID1 cannot boot when removing drive

2014-02-09 Thread Duncan
Saint Germain posted on Sun, 09 Feb 2014 22:40:55 +0100 as excerpted: > I am experimenting with BTRFS and RAID1 on my Debian Wheezy (with > backported kernel 3.12-0.bpo.1-amd64) using a a motherboard with UEFI. My systems don't do UEFI, but I do run GPT partitions and use grub2 for booting, with

BTRFS with RAID1 cannot boot when removing drive

2014-02-09 Thread Saint Germain
Hello, I am experimenting with BTRFS and RAID1 on my Debian Wheezy (with backported kernel 3.12-0.bpo.1-amd64) using a a motherboard with UEFI. However I haven't managed to make the system boot when the removing the first hard drive. I have installed Debian with the following partition on the fi