Installing btrfs
Using Red Hat Enterprise Linux 7 or later, you will find that btrfs
is installed by default even on a minimal installation. However, if you are using earlier versions, you can install the btrfs
filesystem with yum in the normal way, as shown in the following command:
# yum install -y btrfs-progs
With the filesystem installed, we can check the version that we have implemented using the following command:
$ btrfs --version
On RHEL 7, the version is 3.12
, whereas on RHEL 7.1, the version is 3.16.2
.
Now that we understand a little of the power behind btrfs
, let's begin with some simple implementation examples.