./stor status [ { -t | --type } TYPE ]
此命令用来查看HBlock服务状态。
参数
| 参数 | 描述 |
|---|---|
| -t TYPE 或 --type TYPE | 查看指定服务的状态,TYPE取值:
未指定状态,则显示全部信息。 |
示例
单机版:查看HBlock服务状态。
[root@hblockserver CTYUN_HBlock_Plus_4.0.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_4.0.0_x64]# ./stor status
System:
status: Working, licenseStatus: Effective
Server:
status: 3 total, 3 connected, 0 disconnected, 0 removing
LUN:
status: 10 total, 1.18 TiB (cache mode:1 total, 210 GiB; storage mode:3 total, 312 GiB; local mode:6 total, 691 GiB)
data: 100% normal, 0% low redundancy, 0% error
Storage Pool:
number: 2
base pool: default
fault domain of base pool:
level: server
status: 3 total, 3 healthy, 0 warning, 0 error
data health of base pool: 100% normal, 0% low redundancy, 0% error
disk of base pool:
usage: 1.83 GiB used, 278.57 GiB total
status: 3 total, 3 healthy, 0 warning, 0 error查看HBlock服务器状态。
[root@hblockserver CTYUN_HBlock_Plus_4.0.0_x64]# ./stor status -t server
Server:
status: 3 total, 2 connected, 1 disconnected, 0 removing| 项目 | 描述 |
|---|---|
| System | 系统状态,包括:
|
| Server | 服务器状态,包括:服务器个数、状态为连接的服务器个数、状态为断开连接的服务器个数、状态为正在移除的服务器个数。 |
| Disk | 磁盘状态(仅单机版支持),包括:
|
| LUN | 卷的状态,包括:
|
| Storage Pool | 存储池状态(仅集群版支持):
|