Re: Question about btrfs as root filesystem

2013-11-08 Thread Chris Murphy
On Nov 8, 2013, at 10:59 AM, Goffredo Baroncelli wrote: >> >> Now I don't know what snapshot that is, since it's just renamed to >> some non-descriptive name like "root" which happens to, by >> convention, always be the active root. This is the problem with using >> user domain to store contextu

Re: Question about btrfs as root filesystem

2013-11-08 Thread Chris Murphy
On Nov 8, 2013, at 6:41 AM, Michael Göhler wrote: > Hi Chris > > thanks for taking the time. > >>> The boot subvolume is then set with 'btrfs subvolume set-default' and >>> mounted without subvol/subvolid option by Arch's default mount handler. >> I'm unconvinced it's a good idea for it to be

Re: Question about btrfs as root filesystem

2013-11-08 Thread Goffredo Baroncelli
On 2013-11-08 18:44, Chris Murphy wrote: > > On Nov 8, 2013, at 5:55 AM, Goffredo Baroncelli > wrote: >> >> Instead of using set-default, I am used to rename the subvolume. >> I.E. I assume that the root filesystem is a subvolume always called >> "__active". When I want to rollback, I rename

Re: Question about btrfs as root filesystem

2013-11-08 Thread Chris Murphy
On Nov 8, 2013, at 5:55 AM, Goffredo Baroncelli wrote: > > Instead of using set-default, I am used to rename the subvolume. > I.E. I assume that the root filesystem is a subvolume always called > "__active". > When I want to rollback, I rename "__active" in "__broken" (or > remove it), then

Re: Question about btrfs as root filesystem

2013-11-08 Thread Michael Göhler
Hi Chris thanks for taking the time. The boot subvolume is then set with 'btrfs subvolume set-default' and mounted without subvol/subvolid option by Arch's default mount handler. I'm unconvinced it's a good idea for it to be used behind the scenes for the described purpose. Consider the fol

R: Re: Question about btrfs as root filesystem

2013-11-08 Thread Goffredo Baroncelli
>On Nov 7, 2013, at 4:45 PM, Michael Göhler wrote: >> The boot subvolume is then set with 'btrfs subvolume set-default' and mounted without subvol/subvolid option by Arch's default mount handler. > >I'm unconvinced it's a good idea for it to be used behind the scenes > for the described purpose

Re: Question about btrfs as root filesystem

2013-11-08 Thread Duncan
Michael Göhler posted on Fri, 08 Nov 2013 00:45:32 +0100 as excerpted: > The use case for that is to set quotas for the child subvolumes. Quite apart from the main thread subject, you're aware that there are major bugs with btrfs quotas/qgroups ATM, right? I'd certainly be wary of depending on

Re: Question about btrfs as root filesystem

2013-11-07 Thread Chris Murphy
On Nov 7, 2013, at 4:45 PM, Michael Göhler wrote: > The boot subvolume is then set with 'btrfs subvolume set-default' and > mounted without subvol/subvolid option by Arch's default mount handler. I'm unconvinced it's a good idea for it to be used behind the scenes for the described purpose. C

Question about btrfs as root filesystem

2013-11-07 Thread Michael Göhler
Hi, I'm a contributor of the Arch Linux package mkinitcpio-btrfs [1]. The goal of this hook is to provide Btrfs rollback support for root filesystems directly from initrd. Technically we are using a subvolume to store the root filesystem. The user can snapshot it entirely and boot from this