5.81. GlusterVolume
此服务管理单个 gluster 卷。
| 名称 | 概述 |
|---|---|
|
| 获取 gluster 卷详情。 |
|
| 获取 gluster 卷配置文件统计。 |
|
| 重新平衡 gluster 卷。 |
|
| 删除 gluster 卷。 |
|
| 重置 gluster 卷中设置的所有选项。 |
|
| 重置 gluster 卷中的特定选项。 |
|
| 在 gluster 卷中设置特定的选项。 |
|
| 启动 gluster 卷。 |
|
| 开始对 gluster 卷进行性能分析。 |
|
| 停止 gluster 卷。 |
|
| 停止对 gluster 卷进行性能分析。 |
|
| 停止重新平衡 gluster 卷。 |
5.81.1. 获取 GET 复制链接链接已复制到粘贴板!
获取 gluster 卷详情。
例如,要获取集群 456 中标识符 123 的 gluster 卷的详情,请发送如下请求:
GET /ovirt-engine/api/clusters/456/glustervolumes/123
此 GET 请求将返回以下输出:
<gluster_volume id="123">
<name>data</name>
<link href="/ovirt-engine/api/clusters/456/glustervolumes/123/glusterbricks" rel="glusterbricks"/>
<disperse_count>0</disperse_count>
<options>
<option>
<name>storage.owner-gid</name>
<value>36</value>
</option>
<option>
<name>performance.io-cache</name>
<value>off</value>
</option>
<option>
<name>cluster.data-self-heal-algorithm</name>
<value>full</value>
</option>
</options>
<redundancy_count>0</redundancy_count>
<replica_count>3</replica_count>
<status>up</status>
<stripe_count>0</stripe_count>
<transport_types>
<transport_type>tcp</transport_type>
</transport_types>
<volume_type>replicate</volume_type>
</gluster_volume>
| 名称 | 类型 | 方向 | 概述 |
|---|---|---|---|
|
| Out | gluster 卷的表示。 |