Open Conan-Kudo opened 1 year ago
Hi @Conan-Kudo thanks for the suggestion. Indeed switching to btrfs is going to be improvement over the ext4 :)
there is only one caveat. There is an error and it is called: GRUB error: sparse file not allowed. there is a solution, both in manjara and Rosa linux. https://forum.manjaro.org/t/grub-error-sparse-file-not-allowed/20267
I tried btrfs
recently on my multi-boot desktop. OM's os-prober
does not seem to work well with btrfs
. I believe we need to fix this before considering btrfs
as default fs for OMLx.
I am willing to test any possible fixes for this if anyone wants to work on this. I would like to see this issue fixed.
As a Community driven distro, basically that implies anyone wishing to bring up btrfs as a default option needs to work on it and contribute to fix current issues. (TC meeting 2023-06-07)
As a Community driven distro, basically that implies anyone wishing to bring up btrfs as a default option needs to work on it and contribute to fix current issues. (TC meeting 2023-06-07)
I raised a question to the contributors of calamaris for marking disks on a subvoluve. https://github.com/calamares/calamares/issues/2130 But in kalamaris they redirected to another previously opened error.
I'll start posting OM Issue Tracker reports on btrfs
. Looks like a few things need to be resolved and we hope to resolve them in a way that does not disrupt OMLx users.
https://github.com/OpenMandrivaAssociation/distribution/issues/2921
https://github.com/OpenMandrivaAssociation/distribution/issues/2902
They all seem to revolve around btrfs
not working well with grub2
. I would hope if we replace grub2
with something else that something will be able to work with current users upgrading current systems.
There are a few non-upstream patches for btrfs support in GRUB that resolve some of this. But also an easy fix is just putting /boot
on ext4.
There are a few non-upstream patches for btrfs support in GRUB that resolve some of this. But also an easy fix is just putting
/boot
on ext4.
yes, this is also another solution.
Description
Btrfs is an advanced filesystem included in the Linux kernel that provides a number of great capabilities (ssd optimizations, transparent compression, snapshots, fluid disk allocation, etc.). Notably, SUSE has been using it by default since 2014 and Fedora since 2020.
I believe changing to Btrfs by default for OpenMandriva will involve changing two things:
Additionally, we could look into preloading boot-to-snapshot capabilities, similar to what openSUSE, Garuda, and Kali have. That would require some tweaks to where the rpmdb and the dnfdb live to move them to
/usr
, but it's not out of the realm of possibility. With those tweaks, then we could use the snapper plugin for DNF for auto-snapshotting and pull in the SUSE grub patches for boot-to-snapshot.References
/usr