./stor info [ { -i | --stor-id } | { -n | --stor-name } | { -u | --user-name } | { -S | --serial-id } | { -T | --trial } ]
此命令用来查看HBlock相关信息。
参数
参数 描述 -i 或 --stor-id 查看HBlock的ID。 -n 或 --stor-name 查看HBlock的名称。 -u 或 --user-name 查看HBlock的管理员用户名。 -S 或 --serial-id 查看HBlock的序列号。
获取License时需要此序列号进行申请。
-T 或 --trial 查看HBlock试用期信息。
示例
示例1
单机版:查看HBlock的信息。
[root@hblockserver CTYUN_HBlock_Plus_3.7.0_x64]# ./stor info
HBlock ID: B914B0E1-CF85-4954-8547-4902AE2B8B44
HBlock name: stor
HBlock serial ID: B914B0E1-CF85-4954-8547-4902AE2B8B44-0201-030500
User name: storuser
Setup date: 2024-01-24
You are using a 30-day trial version, the expiration date is 2024-04-23. After it expires, the management function will not be able to use. Please contact your software vendor to get a license.
集群版:查看HBlock的信息。
[root@hblockserver CTYUN_HBlock_Plus_3.7.0_x64]# ./stor info
HBlock ID: 89F43ADB-73BC-4D4F-A0BD-03F0D14ABB81
HBlock name: stor1
HBlock serial ID: 89F43ADB-73BC-4D4F-A0BD-03F0D14ABB81-0202-030700
User name: storuser
Base Pool: default
Fault domain of base pool: server
Setup date: 2024-06-19
You are using a 30-day trial version, the expiration date is 2024-09-17. After it expires, the management function will not be able to use. Please contact your software vendor to get a license.
HBlock信息描述 参数 描述 HBlock ID HBlock的ID。 HBlock name HBlock的名字。 HBlock serial ID HBlock的序列号。 User name HBlock的管理员用户名。 Base Pool 基础存储池(仅集群版)。 Fault domain of base pool 基础存储池的故障域类型(仅集群版):
path:数据目录级别。
server:服务器级别。
rack:机架级别。
room:机房级别。
Setup date HBlock初始化的时间。
示例2
查看HBlock的ID。
[root@hblockserver CTYUN_HBlock_Plus_3.7.0_x64]# ./stor info --stor-id
HBlock ID: CECD1458-7405-4825-BF6A-75C04F1114ED
查看HBlock的名称。
[root@hblockserver CTYUN_HBlock_Plus_3.7.0_x64]# ./stor info --stor-name
HBlock name: test
查看HBlock的管理员用户名。
[root@hblockserver CTYUN_HBlock_Plus_3.7.0_x64]# ./stor info --user-name
User name: storuser
查看HBlock的序列号。
[root@hblockserver CTYUN_HBlock_Plus_3.7.0_x64]# ./stor info --serial-id
HBlock serial ID: CECD1458-7405-4825-BF6A-75C04F1114ED-00000003-00000001-00000015
查看HBlock试用期信息(已导入license)。
[root@hblockserver CTYUN_HBlock_Plus_3.7.0_x64]# ./stor info --trial
It is not trial version. You can run "stor license ls" to view the license information
查看HBlock试用期信息(未导入license)。
[root@hblockserver CTYUN_HBlock_Plus_3.7.0_x64]# ./stor info --trial
You are using a 30-day trial version, the expiration date is 2024-08-06. After it expires, the management function will not be able to use. Please contact your software vendor to get a license.