Linux Btrfs filesystem development
 help / color / mirror / Atom feed
* BTRFS partitioning scheme (was BTRFS with RAID1 cannot boot when removing drive)
@ 2014-02-11 17:02 Saint Germain
  2014-02-11 18:15 ` Chris Murphy
  0 siblings, 1 reply; 13+ messages in thread
From: Saint Germain @ 2014-02-11 17:02 UTC (permalink / raw)
  To: linux-btrfs; +Cc: Kyle Gates

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 <kylegates@hotmail.com> 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 partition or should I have one global BTRFS partition ?
>> It is not very clear in the doc (a lof of people used a dedicated
>> /boot because at that time, grub couldn't natively boot BTRFS it
>> seems, but it has changed).
>> Could you recommend a partitioning scheme for a simple RAID1 with 2
>> identical hard drives (just for home computing, not business).
>
> I run a 1GiB RAID1 btrfs /boot in mixed mode with grub2 and gpt partitions.
> IIRC grub2 doesn't understand lzo compression nor subvolumes.
>

Well I did tried to read about this and ended up being confused
because development is so fast, documentation can become quickly
outdated.
It seems that grub can boot BTRFS /boot subvolumes:
https://bbs.archlinux.org/viewtopic.php?pid=1222358

However Chris Murphy has some problems a few months ago:
http://comments.gmane.org/gmane.comp.file-systems.btrfs/29140

So I still don't know if it is a good idea or not to have a BTRFS /boot ?
Of course the idea is that I would like to snapshot /boot and have it on RAID1.

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
2) grub, GPT partition, with (A) on sda1, and a BTRFS partition on
sda2, /boot inside BTRFS subvolume
3) grub, GPT partition, with (A) on sda1, /boot (ext4) on sda2, and a
BTRFS on sda3

(A) = BIOS Boot partition (1 MiB) or EFI System Partition (FAT32, 550MiB)

I don't really see the point of having UEFI/ESP if I don't use other
proprietary operating system, so I think I will go with (A) = BIOS
Boot partition except if there is someting I have missed.

Can someone recommend which one would be the most stable and easier to manage ?

Thanks in advance,

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2014-02-21 11:42 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-11 17:02 BTRFS partitioning scheme (was BTRFS with RAID1 cannot boot when removing drive) Saint Germain
2014-02-11 18:15 ` Chris Murphy
2014-02-11 21:27   ` Duncan
2014-02-12 17:13   ` Saint Germain
2014-02-12 17:50     ` Chris Murphy
2014-02-13  8:50     ` Frank Kingswood
2014-02-13 10:03       ` Saint Germain
2014-02-13 17:43         ` Chris Murphy
2014-02-13 19:37           ` Saint Germain
2014-02-13 17:33       ` Chris Murphy
2014-02-13 18:02         ` Austin S Hemmelgarn
2014-02-13 18:17           ` Chris Murphy
2014-02-21 11:42           ` Frank Kingswood

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox