Pesquisar

Este conteúdo não está disponível no idioma selecionado.

Chapter 24. Setting up Stratis file systems using the web console

download PDF

Stratis runs as a service to manage pools of physical storage devices, simplifying local storage management with ease of use while helping you set up and manage complex storage configurations.

24.1. Creating an unencrypted Stratis pool using the web console

You can use the web console to create an unencrypted Stratis pool from one or more block devices.

Prerequisites

  • The RHEL 9 web console is installed and enabled. For details, see Installing the web console.
  • Stratis is installed.

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

  • The stratisd service is running.
  • The block devices on which you are creating a Stratis pool are not in use and are not mounted.
  • Each block device on which you are creating a Stratis pool is at least 1 GB.
Note

You cannot encrypt an unencrypted Stratis pool after it is created.

Procedure

  1. Log in to the RHEL 9 web console.
  2. Click Storage.
  3. In the Storage table, click the menu button.
  4. From the drop-down menu, select Create Stratis pool.

    Image displaying the available options in the Storage table drop-down menu. Selecting Create Stratis pool.

  5. In the Create Stratis pool dialog box, enter a name for the Stratis pool.

    Image displaying the Create Stratis pool dialog box.

  6. Select the Block devices from which you want to create the Stratis pool.
  7. Optional: If you want to specify the maximum size for each file system that is created in pool, select Manage filesystem sizes.
  8. Click Create.

Verification

  • Go to the Storage section and verify that you can see the new Stratis pool in the Devices table.

24.2. Creating an encrypted Stratis pool using the web console

To secure your data, you can use the web console to create an encrypted Stratis pool from one or more block devices.

When creating an encrypted Stratis pool from one or more block devices, note the following:

  • Each block device is encrypted using the cryptsetup library and implements the LUKS2 format.
  • Each Stratis pool can either have a unique key or share the same key with other pools. These keys are stored in the kernel keyring.
  • The block devices that comprise a Stratis pool must be either all encrypted or all unencrypted. It is not possible to have both encrypted and unencrypted block devices in the same Stratis pool.
  • Block devices added to the data tier of an encrypted Stratis pool are automatically encrypted.

Prerequisites

  • The RHEL 9 web console is installed and enabled. For details, see Installing the web console.
  • Stratis v2.1.0 or later is installed.

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

  • The stratisd service is running.
  • The block devices on which you are creating a Stratis pool are not in use and are not mounted.
  • Each block device on which you are creating a Stratis pool is at least 1 GB.

Procedure

  1. Log in to the RHEL 9 web console.
  2. Click Storage.
  3. In the Storage table, click the menu button.
  4. From the drop-down menu, select Create Stratis pool. Image displaying the available options in the Storage table drop-down menu. Selecting Create Stratis pool.
  5. In the Create Stratis pool dialog box, enter a name for the Stratis pool.

    Image displaying the Create Stratis pool dialog box.

  6. Select the Block devices from which you want to create the Stratis pool.
  7. Select the type of encryption, you can use a passphrase, a Tang keyserver, or both:

  8. Optional: If you want to specify the maximum size for each file system that is created in pool, select Manage filesystem sizes.
  9. Click Create.

Verification

  • Go to the Storage section and verify that you can see the new Stratis pool in the Devices table.

24.3. Viewing a Stratis pool using the web console

You can use the web console to view an existing Stratis pool and the file systems it contains.

Prerequisites

Procedure

  1. Log in to the RHEL 9 web console.
  2. Click Storage.
  3. In the Storage table, click the Stratis pool you want to view.

    The Stratis pool page displays all the information about the pool and the file systems that you created in the pool.

    Image displaying the Stratis pool page.

24.4. Creating a file system on a Stratis pool using the web console

You can use the web console to create a file system on an existing Stratis pool.

Prerequisites

Procedure

  1. Log in to the RHEL 9 web console.
  2. Click Storage.
  3. Click the Stratis pool on which you want to create a file system.
  4. On the Stratis pool page, scroll to the Stratis filesystems section and click Create new filesystem.

    Image displaying the Stratis pool page.

  5. In the Create filesystem dialog box, enter a Name for the file system.

    Image displaying the create Stratis file system dialog box.

  6. Enter the Mount point for the file system.
  7. Select the Mount option.
  8. In the At boot drop-down menu, select when you want to mount your file system.
  9. Create the file system:

    • If you want to create and mount the file system, click Create and mount.
    • If you want to only create the file system, click Create only.

Verification

  • The new file system is visible on the Stratis pool page under the Stratis filesystems tab.

24.5. Deleting a file system from a Stratis pool using the web console

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

Procedure

  1. Log in to the RHEL 9 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 next to the file system you want to delete.

    Image displaying the Stratis pool page.

  5. From the drop-down menu, select delete.

    Image displaying the drop-down menu of a stratis file system.

  6. In the Confirm deletion dialog box, click Delete.

24.6. Renaming a Stratis pool using the web console

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

Prerequisites

Procedure

  1. Log in to the RHEL 9 web console.
  2. Click Storage.
  3. In the Storage table, click the Stratis pool you want to rename.
  4. On the Stratis pool page, click edit next to the Name field.

    Image displaying the Stratis pool page.

  5. In the Rename Stratis pool dialog box, enter a new name.
  6. Click Rename.

24.7. Adding a block device to a Stratis pool using the web console

You can use the web console to add a block device to an existing Stratis pool. You can also add caches as a block device.

Prerequisites

Procedure

  1. Log in to the RHEL 9 web console.
  2. Click Storage.
  3. In the Storage table, click the Stratis pool to which you want to add a block device.
  4. On the Stratis pool page, click Add block devices.

    Image displaying the Stratis pool page.

  5. In the Add block devices dialog box, select the Tier, whether you want to add a block device as data or cache.

    Image displaying the Add block devices dialog box.

  6. Optional: If you are adding the block device to a Stratis pool that is encrypted with a passphrase, then you must enter the passphrase.
  7. Under Block devices, select the devices you want to add to the pool.
  8. Click Add.

24.8. Deleting a Stratis pool 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 9 web console.
  2. Click Storage.
  3. In the Storage table, click the menu button, , next to 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.
Red Hat logoGithubRedditYoutubeTwitter

Aprender

Experimente, compre e venda

Comunidades

Sobre a documentação da Red Hat

Ajudamos os usuários da Red Hat a inovar e atingir seus objetivos com nossos produtos e serviços com conteúdo em que podem confiar.

Tornando o open source mais inclusivo

A Red Hat está comprometida em substituir a linguagem problemática em nosso código, documentação e propriedades da web. Para mais detalhes veja oBlog da Red Hat.

Sobre a Red Hat

Fornecemos soluções robustas que facilitam o trabalho das empresas em plataformas e ambientes, desde o data center principal até a borda da rede.

© 2024 Red Hat, Inc.