QubesOS / qubes-issues

The Qubes OS Project issue tracker
https://www.qubes-os.org/doc/issue-tracking/
536 stars 47 forks source link

Template with btrfs as root filesystem #7310

Open marmarek opened 2 years ago

marmarek commented 2 years ago

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).

DemiMarie commented 2 years ago

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

Do other templates not have btrfs support?

marmarek commented 2 years ago

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.