Home > NetApp, Storage > NetApp: “No FCP Target Adapters are present in this system.” when trying to perform FC configuration

NetApp: “No FCP Target Adapters are present in this system.” when trying to perform FC configuration

Problem description:

You have installed FC modules in your NetApp storage system and want to configure Fibre Channel for LUN provisioning, but the fcp command always responds with “No FCP Target Adapters are present in this system.”:

netapp01> fcp config
fcp: No FCP Target Adapters are present in this system.
netapp01> fcp status
fcp: No FCP Target Adapters are present in this system.
netapp01>

 
Altough the “storage show adapter” command correctly displays your FC Host Adapters:

netapp01> storage show adapter
 
Slot:            0a
Description:     Fibre Channel Host Adapter 0a (QLogic 2432 rev. 2)
Firmware Rev:    4.4.0
FC Node Name:    9:00a:098088:25dxyz
FC Packet Size:  2048
Link Data Rate:  4 Gbit
SRAM Parity:     Yes
External GBIC:   No
State:           Disabled
In Use:          No
Redundant:       Yes
 
Slot:            0b
Description:     Fibre Channel Host Adapter 0b (QLogic 2432 rev. 2)
Firmware Rev:    4.4.0
FC Node Name:    9:00a:098188:25dxyz
FC Packet Size:  2048
Link Data Rate:  4 Gbit
SRAM Parity:     Yes
External GBIC:   No
State:           Disabled
In Use:          No
Redundant:       Yes
 
Slot:            0c
Description:     SAS Host Adapter 0c (LSI Logic 1068E rev. B2)
Firmware Rev:    1.26.03.00
Base WWN:        a:060xyz:2000888:00
State:           Enabled
In Use:          Yes
Redundant:       No
Phy State:       [0] Enabled, 3.0Gb/s (9)
                 [1] Enabled, 3.0Gb/s (9)
                 [2] Enabled, 3.0Gb/s (9)
                 [3] Enabled, 3.0Gb/s (9)
Slot:            0e
Description:     IDE Host Adapter 0e
netapp01>

 
Cause:

Newly installed or already installed FC modules are always per default in the so called “initiator mode”:

netapp01> fcadmin config             
 
                  Local   
Adapter Type      State                  Status
---------------------------------------------------
  0a   initiator  CONFIGURED.            online
  0b   initiator  CONFIGURED.            online
 
netapp01>

 
If you want to provide LUNs via Fibre Channel, you have to switch to “target mode”.

 
Problem resolution:

You can change the mode of an adapter via the “fcadmin” command. In this example we will switch both adapters to “target mode”:

netapp01> fcadmin config             
 
                  Local   
Adapter Type      State                  Status
---------------------------------------------------
  0a   initiator  CONFIGURED.            online
  0b   initiator  CONFIGURED.            online
 
netapp01> fcadmin config -d 0a
Mon Sep 19 15:59:38 CEST [netapp01: fci.adapter.offlining:info]: Offlining Fibre Channel adapter 0a.
Mon Sep 19 15:59:38 CEST [netapp01: fci.adapter.offline:info]: Fibre Channel adapter 0a is now offline.
 
netapp01> fcadmin config -t target 0a
Mon Sep 19 15:59:54 CEST [netapp01: 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.
netapp01>
netapp01> fcadmin config -d 0b
Mon Sep 19 16:00:00 CEST [netapp01: fci.adapter.offlining:info]: Offlining Fibre Channel adapter 0b.
Mon Sep 19 16:00:01 CEST [netapp01: fci.adapter.offline:info]: Fibre Channel adapter 0b is now offline.
 
netapp01> fcadmin config -t target 0b
Mon Sep 19 16:00:40 CEST [netapp01: 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.
netapp01>
netapp01> fcadmin config             
 
                  Local   
Adapter Type      State                  Status
---------------------------------------------------
  0a   initiator  PENDING (target)       offline
  0b   initiator  PENDING (target)       offline
 
netapp01>

 
In order to complete the configuration, you will have to reboot. After a reboot adapters will be in target mode and you will be able to configure Fibre Channel for storing your servers data.

Categories: NetApp, Storage Tags:
  1. No comments yet.
  1. No trackbacks yet.

Connect with Facebook