./stor status [ { -t | --type } TYPE ]
此命令用来查看HBlock服务状态。
参数
| 参数 | 描述 |
|---|---|
| -t TYPE 或 --type TYPE | 查看指定服务的状态,TYPE取值:
未指定状态,则显示全部信息。 |
示例
单机版:查看HBlock服务状态。
[root@hblockserver CTYUN_HBlock_Plus_4.1.0_x64]# ./stor status
System:
status: Working, licenseStatus: None
Server:
status: 1 total, 1 connected, 0 disconnected, 0 removing
Disk:
usage: 19.95 GiB used, 93.29 GiB total
status: 1 total, 1 healthy, 0 warning, 0 error
LUN:
status: 5 total, 610 GiB (cache mode:1 total, 220 GiB; storage mode:0 total, 0 B; local mode:4 total, 390 GiB)
data: 100% normal, 0% degraded, 0% error集群版:查看HBlock服务状态。
[root@hblockserver CTYUN_HBlock_Plus_4.1.0_x64]# ./stor status
System:
status: Working, licenseStatus: None
Server:
status: 4 total, 4 connected, 0 disconnected, 0 removing
LUN:
status: 12 total, 1.85 TiB (cache mode:1 total, 210 GiB; storage mode:0 total, 0 B; local mode:11 total, 1.64 TiB)
data: 100% normal, 0% degraded, 0% error
Storage Pool:
number: 3
base pool: default-pool
fault domain of base pool:
level: server
status: 3 total, 3 healthy, 0 warning, 0 error
data health of base pool: 100% normal, 0% degraded, 0% error
disk of base pool:
usage: 37.73 GiB used, 278.57 GiB total
status: 3 total, 3 healthy, 0 warning, 0 error查看HBlock服务器状态。
[root@hblockserver CTYUN_HBlock_Plus_4.1.0_x64]# ./stor status -t server
Server:
status: 4 total, 4 connected, 0 disconnected, 0 removing| 项目 | 描述 |
|---|---|
| System | 系统状态,包括:
|
| Server | 服务器状态,包括:服务器个数、状态为连接的服务器个数、状态为断开连接的服务器个数、状态为正在移除的服务器个数。 |
| Disk | 磁盘状态(仅单机版支持),包括:
|
| LUN | 卷的状态,包括:
|
| Storage Pool | 存储池状态(仅集群版支持):
|