Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Template with btrfs as root filesystem #7310

Open
marmarek opened this issue Feb 27, 2022 · 2 comments
Open

Template with btrfs as root filesystem #7310

marmarek opened this issue Feb 27, 2022 · 2 comments
Labels
C: Fedora P: default Priority: default. Default priority for new issues, to be replaced given sufficient information. pr submitted A pull request has been submitted for this issue. T: enhancement Type: enhancement. A new feature that does not yet exist or improvement of existing functionality.

Comments

@marmarek
Copy link
Member

How to file a helpful issue

The problem you're addressing (if any)

Fedora Workstation installs with btrfs by default, based on our approach to distribution defaults, we should adjust template build to use btrfs too.

The solution you'd like

Make fedora template with btrfs root filesystem. Place actual installation in root subvolume (same as vanilla Fedora).

Consider enabling compression (https://docs.fedoraproject.org/en-US/fedora/f34/release-notes/sysadmin/Storage/).

For compatibility with other templates, keep private volume as ext4.

The value to a user, and who that user might be

Consistency with "standard" Fedora.

Other benefits of btrfs filesystem.

Note: some benefits may not apply to Qubes - for example our storage subsystem already use copy-on-write on a lower layer, which allows easy rollbacks when necessary. There may be some performance cost of doing it twice (to be analyzed, and possibly compensated with filesystem options).

@marmarek marmarek added T: enhancement Type: enhancement. A new feature that does not yet exist or improvement of existing functionality. P: default Priority: default. Default priority for new issues, to be replaced given sufficient information. labels Feb 27, 2022
@DemiMarie
Copy link

For compatibility with other templates, keep private volume as ext4.

Do other templates not have btrfs support?

@marmarek
Copy link
Member Author

marmarek commented Feb 27, 2022

May not have, for example btrfs-progs not being included, or older packages that don't support resizing btrfs etc. /etc/fstab has auto filesystem for /rw, but for example subvolume is not specified. I'm sure there are more incompatibilities.

marmarek added a commit to marmarek/qubes-linux-utils that referenced this issue Feb 27, 2022
marmarek added a commit to marmarek/qubes-linux-template-builder that referenced this issue Feb 27, 2022
marmarek added a commit to marmarek/qubes-linux-template-builder that referenced this issue Feb 27, 2022
marmarek added a commit to marmarek/qubes-builder-rpm that referenced this issue Feb 27, 2022
marmarek added a commit to marmarek/qubes-core-agent-linux that referenced this issue Feb 27, 2022
Fedora now ships with btrfs as default, add support for it.

QubesOS/qubes-issues#7310
@andrewdavidwong andrewdavidwong added C: Fedora pr submitted A pull request has been submitted for this issue. labels Feb 27, 2022
@andrewdavidwong andrewdavidwong added this to the Release TBD milestone Feb 27, 2022
marmarek added a commit to marmarek/qubes-core-agent-linux that referenced this issue Feb 28, 2022
Fedora now ships with btrfs as default, add support for it.

QubesOS/qubes-issues#7310
@andrewdavidwong andrewdavidwong removed this from the Release TBD milestone Aug 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: Fedora P: default Priority: default. Default priority for new issues, to be replaced given sufficient information. pr submitted A pull request has been submitted for this issue. T: enhancement Type: enhancement. A new feature that does not yet exist or improvement of existing functionality.
Projects
None yet
Development

No branches or pull requests

3 participants