AIX

AIX

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


#Operatingsystems
#Servers
#AIX
#AIX
#AIX
#AIX
#AppPerformanceManagement
#Power
 View Only
  • 1.  AIX Fibre Channel LUN to hdisk howto

    Posted Wed May 14, 2014 10:04 PM

    Originally posted by: zoran


    I  have a PS700 blade with VIOS 2.2 and want to use storage LUNS from a fibre channel ubuntu SAN I'm building.

    Is there a Fibre Channel howto somewhere? Not interested in Multipath at the moment.

    At the moment I have the QLogic 4Gb fibre CIOv adapter in the PS700 Power7 blade. I found out later, the 4Gb Qlogic CIOv card doesn't support NPIV. The 8Gb one does.

    I'm a bit clueless on how to turn the target LUN from the ubuntu SAN into an hdisk.

    Beside the PS700 blade is an Intel HS22 blade with the same 4Gb Qlogic CIOv adapter and mapped LUNS from the Ubuntu SAN are working fine with CentOS/RedHat.

    I setup the LUN mapping in the SAN the same way for both AIX and CentOS and setup the zone in the fabric swtich.

    How do I turn a LUN from fscsi0 into an hdisk?

    I've looked all over and haven't found suitable documentation.

     

    # lsattr -El fscsi0
    attach       switch       How this adapter is CONNECTED         False
    dyntrk       no           Dynamic Tracking of FC Devices        True
    fc_err_recov delayed_fail FC Fabric Event Error RECOVERY Policy True
    scsi_id      0x10001      Adapter SCSI ID                       False
    sw_fc_class  3            FC Class for Fabric                   True
     

    #AIX-Forum


  • 2.  Re: AIX Fibre Channel LUN to hdisk howto

    Posted Thu May 15, 2014 07:31 PM

    Originally posted by: dukessd


    So you've run cfgdev / oem_setup_env cfgmgr on the VIO (or rebooted) and still have no disk / lun device configured?

    fscsi0 is clearly on a switch because it has a scsi_id / nport id so it's at least logged into the blade chassis switch.

    I'd probably go with putting devscan on the VIO and checking what it can see....

    You can use virtual scsi instead of npiv to serve the lun to clients - once you can get the VIO to see and configure it. I think VIO needs at least an 8gb adapter to support npiv.

    devscan:

    http://www-01.ibm.com/support/docview.wss?uid=aixtoolsc9e095f

    HTH


    #AIX-Forum


  • 3.  Re: AIX Fibre Channel LUN to hdisk howto

    Posted Thu May 15, 2014 10:11 PM

    Originally posted by: zoran


    Thanks for the devscan tool. It told me "no targets are available on the SAN".

    So that got me looking some more in the SAN and fabric. I found the problem in the fabric. Although I had saved the zone config, I didn't enable it. After the new zone changes were enabled, it started working.

    It works now.

    Yes the 8Gb adapter supports npiv but the 4Gb blade adapter does not. Go figure. These CIOv adapters are still so expensive relative the PCIe counterparts.


    #AIX-Forum