环境:AIX5.3+HDS9990 更换步骤:
1、 显示热插拔 PCI 插槽的编号、位置以及功能[root@:/] lsslot -c pci
# Slot Description Device(s)
U5791.001.99B00L8-P1-C06 PCI-X capable, 64 bit, 133MHz slot ent0
U5791.001.99B00L8-P1-C07 PCI-X capable, 64 bit, 133MHz slot Empty
U5791.001.99B00L8-P1-C08 PCI-X capable, 64 bit, 133MHz slot Empty
U5791.001.99B00L8-P1-C09 PCI-X capable, 64 bit, 133MHz slot Empty
U5791.001.99B00L8-P2-C01 PCI-X capable, 64 bit, 133MHz slot fcs0
U5791.001.99B00L8-P2-C02 PCI-X capable, 64 bit, 133MHz slot ent1
U5791.001.99B00L8-P2-C03 PCI-X capable, 64 bit, 133MHz slot Empty
U5791.001.99B00L8-P2-C04 PCI-X capable, 64 bit, 133MHz slot sa0
U5791.001.99B00L8-P2-C05 PCI-X capable, 64 bit, 133MHz slot fcs1
–查看系统日志
[root@:/] errpt |more
IDENTIFIER TIMESTAMP T C RESOURCE_NAME DESCRIPTION
B8FBD189 0307151608 T S fscsi0 SOFTWARE PROGRAM ERROR
A39F8A49 0307151608 T S syserrlg ERROR LOGGING BUFFER OVERFLOW
–查看设备状态
[root@:/] lsdev -Cc adapter|grep fcs
fcs0 Available 0E-08 FC Adapter
fcs1 Available 0J-08 FC Adapter
–查看path状态
dlnkmgr view -path|grep Offline
000002 08.0E.0000000000010900.0000 HITACHI .DF600F .8168 0000 1B Offline(E) Non
0 0 0 dlmfdrv0
000003 08.0E.0000000000010800.0000 HITACHI .DF600F .8168 0000 0B Offline(E) Own 16018444
7 13 0 dlmfdrv0
……
–删除设备
[root@:/] dlmhbadel fscsi0
KAPL10620-I The dlmHBAdel utility completed normally.
[root@:/] rmdev -dl fcs0 -R
#diag,选择Task Selection–>Hot Plug Task–>Hot Plug Manager–>PCI Plug Slot–
选择 Replace/Remove a PCI Hot Plug Adapter
Move cursor to desired item and press Enter. List PCI Hot Plug Slots
Add a PCI Hot Plug Adapter
Replace/Remove a PCI Hot Plug Adapter
Identify a PCI Hot Plug Slot
Unconfigure a Device
Configure a Defined Device
Install/Configure Devices Added After IPL
选择要卸载的设备名fsc0,回车确认后开始更换卡。
4、完成设备更换后运行cfgmgr重认设备[root@:/] cfgmgr -v
–确认设备已正确识别
[root@:/] lsdev -Cc adapter|grep fcs
fcs0 Available 0E-08 FC Adapter
fcs1 Available 0J-08 FC Adapter
#cfgmgr
–重认LUN
#dlmcfgmgr
#dlnkmgr view -path–确认path正常,即更换完毕。