AIX change device form diagnose state to defined

Posted by kairo on Fri 03 April 2009

Looking my adapters I found fcs0 in diagnose state

# lsdev -Cc adapter ent0    Available 21-08    IBM 10/100 Mbps Ethernet PCI Adapter (23100020) ent1    Available 1A-08    10/100 Mbps Ethernet PCI Adapter II (1410ff01) ent2    Available 14-08    Gigabit Ethernet-SX PCI Adapter (14100401) ent3    Available 37-08    10/100 Mbps Ethernet PCI Adapter II (1410ff01) ent4    Available 27-08    Gigabit Ethernet-SX PCI Adapter (14100401) ent5    Available 3A-08    Gigabit Ethernet-SX PCI Adapter (14100401) fcs0    Diagnose  2A-08    FC Adapter fda0    Available 01-D1    Standard I/O Diskette Adapter mg20    Available 2D-08    GXT130P Graphics Adapter ppa0    Available 01-R1    CHRP IEEE1284 (ECP) Parallel Port Adapter sa0     Available 01-S1    Standard I/O Serial Port sa1     Available 01-S2    Standard I/O Serial Port sa2     Available 01-S3    Standard I/O Serial Port sa3     Available 01-S4    Standard I/O Serial Port scsi0   Available 11-08    Wide/Ultra-2 SCSI I/O Controller scsi1   Available 11-09    Wide/Ultra-2 SCSI I/O Controller scsi2   Available 17-08    Wide/Fast-20 SCSI I/O Controller sioka0  Available 01-K1-00 Keyboard Adapter siokma0 Available 01-K1    Keyboard/Mouse Adapter sioma0  Available 01-K1-01 Mouse Adapter

# lsdev -C | grep fsc0 fcs0    Diagnose  2A-08    FC Adapter

Run the ucfgdiag to change this state

# /etc/methods/ucfgdiag -l fcs0

Looking devices
# lsdev -Cc adapter ent0    Available 21-08    IBM 10/100 Mbps Ethernet PCI Adapter (23100020) ent1    Available 1A-08    10/100 Mbps Ethernet PCI Adapter II (1410ff01) ent2    Available 14-08    Gigabit Ethernet-SX PCI Adapter (14100401) ent3    Available 37-08    10/100 Mbps Ethernet PCI Adapter II (1410ff01) ent4    Available 27-08    Gigabit Ethernet-SX PCI Adapter (14100401) ent5    Available 3A-08    Gigabit Ethernet-SX PCI Adapter (14100401) fcs0    Defined   2A-08    FC Adapter fda0    Available 01-D1    Standard I/O Diskette Adapter mg20    Available 2D-08    GXT130P Graphics Adapter ppa0    Available 01-R1    CHRP IEEE1284 (ECP) Parallel Port Adapter sa0     Available 01-S1    Standard I/O Serial Port sa1     Available 01-S2    Standard I/O Serial Port sa2     Available 01-S3    Standard I/O Serial Port sa3     Available 01-S4    Standard I/O Serial Port scsi0   Available 11-08    Wide/Ultra-2 SCSI I/O Controller scsi1   Available 11-09    Wide/Ultra-2 SCSI I/O Controller scsi2   Available 17-08    Wide/Fast-20 SCSI I/O Controller sioka0  Available 01-K1-00 Keyboard Adapter siokma0 Available 01-K1    Keyboard/Mouse Adapter sioma0  Available 01-K1-01 Mouse Adapter

# lsdev -C | grep fsc0 fcs0    Defined   2A-08    FC Adapter

Now, I can remove device and your childs for new discover.

ATENTION: This command remove all child and device

# rmdev -dl fcs0 -R fcnet0 deleted fscsi0 deleted fcs0 deleted

For new discover run cfgmgr

# cfgmgr -v


Comments !