此内容没有您所选择的语言版本。

4.2. glustervolume


Important

The information in this section is provided as a technical preview only.
The glustervolume resource type groups all Red Hat Storage storage volume resources in the Red Hat Storage Console Application.
Expand
Table 4.3. 
Name Type Description Required User Creatable User Updatable
--name string The name of the Red Hat Storage volume. Yes Yes No
--replica_count int Defines the file replication count for a replicated volume. No Yes No
--stripe_count int Defines the stripe count for a striped volume. No Yes No
--transport_types collection A reference to available transport methods for the Red Hat Storage volume. See below for collection details. No Yes No
--options-option collection A reference to options for the Red Hat Storage volume. See below for collection details No Yes No
--bricks-brick collection A new Red Hat Storage volume requires a set of Red Hat Storage bricks to add and manage. This parameter references a collection of brick details. Specify at least one brick but list multiple bricks-brick parameters for multiple bricks. See below for collection details. Yes Yes No
--volume_type string Defines the Red Hat Storage volume type. Choose from DISTRIBUTE, REPLICATE, DISTRIBUTED_REPLICATE, STRIPE or DISTRIBUTED_STRIPE. Yes Yes No
The --bricks-brick parameter is a collection that uses the sub-parameters in the following table.
Expand
Table 4.4. bricks-brick parameters
Name Type Description
brick.server_id string The address of the Red Hat Storage server.
brick.brick_dir string The brick's directory on the Red Hat Storage server.
The --transport_types parameter is a collection that uses the sub-parameters in the following table.
Expand
Table 4.5. transport_types parameters
Name Type Description
transport_type string Defines a transport type to use. Specify multiple transport_type parameters for more than one type. Choose from TCP and RDMA.
The --options-option parameter is a collection that uses the sub-parameters in the following table.
Expand
Table 4.6. options-option parameters
Name Type Desciption
option.name string The Red Hat Storage option name.
option.value string The Red Hat Storage option value.
The following table lists additional glustervolume options for resource-based commands.
Expand
Table 4.7. Additional command options
Option Description
--cluster-identifier Adds the Red Hat Storage volume to a cluster as a sub-resource.

Example 4.3.  Creating a Red Hat Storage volume with two bricks

[RHSC shell (connected)]# add glustervolume --cluster-identifier Default --name GlusterVol1 --volume-type DISTRIBUTE --bricks-brick "brick.server_id=UUID;brick.brick_dir=filepath"--bricks-brick "brick.server_id=UUID;brick.brick_dir=filepath"
Copy to Clipboard Toggle word wrap

Example 4.4. Deleting a Red Hat Storage volume

[RHSC shell (connected)]# remove glustervolume Vol1 --cluster-identifier Cluster_bigbend
Copy to Clipboard Toggle word wrap
The following table lists actions for a Red Hat Storage volume resource.
Expand
Table 4.8. Red Hat Storage volume actions
Action Description
start Makes a Red Hat Storage volume available for use.
stop Deactivates a Red Hat Storage volume.
setOption Sets a Red Hat Storage volume option.
resetOption Resets a Red Hat Storage volume option to the default.
resetAllOptions Resets all Red Hat Storage volume options to defaults.
rebalance moves the data across the brick upon shrinking or expanding a volume.
stopRebalance Stops the currently executing rebalance process.
migrate Pertains to starting a remove-brick operation.
stopMigrate Pertains to stopping a remove-brick operation.
activate Pertains to committing the data migration operation.
返回顶部
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。 了解我们当前的更新.

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

Theme

© 2025 Red Hat