Close Menu
DPC Virtual Tips
    Read More

    How to Troubleshoot Packet Drops on an ESXi Host

    August 16, 2026

    SlurmDBD Is Down: What Continues Working and What Does Not

    August 15, 2026

    How to Investigate Jobs Stuck in COMPLETING State on Slurm

    August 14, 2026
    • Home
    • About Us
    • Contact
    • Cookie Policy
    • Comment Policy
    • Privacy Policy
    • Terms of Use
    • Disclaimer
    Tuesday, August 25
    DPC Virtual Tips
    • Home
    • Operating Systems
    • PowerFlex
    • HPC
    • Virtualization
    • About the Author
    • About Us
    • Contact
    DPC Virtual Tips
    Home » Working with Stratis on RHEL 8
    Operating Systems

    Working with Stratis on RHEL 8

    DaniloBy DaniloAugust 3, 2025Updated:August 1, 2026No Comments4 Mins Read
    Facebook Twitter Pinterest LinkedIn Tumblr Email
    Stratis on RHEL 8
    Share
    Facebook Twitter LinkedIn Pinterest Email

    Working with Stratis on RHEL 8 provides an overview of this modern local storage management solution available for Red Hat Enterprise Linux environments. Stratis simplifies storage administration by combining advanced features such as thin provisioning, snapshots, and filesystem management through a unified interface.

    In this guide, we will explore the main concepts behind Stratis, including pools, block devices, filesystems, and snapshots. We will also demonstrate how to install, enable, and configure Stratis using practical command-line examples on RHEL 8.

    First and foremost: What is Stratis?

    Stratis is a local storage management solution built for Red Hat Enterprise Linux. It abstracts LVM and XFS filesystems into a single, unified interface, making complex storage tasks – thin provisioning, snapshots, tiering, and more – accessible through a streamlined CLI and a daemon that handles low-level device-mapper operations behind the scenes.

    Core Components of Stratis

    • stratisd: The background daemon managing pools and filesystems.
    • stratis-cli: The primary command-line tool that you’ll use to create and manage resources.
    • D-Bus API: Enables integration with higher-level tools or automation frameworks.

    Key Components and Terminology

    TermDescription
    BlockdevPhysical disk or partition added to a pool.
    PoolVirtual storage aggregate made from one or more block devices.
    FilesystemThin-provisioned XFS volume carved from a pool.
    SnapshotPoint-in-time copy of a filesystem within a pool.
    Thin ProvisionA virtual storage aggregate is made from one or more block devices.
    Tiering (Cache)Uses faster devices for caching hot data, managed automatically by stratisd.

    Installing and Enabling Stratis

    Based on Red Hat documentation, Stratis is a Technology Preview in RHEL 8 and must be explicitly installed and enabled before use in the environment.

    1- Install the package:

    dnf install stratisd stratis-cli -y

    2- Start and enable the daemon:

    systemctl enable --now stratisd

    3- Verify it’s running:

    systemctl status stratisd

    Basic Operations

    1- Create an unencrypted pool.
    To create a pool, we need to specify the block devices. In our case, for instance, we’ll use three block devices, each of which is 8GB in size:

    stratis pool create my-stratis-pool /dev/sdj /dev/sdk /dev/sdl

    2- Inspect pools:

    stratis pool list

    3- Create a filesystem:

    stratis filesystem create my-stratis-pool myfs01

    Where:
    myfs01 –> Filesystem name

    4- Inspect filesystems:

    stratis fs list

    5- Mount and use:

    # Create a local directory to use as a mount point:
    mkdir /mnt/stratis-myfs01
    
    # Mount the stratis fs:
    mount -t xfs /dev/stratis/my-stratis-pool/myfs01 /mnt/stratis-myfs01

    6- Inspect the mount point with “df”:

    df -Th | grep -i -E "filesystem|stratis"

    7- Create a second filesystem named “myfs02“:

    stratis fs create my-stratis-pool myfs02
    stratis fs list

    8- Configure the /etc/fstab to mount both Stratis filesystems automatically on system boot. Use the UUID for this task.
    Getting the UUIID for each filesystem:

    blkid /dev/stratis/my-stratis-pool/myfs01
    blkid /dev/stratis/my-stratis-pool/myfs02

    Add the entries on /etc/fstab:

    UUID=98d845c0-2a74-4bc6-b7a2-c5cb74c54329       /mnt/stratis-myfs01     xfs     defaults,x-systemd.requires=stratisd.service    0       0
    
    UUID=1ffdb348-3219-41ee-8fef-9dc93981dbe1       /mnt/stratis-myfs02     xfs     defaults,x-systemd.requires=stratisd.service    0       0

    Mount:

    mount -a
    systemctl daemon-reload

    9- Create some files in the first filesystem and then create a snapshot of it:

    stratis fs snapshot my-stratis-pool myfs01 myfs01-snap

    Where:
    myfs01 –> Filesystem name
    myfs01-snap –> Snapshot name

    10- Inspect filesystems and snapshots:

    stratis fs list

    11- The snapshot can be mounted normally:

    mount -t xfs /dev/stratis/my-stratis-pool/myfs01-snap /mnt/stratis-myfs01-snap

    And we can confirm that all files created in the filesystems are in the snapshot:

    12- To delete a stratis filesystem, we need first to unmount it and then remove it:

    umount /mnt/stratis-myfs01
    stratis fs destroy my-stratis-pool myfs01
    stratis fs list

    13- Rename the stratis filesystem “myfs01-snap” to “myfs01” and update the /etc/fstab – Since we’ve removed the “myfs01”, we need to remove or update its UUID:

    stratis fs rename my-stratis-pool myfs01-snap myfs01
    
    # Getting the new UUID for myfs01:
    blkid /dev/stratis/my-stratis-pool/myfs01
    
    sed -i s/98d845c0-2a74-4bc6-b7a2-c5cb74c54329/45f1e608-997d-48f5-abf3-35b6f4e305d2/ /etc/fstab

    Where:
    98d845c0-2a74-4bc6-b7a2-c5cb74c54329 –> Old UUID
    45f1e608-997d-48f5-abf3-35b6f4e305d2 –> New UUID

    14- Reboot the system and inspect the stratis filesystems:

    stratis fs list

    That’s it for now 🙂

    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
    Previous ArticleVirtual Data Optimizer (VDO) on RHEL 8
    Next Article Configuring Bonding + Bridge Interfaces on RHEL 8
    Danilo

    Infrastructure Engineer with experience in Virtualization, Linux, Windows Server and learning automation using Python. DPC Virtual Tips was created to share practical tutorials, lab experiences and troubleshooting guides focused on enterprise infrastructure technologies.

    Related Posts

    Linux Server Has Free Memory but Is Swapping: Why?

    August 13, 2026

    How to Determine Whether Packet Loss Is Local or Network Related on Linux

    August 12, 2026

    How to Investigate TCP Retransmissions on Linux

    August 11, 2026

    Comments are closed.

    Search
    Categories
    • HPC (12)
    • Operating Systems (85)
    • PowerFlex (22)
    • Virtualization (130)
    Read More
    Virtualization

    How to Troubleshoot Packet Drops on an ESXi Host

    By DaniloAugust 16, 20260
    HPC

    SlurmDBD Is Down: What Continues Working and What Does Not

    By DaniloAugust 15, 20260
    HPC

    How to Investigate Jobs Stuck in COMPLETING State on Slurm

    By DaniloAugust 14, 20260
    Operating Systems

    Linux Server Has Free Memory but Is Swapping: Why?

    By DaniloAugust 13, 20260
    Operating Systems

    How to Determine Whether Packet Loss Is Local or Network Related on Linux

    By DaniloAugust 12, 20260
    Latest Posts

    How to Troubleshoot Packet Drops on an ESXi Host

    August 16, 2026

    SlurmDBD Is Down: What Continues Working and What Does Not

    August 15, 2026

    How to Investigate Jobs Stuck in COMPLETING State on Slurm

    August 14, 2026
    Images from Gallery
    hpc main commands
    linux commands
    install rock linux
    lustre fs
    shell scripting
    vSAN Trace Files
    Categories
    • HPC
    • Operating Systems
    • PowerFlex
    • Virtualization
    • Home
    • About Us
    • Contact
    • Cookie Policy
    • Comment Policy
    • Privacy Policy
    • Terms of Use
    • Disclaimer
    Copyright © 2026, DPC Virtual Tips. All rights reserved.

    Type above and press Enter to search. Press Esc to cancel.

    We use cookies to ensure your best experience on our website. If you continue using our website, we'll assume you agree to our cookie policy