Show Table of Contents
Chapter 4. Resource Types
4.1. brick
The
brick resource type groups all Gluster bricks in a Red Hat Enterprise Virtualization environment.
Table 4.1. Gluster brick parameters
| Name | Type | Description | Required | User Creatable | User Updatable |
|---|---|---|---|---|---|
--server_id
|
string
|
The address of the Gluster server.
|
Yes
|
Yes
|
No
|
--brick_dir
|
string
|
The brick's directory on the Gluster server.
|
Yes
|
Yes
|
No
|
--replica_count
|
integer
|
Defines the file replication count for a replicated volume.
|
No
|
Yes
|
No
|
--stripe_count
|
Integer
|
Defines the stripe count for a striped volume
|
No
|
Yes
|
No
|
The following table lists additional
glustervolume options for resource-based commands.
Table 4.2. Additional command options
| Option | Description |
|---|---|
--cluster-identifier | Reference to the cluster that contains a glustervolume sub-resource. |
--glustervolume-identifier | Adds the brick to a glustervolume as a sub-resource. |
Example 4.1. Creating a bricks
[RHEVM shell (connected)]# add brick --cluster-identifier Default --glustervolume-identifier GlusterVol1 --server_id="server1" --brick_dir="/exp1"

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.