Originally posted by: cd3lgado
Hi
First please be sure that your HBA is wrong. Sometimes fiber wire is the cause of problems. Assure correct microcode levels are installed for this particular HBA.
If you have to change the HBA online then you have to identify the HBA to the SDD subsystem with:
datapath query adapter
>datapath query adapter
Active Adapters :1
Adpt# Name State Mode Select Errors Paths Active
0 fscsi0 NORMAL ACTIVE 1264144 0 16 16
1 fscsi1 NORMAL ACTIVE 1264144 0 16 16
Then identify the devices and paths related with:
datapath query device| more
Total Devices : 8
DEV#: 0 DEVICE NAME: vpath0 TYPE: 2145 POLICY: Optimized
SERIAL: 600507680182010CC800000000000006
==========================================================================
Path# Adapter/Hard Disk State Mode Select Errors
0 fscsi0/hdisk2 OPEN NORMAL 915276 0
1 fscsi0/hdisk10 OPEN NORMAL 0 0
DEV#: 1 DEVICE NAME: vpath1 TYPE: 2145 POLICY: Optimized
SERIAL: 600507680182010CC80000000000000A
==========================================================================
Path# Adapter/Hard Disk State Mode Select Errors
0 fscsi0/hdisk3 OPEN NORMAL 0 0
1 fscsi0/hdisk11 OPEN NORMAL 49331 0
let's say your adapter 0 is the one you want to remove, then using the following command:
datapath remove adapter 0
will close and remove adapter 0 as well as all devices related.
Then you can use the following smitty fastpath:
smitty "devdrpci"
to replace/remove a PCI Hot/Plug device.
Once the adapter has been replaced you can run cfgmgr -v in order to configure this one. Check if the hba is available:
lsdev -Cc adapter
and then, you have to query the HBA's WWPN in order to modify the SAN Zone (if exists)
lscfg -vp -l fcs0
Once your SAN zone is modified you have to run cfgmgr once again and review the output of
datapath query device
Hope this helps
#AIX-Forum