查询硬盘端误码

命令功能

查询指定硬盘端误码。

命令格式

hiraidadm ccontroller_id:eenclosure_id:sslot_id show driveerror

参数说明

参数

参数说明

取值

controller_id

控制卡的ID。

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

enclosure_id

硬盘所在框位的ID。

查询硬盘所在框位ID请参见查询控制卡硬盘列表

slot_id

硬盘所在槽位的ID。

查询硬盘所在槽位ID请参见查询控制卡硬盘列表

使用指南

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

字段

含义

R_ERRP response for Data FIS

错误响应数据FIS。

R_ERRP response for Device-to-Host Data FIS

错误响应设备到主机数据FIS。

R_ERRP response for Host-to-Device Data FI

错误响应主机到设备数据FIS。

R_ERRP response for non-Data FIS

错误响应非数据FIS。

R_ERRP response for Device-to-Host non-Data FIS

错误响应设备到主机非数据FIS。

R_ERRP response for Host-to-Device non-Data FIS

错误响应主机到设备非数据FIS。

Device-to-Host non-Data FIS retries

设备到主机非数据FIS重试。

Transitions from drive PHYRDY to drive PHYRDYn

从驱动器PHYRDY到驱动器PHYRDYn的转换。

Register Device to Host FISes sent due to a COMRESET

由于COMRESET而发送的注册设备到主机FIS。

CRC errors within a host-to-device FIS

主机到设备FIS中的CRC错误。

Non-CRC errors within a host-to-device FIS

非CRC错误的主机到设备FIS。

R_ERRP response for Host-to-Device Data FIS due to CRC errors

由于CRC错误导致错误响应主机到设备数据FIS。

R_ERRP response for Host-to-Device Data FIS due to non-CRC errors

由于非CRC错误导致错误响应主机到设备数据FIS。

R_ERRP response for Host-to-Device non-Data FIS due to CRC errors

由于CRC错误导致错误响应主机到设备非数据FIS。

R_ERRP response for Host-to-Device non-Data FIS due to non-CRC

由于非CRC导致错误响应主机到设备非数据FIS。

使用实例

查询硬盘端误码。
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
[root@localhost ~]# hiraidadm c0:e0:s0 show driveerror
========================================== Hiraidadm   Information ===========================================
    Name: hiraidadm
    Version: 1.2.0.2
    Build Time: Nov 15 2022 22:07:55
==============================================================================================================
==============================================================================================================
    Status Code = 0
    Status = Success
    Description = None
==============================================================================================================
--------------------------------------------------------------------------------------------------------------
Device Present                                                    | Yes
Drive Type                                                        | SATA
Link Speed                                                        | 6.0Gb/s
Command failed and ICRC error bit set to one in Error register    | 0
R_ERRP response for Data FIS                                      | 0
R_ERRP response for Device-to-Host Data FIS                       | 0
R_ERRP response for Host-to-Device Data FIS                       | 0
R_ERRP response for non-Data FIS                                  | 0
R_ERRP response for Device-to-Host non-Data FIS                   | 0
R_ERRP response for Host-to-Device non-Data FIS                   | 0
Device-to-Host non-Data FIS retries                               | 0
Transitions from drive PHYRDY to drive PHYRDYn                    | 7
Register Device to Host FISes sent due to a COMRESET              | 7
CRC errors within a host-to-device FIS                            | 0
Non-CRC errors within a host-to-device FIS                        | 0
R_ERRP response for Host-to-Device Data FIS due to CRC errors     | NA
R_ERRP response for Host-to-Device Data FIS due to non-CRC errors | NA
R_ERRP response for Host-to-Device non-Data FIS due to CRC errors | NA
R_ERRP response for Host-to-Device non-Data FIS due to non-CRC    | NA
--------------------------------------------------------------------------------------------------------------