root@vio # lsdev -C | grep sfwcomm
sfwcomm0 Available 02-00-02-FF Fibre Channel Storage Framework Comm
sfwcomm1 Defined 02-01-02-FF Fibre Channel Storage Framework Comm
sfwcomm2 Available 00-00-02-FF Fibre Channel Storage Framework Comm
sfwcomm3 Available 00-01-02-FF Fibre Channel Storage Framework Comm
...
问:我们如何才能将其再次变为“可用”?如何调试问题?
root@vio # fcstat fcs1
Error opening device: /dev/fscsi1
root@vio # lsattr -El fscsi1
attach switch How this adapter is CONNECTED False
dyntrk yes Dynamic Tracking of FC Devices True+
fc_err_recov fast_fail FC Fabric Event Error RECOVERY Policy True+
scsi_id 0x7e1400 Adapter SCSI ID False
sw_fc_class 3 FC Class for Fabric True
root@vio #
根据“lsmap -all -npiv”,两个 LPAR 因此未登录到 SAN Fabric,仅存在冗余问题。
答案1
root@vio # fcstat fcs1 打开设备时出错:/dev/fscsi1
-->> 事实证明电缆坏了。所以硬件问题。