Having a current mainline-kernel (Part 1), and using BTRFS (I would not recommend doing likewise, and RedHat won’t continue to support it) having the versionally fitting utilities would be great.
First step: Setting up everything (this list may not be complete, check configure
output in step 2 that everything needed ist available)
yum remove btrfs-progs yum install libuuid-devel libattr-devel zlib-devel libacl-devel e2fsprogs-devel libblkid-devel lzo-devel asciidoc xmlto git clone https://btrfs.wiki.kernel.org
Second step: Script file update.sh
git pull ./autogen.sh ./configure make && make install && make clean
Execute update.sh by executing build.sh
scl enable devtoolset-7 ./update.sh
The files get installed into /usr/local/bin
, check by which btrfs
and btrfs --version
that everything worked out.