Ce contenu n'est pas disponible dans la langue sélectionnée.

Chapter 25. Removing Stratis file systems


You can remove an existing Stratis file system or pool. Once a Stratis file system or pool is removed, it cannot be recovered.

25.1. Removing a Stratis file system

You can remove an existing Stratis file system. Data stored on it are lost.

Prerequisites

Procedure

  1. Unmount the file system:

    # umount /dev/stratis/my-pool/my-fs
    Copy to Clipboard Toggle word wrap
  2. Destroy the file system:

    # stratis filesystem destroy my-pool my-fs
    Copy to Clipboard Toggle word wrap

Verification

  • Verify that the file system no longer exists:

    # stratis filesystem list my-pool
    Copy to Clipboard Toggle word wrap

You can use the web console to delete a file system from an existing Stratis pool.

Note

Deleting a Stratis pool file system erases all the data it contains.

Prerequisites

  • You have installed the RHEL 10 web console.

    For instructions, see Installing and enabling the web console.

  • Stratis is installed and the stratisd service is running..

    The web console detects and installs Stratis by default. However, for manually installing Stratis, see Installing Stratis.

  • You have an existing Stratis pool and a file system is created on the Stratis pool.

Procedure

  1. Log in to the RHEL 10 web console.
  2. Click Storage.
  3. In the Storage table, click the Stratis pool from which you want to delete a file system.
  4. On the Stratis pool page, scroll to the Stratis filesystems section and click the menu button for the file system you want to delete.
  5. From the drop-down menu, select Delete.
  6. In the Confirm deletion dialog box, click Delete.

25.3. Removing a Stratis pool

You can remove an existing Stratis pool. Data stored on it are lost.

Prerequisites

Procedure

  1. List file systems on the pool:

    # stratis filesystem list my-pool
    Copy to Clipboard Toggle word wrap
  2. Unmount all file systems on the pool:

    # umount /dev/stratis/my-pool/my-fs-1 \
             /dev/stratis/my-pool/my-fs-2 \
             /dev/stratis/my-pool/my-fs-n
    Copy to Clipboard Toggle word wrap
  3. Destroy the file systems:

    # stratis filesystem destroy my-pool my-fs-1 my-fs-2
    Copy to Clipboard Toggle word wrap
  4. Destroy the pool:

    # stratis pool destroy my-pool
    Copy to Clipboard Toggle word wrap

Verification

  • Verify that the pool no longer exists:

    # stratis pool list
    Copy to Clipboard Toggle word wrap

25.4. Deleting a Stratis pool by using the web console

You can use the web console to delete an existing Stratis pool.

Note

Deleting a Stratis pool erases all the data it contains.

Prerequisites

Procedure

  1. Log in to the RHEL 10 web console.
  2. Click Storage.
  3. In the Storage table, click the menu button for the Stratis pool you want to delete.
  4. From the drop-down menu, select Delete pool.
  5. In the Permanently delete pool dialog box, click Delete.
Retour au début
Red Hat logoGithubredditYoutubeTwitter

Apprendre

Essayez, achetez et vendez

Communautés

À propos de la documentation Red Hat

Nous aidons les utilisateurs de Red Hat à innover et à atteindre leurs objectifs grâce à nos produits et services avec un contenu auquel ils peuvent faire confiance. Découvrez nos récentes mises à jour.

Rendre l’open source plus inclusif

Red Hat s'engage à remplacer le langage problématique dans notre code, notre documentation et nos propriétés Web. Pour plus de détails, consultez le Blog Red Hat.

À propos de Red Hat

Nous proposons des solutions renforcées qui facilitent le travail des entreprises sur plusieurs plates-formes et environnements, du centre de données central à la périphérie du réseau.

Theme

© 2025 Red Hat