首页 > 编程知识 正文

查看hba卡wwn号,sas3ircu命令

时间:2023-05-06 19:18:51 阅读:168194 作者:3075

系统环境: Centos系统

服务器必须链接到外部存储器并通过光纤连接。 在获取接口时需要确认hba卡的型号。 命令如下所示。

[ root @ localhost~] # lspci|grep-I fibre

8:00.0光纤通道: qlogic corp.ISP 2532-based8gbfibrechanneltopciexpresshba (rev 02 ) ) ) ) ) ) ) ) )。

8:00.1光纤通道: qlogic corp.ISP 2532-based8gbfibrechanneltopciexpresshba (rev 02 ) ) ) ) ) ) ) )。

[ root @ localhost~] # CD/sys/class/fc _ host /

[root@localhost fc_host]# ll

总使用量0

lrwxrwxrwx. 1 root root 0 12月11日14:57 host6--/devices/PCI 0000336080/000336080336000.0/0000336080336003.0

lrwxrwxrwx. 1 root root 0 12月11日14:57 host7---/devices/PCI 00000336080336000.1/0000336080:00.0

[ root @ localhost fc _ host ] # ls/sys/class/fc _ host /

host6 host7

[ root @ localhost fc _ host ] # cat/sys/class/fc _ host/host6/port _ name

0x21000024ff8fa016

[ root @ localhost fc _ host ] # cat/sys/class/fc _ host/host7/port _ name

0x21000024ff8fa017

上面粗的部分是HBA卡型号。

版权声明:该文观点仅代表作者本人。处理文章:请发送邮件至 三1五14八八95#扣扣.com 举报,一经查实,本站将立刻删除。