Tuesday, 19 March 2013

Helpful SAN LUN Disk AIX Commands


When adding LUN’s to AIX, the below commands can be helpful to add SAN disks.  These commands will help add the disks and also assist in identifying an issue as to why the server may not see the newly create SAN disks.

Get WWN, Model, Part Number, etc. From HBA

lscfg -vp -l fcs0

Rescan all AIX devices after LUN Assignment
cfgmgr

Identify Fiber Channel Adapters

lsdev -Cc adapter | grep fcs

Get Fiber Card Status

fcstat fcs0

Check if HBA port is up or down

fcstat -D fcs0 | grep Attention

See All Local and SAN Disks on System

lsdev -Cc disk



No comments:

Post a Comment