查看HBlock服务状态
更新时间 2026-01-27 10:54:59
最近更新时间: 2026-01-27 10:54:59
本节主要介绍查看HBlock服务状态命令。
./stor status [ { -t | --type } TYPE ]
此命令用来查看HBlock服务状态。
参数
| 参数 | 描述 |
|---|---|
| -t TYPE 或 --type TYPE | 查看指定服务的状态,TYPE取值:
未指定状态,则显示全部信息。 |
示例
单机版:查看HBlock服务状态。
[root@hblockserver CTYUN_HBlock_Plus_3.7.0_x64]# ./stor status
System:
status: Working, licenseStatus: Effective
Server:
status: 1 total, 1 connected, 0 disconnected, 0 removing
Disk:
usage: 60.15 MiB used, 93.29 GiB total
status: 1 total, 1 healthy, 0 warning, 0 error
LUN:
status: 3 total, 230 GiB (cache mode:0 total, 0 B; storage mode:1 total, 110 GiB; local mode:2 total, 120 GiB)
data: 100% normal, 0% low redundancy, 0% error集群版:查看HBlock服务状态。
[root@hblockserver CTYUN_HBlock_Plus_3.7.0_x64]# ./stor status
System:
status: Working, licenseStatus: None
Server:
status: 3 total, 3 connected, 0 disconnected, 0 removing
LUN:
status: 7 total, 1.17 TiB (cache mode:2 total, 450 GiB; storage mode:1 total, 200 GiB; local mode:4 total, 550 GiB)
data: 3% normal, 97% low redundancy, 0% error
Storage Pool:
number: 3
base pool: default
fault domain of base pool:
level: server
status: 1 total, 1 healthy, 0 warning, 0 error
disk of base pool:
usage: 20.81 GiB used, 126.78 GiB total
status: 2 total, 2 healthy, 0 warning, 0 error查看HBlock服务器状态。
[root@hblockserver CTYUN_HBlock_Plus_3.7.0_x64]# ./stor status -t server
Server:
status: 3 total, 2 connected, 1 disconnected, 0 removing| 项目 | 描述 |
|---|---|
| System | 系统状态,包括:
|
| Server | 服务器状态,包括:服务器个数、状态为连接的服务器个数、状态为断开连接的服务器个数、状态为正在移除的服务器个数。 |
| Disk | 磁盘状态(仅单机版支持),包括:
|
| LUN | 卷的状态,包括:
|
| Storage Pool | 存储池状态(仅集群版支持):
|