Skip to main content

CentOS

CentOS is a community maintained Linux distribution derived from the sources of Red Hat Enterprise Linux (RHEL). CentOS release versions follow closely RHEL releases, reusing the same version and release numbers.

More information on the distribution releases and kernel versions can be found here.

Supported Zoned Block Devices

Due to this design approach, CentOS zoned block device support is identical to that of Red Hat Enterprise Linux: zoned block device support is not available by default with the precompiled kernel shipped with the distribution.

However, third party repositories such as The Community Enterprise Linux Repository (elrepo) provide recent kernels packages precompiled with zoned block device support enabled. elrepo provides kernels version 5.12 and 5.13 for CentOS 7, CentOS 8 and CentOS 8 Stream.

The table below shows the supported types of zoned block devices.

Distribution VersionKernel VersionSCSI ZBC and ATA ZAC SupportNVMe ZNS Supportnull_blk Zone   Emulation Supportscsi_debug ZBC   Emulation  Support 
73.10NoNoNoNo
7 + elrepro5.18YesYesYesYes
84.18NoNoNoNo
8 + elrepro5.18YesYesYesYes
Stream 85.13NoNoNoNo
Stream8+elrepro5.18YesYesYesYes
Stream 95.14YesYesYesYes

Supported File Systems and Device Mapper Targets

As shown in the table below, only elrepo kernels and CentOS Stream 9 offer support for file systems and device mapper targets supporting zoned block devices.

File SystemsDevice Mapper
Distribution VersionKernel Versionf2fszonefsbtrfslinearflakeyzonedcrypt
ZBC/ZACZNS
73.10NoNoNoNoNoNoNoNo
7 + elrepro5.18YesYesYesYesYesYesYesYes
84.18NoNoNoNoNoNoNoNo
8 + elrepro5.18YesYesYesYesYesYesYesYes
Stream 85.13NoNoNoNoNoNoNoNo
Stream8+elrepro5.18YesYesYesYesYesYesYesYes
Stream 95.14YesYesYesYesYesYesYesYes

Available Pre-Compiled Packages

The latest CentOS Stream 9 distribution only provides support for zoned block devices with the "standard" pre-compiled packages, that is, regular system tools and libraries packages.

  • System utilities packages:

    • util-linux (blkzone utility)
    • nvme-cli
    • sg3_utils
  • Libraries related packages:

    • libblkid (and libblkid-devel)
    • libnvme (and libnvme-devel)

The user utilities related to file systems and device mapper targets supporting zoned block devices need to be compiled from source (e.g. zonefs-tools, btrfs-progs, dm-zoned-tools, etc).