Solaris fibre channel management

http://prefetch.net/blog/index.php/2007/05/09/solaris-fibre-channel-management/

Solaris fibre channel management

With the introduction of Solaris 10, storage management has changed considerably. The storage foundation kit is now integrated into the base OS, the leadville driver has been expanded to include HBAs from Emulex, JNI and Qlogic, and the fcinfo utility as well as several mdb DCMDS were added to view fibre channel connectivity information. fcinfo is especially useful, since it provides a tool with the base Operating System to view HBA and connectivity information.

The fcinfo utility has two main options. The first option, “hba-port,” will display HBA port speeds, WWPNs, the HBA manufacturer, and the state of the HBA:

$ fcinfo hba-port

HBA Port WWN: 10000000c9327592
OS Device Name: /dev/cfg/c2
Manufacturer: Emulex
Model: LP9002L
Type: N-port
State: online
Supported Speeds: 1Gb 2Gb
Current Speed: 2Gb
Node WWN: 20000000c9327592

HBA Port WWN: 10000000c9327593
OS Device Name: /dev/cfg/c3
Manufacturer: Emulex
Model: LP9002L
Type: N-port
State: online
Supported Speeds: 1Gb 2Gb
Current Speed: 2Gb
Node WWN: 20000000c9327593

If the “-l” option is specified, fcinfo will also print link statistics (e.g., link failure, signal loss, etc.):

$ fcinfo hba-port -l

HBA Port WWN: 10000000c9327592
OS Device Name: /dev/cfg/c2
Manufacturer: Emulex
Model: LP9002L
Type: N-port
State: online
Supported Speeds: 1Gb 2Gb
Current Speed: 2Gb
Node WWN: 20000000c9327592
Link Error Statistics:
Link Failure Count: 0
Loss of Sync Count: 5
Loss of Signal Count: 0
Primitive Seq Protocol Error Count: 0
Invalid Tx Word Count: 0
Invalid CRC Count: 0

HBA Port WWN: 10000000c9327593
OS Device Name: /dev/cfg/c3
Manufacturer: Emulex
Model: LP9002L
Type: N-port
State: online
Supported Speeds: 1Gb 2Gb
Current Speed: 2Gb
Node WWN: 20000000c9327593
Link Error Statistics:
Link Failure Count: 0
Loss of Sync Count: 5
Loss of Signal Count: 0
Primitive Seq Protocol Error Count: 0
Invalid Tx Word Count: 0
Invalid CRC Count: 0

The second fcinfo option is “remote-port,” which will display information on remote targets. This information includes the storage manufacturer, the storage product type, WWPNs, and all of the SCSI targets that have been presented to the host:

$ fcinfo remote-port -slp 10000000c9327592

Remote Port WWN: 50060160082006e2
Active FC4 Types: SCSI
SCSI Target: yes
Node WWN: 50060160882006e2
Link Error Statistics:
Link Failure Count: 0
Loss of Sync Count: 0
Loss of Signal Count: 0
Primitive Seq Protocol Error Count: 0
Invalid Tx Word Count: 255
Invalid CRC Count: 0
LUN: 0
Vendor: DGC
Product: RAID 5
OS Device Name: /dev/rdsk/c4t6006016061B71000AD0810C9979CD911d0s2
LUN: 1
Vendor: DGC
Product: RAID 5
OS Device Name: /dev/rdsk/c4t6006016061B7100055B12704989CD911d0s2
Remote Port WWN: 50060168082006e2
Active FC4 Types: SCSI
SCSI Target: yes
Node WWN: 50060160882006e2
Link Error Statistics:
Link Failure Count: 0
Loss of Sync Count: 0
Loss of Signal Count: 0
Primitive Seq Protocol Error Count: 0
Invalid Tx Word Count: 255
Invalid CRC Count: 0
LUN: 0
Vendor: DGC
Product: RAID 5
OS Device Name: /dev/rdsk/c4t6006016061B71000AD0810C9979CD911d0s2
LUN: 1
Vendor: DGC
Product: RAID 5
OS Device Name: /dev/rdsk/c4t6006016061B7100055B12704989CD911d0s2

These changes should make managing storage on Solaris a bit easier.


来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/228190/viewspace-660298/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/228190/viewspace-660298/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值