免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3836 | 回复: 5
打印 上一主题 下一主题

rx7420,如何查看HBA卡是否正常? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-03-26 14:00 |只看该作者 |倒序浏览
rx7420,如何查看HBA卡是否正常?现在是rx7420 通过HBA卡连接到光纤交换机上模块的灯不亮,我想在系统里看看HBA是否正常,应该用什么命令?谢谢!

论坛徽章:
0
2 [报告]
发表于 2009-03-26 14:18 |只看该作者
看看主机HBA卡和交换机的接口是否有亮光。

论坛徽章:
0
3 [报告]
发表于 2009-03-26 17:22 |只看该作者
在遇到你之前,我对人世间是否有真正的圣人是怀疑的;而现在,我终于相信了!我曾经忘情于两汉的歌赋,我曾经

惊讶于李杜的诗才,我曾经流连于宋7k7k的词曲。但

现在,我才知道我有多么浅薄!
楼主,你的高尚情操太让人感动了。在现在这样一个物欲横流的金钱社会里,竟然还能见到楼主这样的性情中人

,无疑是我这辈子最大的幸运。让我深深感受到了人性的伟大。楼主的帖子,就好比黑暗中刺裂夜空的闪电,又

好比撕开乌云的阳光,一瞬间就让我如饮甘露,让我明白了永恒的真理在这个世界上是真实存在着的。只有楼主

这样具备广阔胸怀和完整知识体系的人,才能作为这真理的惟一引言者。看了楼主的帖子,
我几日不耍Q版泡泡堂小游戏,我

陷入了严肃的思考中。我认为,如果不把楼主的帖子顶上去,就是对真理的一种背叛,就是对谬论的极大妥协。

因此,我决定义无返顾地顶了!

论坛徽章:
0
4 [报告]
发表于 2009-03-26 18:11 |只看该作者
ioscan  --fnCfc看状态
fcmsutil看链路
后者直接拔掉光纤看光信号

论坛徽章:
0
5 [报告]
发表于 2009-03-26 21:44 |只看该作者
[root@-a/:] # ioscan -fnCfc

Class     I  H/W Path   Driver S/W State   H/W Type     Description
==================================================================
fc        0  1/0/2/1/0  td   CLAIMED     INTERFACE    HP Tachyon XL2 Fibre Channel Mass Storage Adapter
                       /dev/td0
fc        1  1/0/4/1/0  td   CLAIMED     INTERFACE    HP Tachyon XL2 Fibre Channel Mass Storage Adapter
                       /dev/td1
[root@-a/:] #
[root@-a/:] # fcmsutil /dev/td0 stat |grep -i bad
Loss of signal                     3     Bad Rx Char                     2295
Bad CRC                            0     Protocol Error                     0
Bad Unassisted FCP frame                                    0
Bad S_ID in Unassisted FCP frame                            0
ASN failed due to bad link quality                          0

[root@-a/:] # fcmsutil /dev/td1 stat |grep -i bad
Loss of signal                  5064     Bad Rx Char               1030988460
Bad CRC                            0     Protocol Error                     0
Bad Unassisted FCP frame                                    0
Bad S_ID in Unassisted FCP frame                            0
ASN failed due to bad link quality                    3365671
[root@-a/:] # fcmsutil /dev/td0 stat |grep -i error
Bad CRC                            0     Protocol Error                     0
Error Idle Interrupts                                       1
Credit Errors                                               0
Version_Hi Error in FLOGI Resps                             0
Version_Lo Error in FLOGI Resps                             0
FLOGI Retries skipped due to Parse Errors                   0
Elastic Store Error Storm                                   3
PCI Error Interrupt Statistics ...
I/O Error Statistics ...
[root@-a/:] # fcmsutil /dev/td1 stat|grep -i error
Bad CRC                            0     Protocol Error                     0
Error Idle Interrupts                                       1
Credit Errors                                               0
Version_Hi Error in FLOGI Resps                             0
Version_Lo Error in FLOGI Resps                             0
FLOGI Retries skipped due to Parse Errors                   0
Elastic Store Error Storm                                   3
PCI Error Interrupt Statistics ...
I/O Error Statistics ...
[root@-a/:] # fcmsutil /dev/td0 stat -s
Thu Mar 26 16:16:33 2009
Channel Statistics

Statistics From Link Status Registers ...
Loss of signal                     3     Bad Rx Char                     2295
Loss of Sync                      11     Link Fail                          4
Received EOFa                      0     Discarded Frame                    0
Bad CRC                            0     Protocol Error                     0

[root@-a/:] # fcmsutil /dev/td1 stat -s
Thu Mar 26 16:16:42 2009
Channel Statistics

Statistics From Link Status Registers ...
Loss of signal                  5064     Bad Rx Char               1031003505
Loss of Sync                  678762     Link Fail                       7728
Received EOFa                      0     Discarded Frame                    0
Bad CRC                            0     Protocol Error                     0

[root@-a/:] # fcmsutil /dev/td0 vpd
                V I T A L   P R O D U C T   D A T A         
                ---------   -------------   -------         

Product Discription    :\'A6795A 2Gbps/1Gbps Fibre Channel 4X PCI HBA\'

Part number            :\'A6795-62002\'

Engineering Date Code  :\'B-4434\'

Part Serial number     :\'A56A00260485\'

Misc. Information      :\'PW=15W\'

Mfd. Date              :\'A-4448\'

Check Sum              : 0x47

EFI version            : \'001.10\'

Asset Tag              :\'NA\'

[root@-a/:] # fcmsutil /dev/td1 vpd
                V I T A L   P R O D U C T   D A T A         
                ---------   -------------   -------         

Product Discription    :\'A6795A 2Gbps/1Gbps Fibre Channel 4X PCI HBA\'

Part number            :\'A6795-62002\'

Engineering Date Code  :\'B-4434\'

Part Serial number     :\'A56A00266368\'

Misc. Information      :\'PW=15W\'

Mfd. Date              :\'A-4450\'

Check Sum              : 0x48

EFI version            : \'001.10\'

Asset Tag              :\'NA\'

请问我的HBA是不是有问题?

论坛徽章:
1
2015年迎新春徽章
日期:2015-03-04 09:50:28
6 [报告]
发表于 2009-03-29 11:14 |只看该作者
fc1有问题,畸形的包太多了
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP