AIX

AIX

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

 View Only
Expand all | Collapse all

AIX as iSCSI initiator to Linux - no connect

  • 1.  AIX as iSCSI initiator to Linux - no connect

    Posted Sat December 13, 2014 06:01 PM

    Originally posted by: Holger_Scherer


    Friends,

    a lot of documents on the net describe, how easy you can connect from AIX to a Linux which provides some storage via iSCSI.

    I tried for hours - and do not succeed...

    Environment: Power6 M525 with AIX 6.1 (Initiator), VM with Debian 6 and 1TB Disk which plays the target (using IET iscsitarget).

    Setup AIX iSCSI using SMIT, edited /etc/iscsi/targets and verified parameters million times.

    whenever i run

    # cfgmgr -i iscsi0

    this runs for some seconds, then

    # lsdev -Cc disk

    shows only my 2 SAS disks.

    On the Linux side, netstat -a does show port 3260 is waiting for connection, but no connect from AIX box.

    Yes - i checked:

    - PING works both directions

    - configuration in general - as million google results suggest

    My assumption is, the iSCSI software driver on AIX does not start a connection.

    /usr/local/bin/devscan shows:

     

    Processing iSCSI device:

        Protocol driver: iscsi0

     

    LUN ID           IP Address

    ---------------------------

    0000000000000000 192.168.250.58

        iqn.2009-02.de.rzkh:server.00000000

        START failed with errno EIO

     

    1 targets found, reporting 0 LUNs,

    0 of which responded to SCIOLSTART.

    Elapsed time this adapter: 00.051834 seconds

     

    2 device(s) on the SAN were not found in the ODM.

    Generally, this means these devices were made available on the SAN

    after the last time cfgmgr was run on this host, or that these

    devices were deleted out of the ODM.

    Cleaning up...

    Total elapsed time: 00.207185 seconds

    Completed with error(s)

    #

    Please help how to find out *WHAT* is the problem... I am an IBM i expert but not AIX, and my personal opinion is: AIX does not make life easy. How to find out the real problem?

    ​Thank

    Holgers



  • 2.  Re: AIX as iSCSI initiator to Linux - no connect

    Posted Tue January 13, 2015 12:34 PM

    Originally posted by: GarlandJoseph


    what is the status of iscsi0....things to check....

    lsdev -Cliscsi0   #is it available?

    check error log:

    errpt

    Run config manager with verbose option

    cfgmgr -vl iscsi0     #look for errors

     

    EIO usually indicates physical I/O error