Skip to content

chore: change default filesystem from btrfs to xfs - #2949

Closed
hanthor wants to merge 9 commits into
ublue-os:mainfrom
ahmedadan:chore-2916-switch-default-filesystem-to-xfs
Closed

chore: change default filesystem from btrfs to xfs#2949
hanthor wants to merge 9 commits into
ublue-os:mainfrom
ahmedadan:chore-2916-switch-default-filesystem-to-xfs

Conversation

@hanthor

@hanthor hanthor commented Aug 7, 2025

Copy link
Copy Markdown
Collaborator

No description provided.

@ahmedadan
ahmedadan force-pushed the chore-2916-switch-default-filesystem-to-xfs branch from 3fcf844 to 079ac81 Compare August 7, 2025 18:23
@hanthor
hanthor marked this pull request as ready for review August 14, 2025 21:20
Copilot AI review requested due to automatic review settings August 14, 2025 21:20

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR changes the default filesystem from Btrfs to XFS across the Universal Blue project configuration. The change affects both the bootc installation configuration and the Anaconda installer settings.

Key changes:

  • Updates bootc install configuration to use XFS as the root filesystem type
  • Modifies Anaconda installer to use XFS instead of Btrfs with updated partitioning scheme
  • Removes Btrfs-specific compression settings and partition layout

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
system_files/shared/usr/lib/bootc/install/20-bluefin.toml Changes root filesystem type from btrfs to xfs
iso_files/configure_iso_anaconda.sh Updates Anaconda installer configuration to use XFS with revised partition scheme

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment thread iso_files/configure_iso_anaconda.sh Outdated
/ (min 1 GiB, max 70 GiB)
/home (min 500 MiB, free 50 GiB)
/var (btrfs)
/var (min 5 GiB, free 50 GiB)

Copilot AI Aug 14, 2025

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nitpick] The /var partition configuration appears to have inconsistent spacing. Consider using consistent formatting like '/var (min 5 GiB, free 50 GiB)' to match the / partition format above.

Suggested change
/var (min 5 GiB, free 50 GiB)
/var (min 5 GiB, free 50 GiB)

Copilot uses AI. Check for mistakes.
@dosubot dosubot Bot added size/XS This PR changes 0-9 lines, ignoring generated files. area/iso Making installable images labels Aug 14, 2025
@castrojo

Copy link
Copy Markdown
Collaborator

Let's ensure we don't spin any ISOs except to GH artifacts to test, then we can push to cloudflare after some testing. Then we can probably freshen them up at the same time LTS releases.

@hanthor
hanthor enabled auto-merge August 16, 2025 20:13
auto-merge was automatically disabled August 21, 2025 19:32

Head branch was pushed to by a user without write access

@dosubot dosubot Bot added size/S This PR changes 10-29 lines, ignoring generated files. and removed size/XS This PR changes 0-9 lines, ignoring generated files. labels Aug 21, 2025
@castrojo

Copy link
Copy Markdown
Collaborator

You don't need to manually merge in main every time the merge queue would handle that. Ok is this ready?

@ahmedadan

Copy link
Copy Markdown
Collaborator

You don't need to manually merge in main every time the merge queue would handle that. Ok is this ready?

Old habits! This is ready yes!

@hanthor hanthor left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks ready

@ahmedadan

Copy link
Copy Markdown
Collaborator

Looks like @castrojo fixed the font failure on main, can we kick off the CI again?

@ahmedadan

Copy link
Copy Markdown
Collaborator

Do we need something else done before we can merge?

@castrojo

Copy link
Copy Markdown
Collaborator

We'll need to test this so not keen until closer to F43, we need to finish off LTS and fix bugs before moving on to this. We'll just keep it here queued up.

@hanthor

hanthor commented Aug 29, 2025

Copy link
Copy Markdown
Collaborator Author

A good thing to test would be rebasing to LTS from a XFS fedora install. We maybe need to edit the EFI dir. But we might want that to be bluefin anyway, instead of Fedora

@alexsch01

Copy link
Copy Markdown
Contributor

Isn't btrfs superior to XFS for a desktop Linux user (and not server)?

There are way more bluefin users then bluefin-lts users, so it doesn't make sense to me to change it just for the LTS rebasing use case that most people wouldn't do

@hanthor

hanthor commented Sep 7, 2025

Copy link
Copy Markdown
Collaborator Author

Also btrfs recently had regressions in the kernel. RHEL doesn't support for some good reason, etc.

Are really this many people using subvolumes? Btrfs isn't going away its just going to be opt-in. People who don't care, won't care and just roll with default XFS. We could to ext4 instead???

@pedrohqb

Copy link
Copy Markdown

You could easily opt in for btrfs on Anaconda or would you have to resort to manual installation?

@castrojo castrojo added the merge-on-release Merge this during major releases label Oct 5, 2025
@castrojo

castrojo commented Oct 5, 2025

Copy link
Copy Markdown
Collaborator

Yeah you'd choose manual partitioning and choose btrfs. Can we do some test ISOs to test ahead of time?

@castrojo

Copy link
Copy Markdown
Collaborator

We don't have time to test this thoroughly so punting until next cycle.

@castrojo castrojo closed this Oct 21, 2025
@pedrohqb

Copy link
Copy Markdown

Even though now closed, I would like to add my 2 cents on the matter: I would rather not change as that will add more maintenance burden on Bluefin devs since, as it is now, the stability is somewhat guaranteed by the Fedora upstream. If it that change does not not add anything "new" regarding functionality - I only see the possibility of moving between Bluefin LTS and Bluefin (GTS) -, I would keep as it is. If it is not broken, do not fix it...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/iso Making installable images merge-on-release Merge this during major releases size/S This PR changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants