-
Language:
English
-
Language:
English
Red Hat Training
A Red Hat training course is available for Red Hat Gluster Storage
Chapter 4. Resource Types
4.1. brick
Important
The information in this section is provided as a technical preview only.
The
brick
resource type groups all Red Hat Storage bricks in a Red Hat Storage Console Application.
Table 4.1.
Name | Type | Description | Required | User Creatable | User Updatable |
---|---|---|---|---|---|
--brick_dir | string | The brick's directory on the Red Hat Storage server. | Yes | Yes | No |
--server-id | string | The address of the Red Hat Storage server. | Yes | Yes | No |
The following table lists additional
glustervolume
options for resource-based commands.
Table 4.2. glustervolume
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. |
--all_content | Displays the advance options of a brick. |
Example 4.1. Add a brick
[RHSC shell (connected)]# add brick --cluster-identifier 99408929-82cf-4dc7-a532-9d998063fa95 --glustervolume-identifier 89999345-45fh-q234-78f7793n --brick "brick.server_id=35cfcaa5-1b1e-4be7-b87d-5a018ea98d98,brick.brick_dir=/home/brickInfo/b15"
Example 4.2. View the advance options of a brick
[RHSC shell (connected)]# list bricks --glustervolume-identifier TestVol --cluster-identifier TestCluster --show-all --all_content True