AIX

AIX

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

 View Only
  • 1.  Errors accessing ISCSI targets on NetApp Filer under AIX 5.3

    Posted Wed July 01, 2009 06:31 PM

    Originally posted by: c_k_3


    I am trying to acquire iSCSI targets from a NetApp filer on an IBM JS20 running AIX 5.3, using the software iscsi initiator. I've set my initiator node name, and configured my /etc/iscsi/targets, but I'm having issues using the acquired devices. Any attempt to access the iscsi devices results in various errors. Here is what I have:

    Using lsdev -C the devices show up:
    hdisk1 Available MPIO Other iSCSI Disk Drive
    hdisk2 Available MPIO Other iSCSI Disk Drive

    I'm a little nervous about the MPIO flag, as I have no intention of using MPIO with these devices, but for the moment I'm assuming that's not an issue. The problem I have comes in when I try to access the device in any way:

    1. lspv hdisk1
    0516-304 : Unable to find device id hdisk1 in the Device
    Configuration Database.

    Using the "Change / Show Charecteristics of a Disk" funciton in SMIT I get this:
    │ 1800-106 An error occurred: │
    │ │
    │ lsattr: 0514-519 The following device was not found in the customized │
    │ device configuration database:

    I have not omited anything there at the bottom, that is the entire error message.

    Other utilities generate similar errors.

    Has anyone seen anything like this?

    Thanks

    -Charles


  • 2.  Re: Errors accessing ISCSI targets on NetApp Filer under AIX 5.3

    Posted Wed July 01, 2009 07:01 PM

    Originally posted by: bassemir


    It has been a long time since I used NetApp. Lets see if I remember the commands. On your AIX 5.3 system what do you get if you look at your LUNS? Try the command

    sanlun lun show all

    I think that should show you the LUNs the blade knows about.

    There are also commands you can run from the NetApp box. Do you have the login rights to login to the NetApp box and view the box configuration? I'd have to dig through old notes but there are commands that might give you a clue as to the problem.

    Doe you have the AIX host attach kit documentation? That also might give you some insights on what is wrong. I don't have the commands memorized... sorry.

    Rich


  • 3.  Re: Errors accessing ISCSI targets on NetApp Filer under AIX 5.3

    Posted Thu July 02, 2009 10:52 AM

    Originally posted by: c_k_3


    I do not have the Host Utilities installed, but I am trying to find a copy. Do you know if it's a free download?

    In any event, I'm reasonably sure things are set up correctly on the netapp side, as there's not really much to set up. The same sort of config is already working in here with Linux, Windows, Solaris, and HP-UX.

    On the AIX blade it has at least gotten as far as acquiring the two LUNs I've exposed, so we're at the point where there isn't a good reason I can see for things not working.


  • 4.  Re: Errors accessing ISCSI targets on NetApp Filer under AIX 5.3

    Posted Thu July 02, 2009 10:52 AM

    Originally posted by: c_k_3


    I do not have the Host Utilities installed, but I am trying to find a copy. Do you know if it's a free download?

    In any event, I'm reasonably sure things are set up correctly on the netapp side, as there's not really much to set up. The same sort of config is already working in here with Linux, Windows, Solaris, and HP-UX.

    On the AIX blade it has at least gotten as far as acquiring the two LUNs I've exposed, so we're at the point where there isn't a good reason I can see for things not working.


  • 5.  Re: Errors accessing ISCSI targets on NetApp Filer under AIX 5.3

    Posted Mon July 06, 2009 12:53 PM

    Originally posted by: c_k_3


    Found it. It looks like I need to assign a PVID to the disk:

    chdev -l hdisk# -a pv=yes

    That fixed it.

    -Charles


  • 6.  Re: Errors accessing ISCSI targets on NetApp Filer under AIX 5.3

    Posted Thu July 02, 2009 04:16 AM

    Originally posted by: jvk


    Maybe this doc. with some step-by-step procedures can help you:
    http://www-01.ibm.com/support/docview.wss?rs=1192&uid=ssg1S7002186

    Have fun!