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

6.8. Creating Striped Replicated Volumes


Important

Striped Replicated volume is a technology preview feature. Technology Preview features are not fully supported under Red Hat subscription level agreements (SLAs), may not be functionally complete, and are not intended for production use. However, these features provide early access to upcoming product innovations, enabling customers to test functionality and provide feedback during the development process.

Note

The number of bricks must be a multiple of the replicate count and stripe count for a striped replicated volume.
This type of volume stripes data across replicated bricks in the trusted storage pool. For best results, you must use striped replicated volumes in highly concurrent environments where there is parallel access of very large files and performance is critical.

Figure 6.8. Illustration of a Striped Replicated Volume

Create a Striped Replicated Volume

Use gluster volume create to create a striped replicated volume, and gluster volume info to verify successful volume creation.

Pre-requisites

  1. Run the gluster volume create command to create the striped replicated volume.
    The syntax is # gluster volume create NEW-VOLNAME [stripe COUNT] [replica COUNT] [transport tcp | rdma | tcp,rdma] NEW-BRICK...
    The default value for transport is tcp. Other options can be passed such as auth.allow or auth.reject. See Section 8.1, “Configuring Volume Options” for a full list of parameters.

    Example 6.10. Striped Replicated Volume Across Four Servers

    The order in which bricks are specified determines how bricks are mirrored with each other. For example, first n bricks, where n is the replica count. In this scenario, the first two bricks specified mirror each other. If more bricks were specified, the next two bricks in sequence would mirror each other. .
    # gluster volume create test-volume stripe 2 replica 2 transport tcp server1:/exp1/brick server2:/exp3/brick server3:/exp2/brick server4:/exp4/brick
    Creation of test-volume has been successful
    Please start the volume to access data.
    Copy to Clipboard Toggle word wrap

    Example 6.11. Striped Replicated Volume Across Six Servers

    The order in which bricks are specified determines how bricks are mirrored with each other. For example, first n bricks, where n is the replica count. In this scenario, the first two bricks specified mirror each other. If more bricks were specified, the next two bricks in sequence would mirror each other.
    # gluster volume create test-volume stripe 3 replica 2 transport tcp server1:/exp1/brick server2:/exp2/brick server3:/exp3/brick server4:/exp4/brick server5:/exp5/brick server6:/exp6/brick
    Creation of test-volume has been successful
    Please start the volume to access data.
    Copy to Clipboard Toggle word wrap
  2. Run # gluster volume start VOLNAME to start the volume.
    # gluster volume start test-volume
    Starting test-volume has been successful
    Copy to Clipboard Toggle word wrap
  3. Run gluster volume info command to optionally display the volume information.
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