Re: btrfs mkfs options for root filesystem?

2021-02-09 Thread Matthew Miller
On Tue, Feb 09, 2021 at 01:04:51PM -0700, Chris Murphy wrote: > Precreating the subvolumes won't matter, but you definitely can't use > an existing subvolume for '/' mountpoint. One thing that matters a lot > is that the partition scheme preset must be set to Btrfs (it is by > default now). Yeah,

Re: btrfs mkfs options for root filesystem?

2021-02-09 Thread Chris Murphy
On Tue, Feb 9, 2021 at 12:41 PM Matthew Miller wrote: > > On Tue, Feb 09, 2021 at 11:36:34AM -0700, Chris Murphy wrote: > > Anaconda requires a new subvolume for / but doesn't require a > > reformat. The Custom UI shows the / mountpoint's reformat checkbox > > grayed out and checked, which might

Re: btrfs mkfs options for root filesystem?

2021-02-09 Thread David Lehman
On Tue, 2021-02-09 at 12:21 -0500, Matthew Miller wrote: > I wanted to use `--csum xxhash` to create the btrfs filesystem on the > system > I just installed. Unfortunately, this proves to be impossible, since > Anaconda requires that / be formatted by Anaconda. It's a small > performance > win

Re: btrfs mkfs options for root filesystem?

2021-02-09 Thread Matthew Miller
On Tue, Feb 09, 2021 at 11:36:34AM -0700, Chris Murphy wrote: > Anaconda requires a new subvolume for / but doesn't require a > reformat. The Custom UI shows the / mountpoint's reformat checkbox > grayed out and checked, which might give the impression that whole > partition will be reformatted.

Re: btrfs compression by default

2021-02-09 Thread Patrick Riehecky
On Tue, 2021-02-09 at 01:18 -0500, Neal Gompa wrote: > Eventually, VDO might get integrated into the mainline tree, so > having > the interface which could be used for LVM compression through VDO > wouldn't be too bad. > That would be awesome! Pat

Re: btrfs compression by default

2021-02-09 Thread Chris Murphy
On Tue, Feb 9, 2021 at 12:26 PM Chris Murphy wrote: > > On Tue, Feb 9, 2021 at 11:40 AM Martin Kolman wrote: > > > > On Tue, 2021-02-09 at 09:50 -0700, Chris Murphy wrote: > > > On Tue, Feb 9, 2021 at 9:15 AM Michel Alexandre Salim > > > wrote: > > > > There's a further complication: Chris just

Re: btrfs compression by default

2021-02-09 Thread Chris Murphy
On Tue, Feb 9, 2021 at 11:40 AM Martin Kolman wrote: > > On Tue, 2021-02-09 at 09:50 -0700, Chris Murphy wrote: > > On Tue, Feb 9, 2021 at 9:15 AM Michel Alexandre Salim > > wrote: > > > There's a further complication: Chris just informed me that on BIOS > > > systems, space is more of a

Re: btrfs compression by default

2021-02-09 Thread Michel Alexandre Salim
On Tue, 2021-02-09 at 19:40 +0100, Martin Kolman wrote: > On Tue, 2021-02-09 at 09:50 -0700, Chris Murphy wrote: > > On Tue, Feb 9, 2021 at 9:15 AM Michel Alexandre Salim > > wrote: > > > There's a further complication: Chris just informed me that on > > > BIOS > > > systems, space is more of a

Re: btrfs compression by default

2021-02-09 Thread Martin Kolman
On Tue, 2021-02-09 at 09:50 -0700, Chris Murphy wrote: > On Tue, Feb 9, 2021 at 9:15 AM Michel Alexandre Salim > wrote: > > There's a further complication: Chris just informed me that on BIOS > > systems, space is more of a constraint so the zstd module is not part > > of GRUB ... meaning we have

Re: btrfs mkfs options for root filesystem?

2021-02-09 Thread Chris Murphy
On Tue, Feb 9, 2021 at 10:21 AM Matthew Miller wrote: > > I wanted to use `--csum xxhash` to create the btrfs filesystem on the system > I just installed. Unfortunately, this proves to be impossible, since > Anaconda requires that / be formatted by Anaconda. It's a small performance > win (33%

btrfs mkfs options for root filesystem?

2021-02-09 Thread Matthew Miller
I wanted to use `--csum xxhash` to create the btrfs filesystem on the system I just installed. Unfortunately, this proves to be impossible, since Anaconda requires that / be formatted by Anaconda. It's a small performance win (33% faster) but also twice the bits for a much smaller collision risk.

Re: btrfs compression by default

2021-02-09 Thread Chris Murphy
On Tue, Feb 9, 2021 at 9:15 AM Michel Alexandre Salim wrote: > There's a further complication: Chris just informed me that on BIOS > systems, space is more of a constraint so the zstd module is not part > of GRUB ... meaning we have to handle these two scenarios: It's available, but it's the 2nd

Re: btrfs compression by default

2021-02-09 Thread Michel Alexandre Salim
Hi Jiří, Vendula, all, On Tue, 2021-02-09 at 12:12 +0100, Vendula Poncova wrote: > On Tue, Feb 9, 2021 at 10:42 AM wrote: > > > > Hi everyone, > > > > I see a few options for this. First is to add this directly to > > blivet > > library as you pointed out already. However, I don't think blivet

Re: btrfs compression by default

2021-02-09 Thread Vendula Poncova
On Tue, Feb 9, 2021 at 10:42 AM wrote: > > Hi everyone, > > I see a few options for this. First is to add this directly to blivet > library as you pointed out already. However, I don't think blivet > developers would be happy about that because they are trying to be as > much as possible general

Re: btrfs compression by default

2021-02-09 Thread jkonecny
Hi everyone, I see a few options for this. First is to add this directly to blivet library as you pointed out already. However, I don't think blivet developers would be happy about that because they are trying to be as much as possible general purpose library and this change is really just about