查询控制卡坏块列表

命令功能

查询控制卡下的硬盘坏块列表信息。

命令格式

hiraidadm ccontroller_id show bst

参数说明

参数

参数说明

取值

controller_id

控制卡的ID。

查询控制卡ID请参见查询控制卡列表

使用指南

回显中主要字段的含义如表1所示。
表1 回显说明

命令格式

字段

含义

举例

hiraidadm ccontroller_id show bst

Index

坏盘序号。

0

Did

硬盘的ID。

4

Start Lba

起始LBA地址。

0

Lba_len

LBA数量。

2048

Type

逻辑类型或者物理类型。

Physical

使用实例

查询硬盘坏块列表信息。
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
[root@localhost ~]# hiraidadm c0 show bst
=========================================== Hiraidadm Information ============================================
    Name: hiraidadm
    Version: 1.2.0.2
    Build Time: Nov 15 2022 22:07:55
==============================================================================================================
==============================================================================================================
    Status Code = 0
    Status = Success
    Description = None
==============================================================================================================
Total diskbst number is 2
--------------------------------------------------------------------------------------------------------------
Index  Did  Start_lba  lba_len  Type       Index  Did  Start_lba  lba_len  Type
--------------------------------------------------------------------------------------------------------------
0      4    0          2048     Physical | 1      4    4096       6144     Physical |
--------------------------------------------------------------------------------------------------------------