2 Installing the Btrfs Utilities

Btrfs on Oracle Linux requires that the system is booted with UEK and that you install the btrfs-progs package to perform file system administration tasks on the file system.

Btrfs isn't available for RHCK, so you need to ensure that the system has UEK installed and is booted into the correct kernel. Also, install the btrfs-progs package that provides many Btrfs administration tools, including the mkfs.btrfs command that you use to format a device with the Btrfs file system.

  1. Enable the appropriate UEK yum repository or ULN channel for the system, if this hasn't already been done.

    For example, to enable the ol10_UEKR8 repository, run:

    sudo dnf config-manager --enable ol10_UEKR8
  2. Install UEK on the system, if it isn't already installed.
    sudo dnf install -y kernel-uek

    If the system isn't already booted into UEK, you might need to reboot the system.

  3. Validate that the btrfs kernel module is available for the booted kernel.
    modinfo btrfs
  4. Install the btrfs-progs package.
    sudo dnf install -y btrfs-progs