Netapp FCP配置
headb> fcp start
fcp: No FCP Target Adapters are present in this system.
headb> fcp config
fcp: No FCP Target Adapters are present in this system.
以上错误说明fcmode不正确,要用target模式,使用下列方法修改
headb> fcadmin config
                  Local  
Adapter Type      State                  Status
---------------------------------------------------
  0a   initiator  CONFIGURED.            offline
  0b   initiator  CONFIGURED.            Offline
 
headb> fcadmin config -d 0a
Mon Sep 19 15:59:38 CEST [headb: fci.adapter.offlining:info]: Offlining Fibre Channel adapter 0a.
Mon Sep 19 15:59:38 CEST [headb: fci.adapter.offline:info]: Fibre Channel adapter 0a is now offline.
 
headb> fcadmin config -t target 0a
Mon Sep 19 15:59:54 CEST [headb: fci.config.state:info]: Fibre channel initiator adapter 0a is in the PENDING (target) state.
A reboot is required for the new adapter configuration to take effect.
headb>
headb> fcadmin config -d 0b
Mon Sep 19 16:00:00 CEST [headb: fci.adapter.offlining:info]: Offlining Fibre Channel adapter 0b.
Mon Sep 19 16:00:01 CEST [headb: fci.adapter.offline:info]: Fibre Channel adapter 0b is now offline.
 
headb> fcadmin config -t target 0b
Mon Sep 19 16:00:40 CEST [headb: fci.config.state:info]: Fibre channel initiator adapter 0b is in the PENDING (target) state.
A reboot is required for the new adapter configuration to take effect.
headb> fcadmin config            
 
                  Local  
Adapter Type      State                  Status
---------------------------------------------------
  0a   initiator  PENDING (target)       offline
  0b   initiator  PENDING (target)       offline
 
headb>rebbot
headb>fcp start
headb> fcadmin config
 
                  Local  
Adapter Type      State                  Status
---------------------------------------------------
  0a   target     CONFIGURED             online
  0b   target     CONFIGURED             online
headb> fcp status
FCP service is running.