21.17. Creating a Stratis file system


Create a Stratis file system to leverage advanced storage capabilities including thin provisioning, automatic file system growth, and integrated snapshot support within a storage pool.

Prerequisites

Procedure

  1. Create a Stratis file system on a pool:

    # stratis filesystem create --size number-and-unit my-pool my-fs
    number-and-unit
    Specifies the size of a file system. The specification format must follow the standard size specification format for input, that is B, KiB, MiB, GiB, TiB or PiB.
    my-pool
    Specifies the name of the Stratis pool.
    my-fs

    Specifies an arbitrary name for the file system.

    For example, create a Stratis file system:

    # stratis filesystem create --size 10GiB pool1 filesystem1
  2. Set a size limit of a file system:

    # stratis filesystem create --size number-and-unit --size-limit number-and-unit my-pool my-fs
    注記

    This option is available starting with Stratis 3.6.0.

    You can also remove the size limit later, if needed:

    # stratis filesystem unset-size-limit my-pool my-fs

Verification

  • List file systems within the pool to check if the Stratis file system is created:

    # stratis fs list my-pool
Red Hat logoGithubredditYoutubeTwitter

詳細情報

試用、購入および販売

コミュニティー

Red Hat ドキュメントについて

Red Hat をお使いのお客様が、信頼できるコンテンツが含まれている製品やサービスを活用することで、イノベーションを行い、目標を達成できるようにします。 最新の更新を見る.

多様性を受け入れるオープンソースの強化

Red Hat では、コード、ドキュメント、Web プロパティーにおける配慮に欠ける用語の置き換えに取り組んでいます。このような変更は、段階的に実施される予定です。詳細情報: Red Hat ブログ.

会社概要

Red Hat は、企業がコアとなるデータセンターからネットワークエッジに至るまで、各種プラットフォームや環境全体で作業を簡素化できるように、強化されたソリューションを提供しています。

Theme

© 2026 Red Hat
トップに戻る