AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
 View Only
Expand all | Collapse all

HBA controller information.

  • 1.  HBA controller information.

    Posted Fri September 18, 2009 06:35 AM

    Originally posted by: SystemAdmin


    Hi All,
    Can anybody say what is the command to get:
    HBA controller information
    HBA Port WWN information
    Target information
    Channel information
    #AIX-Forum


  • 2.  Re: HBA controller information.

    Posted Fri September 18, 2009 06:53 AM

    Originally posted by: Gosse


    lscfg -vl fcsX
    #AIX-Forum


  • 3.  Re: HBA controller information.

    Posted Fri September 18, 2009 07:24 AM

    Originally posted by: jvk


    all info is in the ODM. Cu* files...

    If you run 'snap -g' and move to the /tmp/ibmsupt/general dir and run 'grep -p hdisk50 Cu*' there, you'll get a lot of info.
    ..and then you can write a script to display for each hdisk something like this (format of output is broken in this forum):

    hdisk# path status fscsi ww_name ,LUN_id scsi_id node_name
    hdisk50 path0 1 fscsi0 50060e8005465720,19000000000000 0xe38300 0x50060e8005465720
    hdisk50 path1 1 fscsi0 50060e8005465730,19000000000000 0xe39400 0x50060e8005465730
    hdisk50 path2 1 fscsi1 50060e8005465724,19000000000000 0xe38300 0x50060e8005465724
    hdisk50 path3 1 fscsi1 50060e8005465734,19000000000000 0xe39400 0x50060e8005465734

    where ww_name is from storage port
    scsi_id is a Remote N_Port id of switch port where storage port is connected to
    ww_name of fscsi device is seen with the 'lscfg -vl fcs1 | grep Network' command
    scsi_id of fscsi device is seen with the 'lsattr -El fscsi1 | grep scsi_id'

    Above is for MPIO. For some traditional multipahting SW (SDD, PowerPath etc.) I believe that such a SW itself contains cmds to get similar info.
    #AIX-Forum


  • 4.  Re: HBA controller information.

    Posted Fri September 18, 2009 07:28 AM

    Originally posted by: ostost


    fcstat fcsx
    #AIX-Forum