Skip to content

Instantly share code, notes, and snippets.

@orimanabu
Created January 28, 2022 06:11
Show Gist options
  • Select an option

  • Save orimanabu/8b36119af1a40f03f408f1fc759daf3a to your computer and use it in GitHub Desktop.

Select an option

Save orimanabu/8b36119af1a40f03f408f1fc759daf3a to your computer and use it in GitHub Desktop.
Install btrfs Kmods SIG packages on CentOS Stream 9
sudo dnf update
sudo reboot
sudo dnf install https://cbs.centos.org/kojifiles/packages/centos-release-kmods/2/4.el9s/noarch/centos-release-kmods-2-4.el9s.noarch.rpm
sudo dnf install kmod-btrfs-5.14.0.45-2.el9s.x86_64
sudo modprobe btrfs
sudo mkfs.btrfs /dev/vdb
sudo mount /dev/vdb /mnt
@renich
Copy link

renich commented Jan 10, 2025

Not working. There is no such kmod.

@orimanabu
Copy link
Author

According to 1, It seems that kmod-btrfs was retired.

With all of my attempts so far having failed and the fact that there seems to be low interest in the module itself compared to the workload, the kmod-btrfs is going to be retired, the repository is archived. In case someone wants to pick it up, please feel free to reach out.

Fortunately, It seems that Kmods SIG's kernel > 6.6 is built with btrfs (see also 2).
You can find Kmods SIG's kernel and btrfs-progs packages at 3.

Note that btrfs looks compiled into kernel, not built as a separated module 4.

Footnotes

  1. https://gitlab.com/CentOS/kmods/src/kmod-btrfs/-/issues/1

  2. https://gitlab.com/CentOS/kmods/rpms/kernel/-/issues/3

  3. https://sigs.centos.org/kmods/packages/

  4. https://gitlab.com/CentOS/kmods/rpms/kernel/-/blob/27e0bd2878fc16390ba45de09a528017cc886efe/kernel-x86_64.config#L768

@renich
Copy link

renich commented Jan 14, 2025

Nice!

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