6 Replies Latest reply: Aug 25, 2012 11:46 PM by 800672 RSS

    Unable to detect LUNS in solaris 9.

    800672
      Hi all,

      We added HBA card to one of the Solaris 9 server (Sun Fire V240). Configured zoning and presented the LUNs to the server from EVA6100. But LUNs are not visible in OS side. Verified the link, zone config and the Storage config. All looks fine.

      Applied all required packages and patches from server level.
      Storage Details:
      Storage Model: EVA 6100

      Server Details:
      OS Version: Sun Solaris 9
      HBA Model: SG-XPCI2FC-EM4-Z - Sun StorageTek PCI-X Enterprise 4Gb Dual Channel FC Emulex Host Bus Adapter, includes standard and low profile brackets. RoHS 6 compliant

      luns are visible in OK prompt but not in OS.

      if there are additional parameters i need to know

      Regards,
      parkar
      UAE

      Edited by: parkar on Jul 16, 2012 10:23 PM
        • 1. Re: Unable to detect LUNS in solaris 9.
          Nik
          Hi.

          So You can look LUN at OK level, so zonning and connection is OK.

          You should check that FC hba detected by OS.

          Can you show results for some commands:

          For check that FC-controllers detected:
          grep "/fp" /etc/path_to_inst

          For check status connections:
          luxadm -e port

          For check detected devices:
          cfgadm -al
          cfgadm -al -o show_FCP_dev



          Regards
          • 2. Re: Unable to detect LUNS in solaris 9.
            800672
            Here is the boot prompt output

            1} ok probe-scsi-all
            /pci@1d,700000/SUNW,emlxs@1,1
            Device PortID 11200 WWPN 50001fe15010bb28
            LUN 0 Array Controller HP HSV200 6220
            LUN 1 Disk HP HSV200 6220
            LUN 2 Disk HP HSV200 6220
            Device PortID 11100 WWPN 50001fe15010bb2c
            LUN 0 Array Controller HP HSV200 6220
            LUN 1 Disk HP HSV200 6220
            LUN 2 Disk HP HSV200 6220

            /pci@1d,700000/SUNW,emlxs@1
            Device PortID 21200 WWPN 50001fe15010bb29
            LUN 0 Array Controller HP HSV200 6220
            LUN 1 Disk HP HSV200 6220
            LUN 2 Disk HP HSV200 6220
            Device PortID 21100 WWPN 50001fe15010bb2d
            LUN 0 Array Controller HP HSV200 6220
            LUN 1 Disk HP HSV200 6220
            LUN 2 Disk HP HSV200 6220

            /pci@1c,600000/scsi@2,1

            /pci@1c,600000/scsi@2
            Target 0
            Unit 0 Disk HITACHI DK32EJ14NSUN146GPQ0B
            Target 1
            Unit 0 Disk HITACHI DK32EJ14NSUN146GPQ0B

            dvsrv19:/root#luxadm -e port

            Found path to 2 HBA ports

            /devices/pci@1d,700000/SUNW,emlxs@1/fp@0,0:devctl CONNECTED
            /devices/pci@1d,700000/SUNW,emlxs@1,1/fp@0,0:devctl CONNECTED

            dvsrv19:/root#luxadm -e dump_map /devices/pci@1d,700000/SUNW,emlxs@1/fp@0,0:devctl
            Pos Port_ID Hard_Addr Port WWN Node WWN Type
            0 21100 0 50001fe15010bb2d 50001fe15010bb20 0xc (Array controller device)
            1 21200 0 50001fe15010bb29 50001fe15010bb20 0xc (Array controller device)
            2 20000 0 10000000c98b9d99 20000000c98b9d99 0x1f (Unknown Type,Host Bus Adapter)

            dvsrv19:/root#luxadm -e dump_map /devices/pci@1d,700000/SUNW,emlxs@1/fp@0,0:devctl
            Pos Port_ID Hard_Addr Port WWN Node WWN Type
            0 21100 0 50001fe15010bb2d 50001fe15010bb20 0xc (Array controller device)
            1 21200 0 50001fe15010bb29 50001fe15010bb20 0xc (Array controller device)
            2 20000 0 10000000c98b9d99 20000000c98b9d99 0x1f (Unknown Type,Host Bus Adapter)


            let me know if anything more,

            Thanks
            Parkar
            UAE
            • 3. Re: Unable to detect LUNS in solaris 9.
              Nik
              Hi.


              Hmm you read my previos post ?

              Wheree is output for
              cgadm -al
              cfgadm -al -o show_FCP_dev

              ?

              From output of "cfgadm -al" get FC controllers number and try configure it.


              cfgadm -c configure <controller>


              Regards.
              • 4. Re: Unable to detect LUNS in solaris 9.
                800672
                Hi,

                here is required output,

                Please find the requested details..

                dvsrv19:/root#cfgadm -al
                Ap_Id Type Receptacle Occupant Condition
                c0 scsi-bus connected configured unknown
                c0::dsk/c0t0d0 CD-ROM connected configured unknown
                c1 scsi-bus connected configured unknown
                c1::dsk/c1t0d0 disk connected configured unknown
                c1::dsk/c1t1d0 disk connected configured unknown
                c2 scsi-bus connected unconfigured unknown
                usb0/1 unknown empty unconfigured ok
                usb0/2 unknown empty unconfigured ok

                dvsrv19:/root#cfgadm -al -o show_FCP_dev
                cfgadm: Configuration administration not supported

                dvsrv19:/root#grep "/fp" /etc/path_to_inst
                "/pci@1d,700000/SUNW,emlxs@1/fp@0,0" 0 "fp"
                "/pci@1d,700000/SUNW,emlxs@1,1/fp@0,0" 1 "fp"
                dvsrv19:/root#

                Found path to 2 HBA ports

                /devices/pci@1d,700000/SUNW,emlxs@1/fp@0,0:devctl CONNECTED
                /devices/pci@1d,700000/SUNW,emlxs@1,1/fp@0,0:devctl CONNECTED

                Regards,

                parkar
                UAE
                • 5. Re: Unable to detect LUNS in solaris 9.
                  Nik
                  Hmm... Strange.

                  What we can see:

                  1. Luns available for host ( From POST tests)
                  2. Some FC drivers installed. ( FC card detected in /etc/path_to_inst)
                  3. At Solaris level - FC communicatation also look like OK ( port status - Connected, We can see dump_map )

                  But:
                  At Solaris 9 when you use switched fabric you must cfgadm -c configure .... for required FC-device.
                  cfgadm don't show any fc controllers

                  Do you install SFK ( SAN Foundation Kit) and patch it ?

                  What exacly mean "*Applied all required packages and patches from server level.*" ?

                  Regards.
                  • 6. Re: Unable to detect LUNS in solaris 9.
                    800672
                    hi

                    we are still unable to detect luns in OS.

                    We have installed the recommended packages/patches from Oracle mentioned below, but still the LUN is not visible. Kindly check and let us know if any other parameters to be configured in Solaris side.


                    dvsrv19:/export/home/osteam/SAN_Patches/p10297699_440_Generic/SAN_S9_4.4.15_install_it#./install_it
                    Logfile /var/tmp/install_it_Sun_StorEdge_SAN.log : created on Mon Aug 6 12:31:30 GMT 2012


                    This routine installs the packages and patches that
                    make up Sun StorEdge SAN on Solaris 9 (only).

                    Would you like to continue with the installation?
                    [y,n,?] y


                    Verifying system...

                    Checking for incompatible patches : Done


                    Begin installation of SAN software

                    Installing StorEdge SAN packages -

                    Package SUNWsan : Installed Previously.
                    Package SUNWcfpl : Installed Previously.
                    Package SUNWcfplx : Installed Previously.
                    Package SUNWcfclr : Installed Previously.
                    Package SUNWcfcl : Installed Previously.
                    Package SUNWcfclx : Installed Previously.
                    Package SUNWfchbr : Installed Previously.
                    Package SUNWfchba : Installed Previously.
                    Package SUNWfchbx : Installed Previously.
                    Package SUNWfcsm : Installed Previously.
                    Package SUNWfcsmx : Installed Previously.
                    Package SUNWmdiu : Installed Previously.
                    Package SUNWqlc : Installed Successfully.
                    Package SUNWqlcx : Installed Successfully.
                    Package SUNWjfca : Installed Previously.
                    Package SUNWjfcax : Installed Previously.
                    Package SUNWjfcau : Installed Previously.
                    Package SUNWjfcaux : Installed Previously.
                    Package SUNWemlxs : Installed Previously.
                    Package SUNWemlxsx : Installed Previously.
                    Package SUNWemlxu : Installed Previously.
                    Package SUNWemlxux : Installed Previously.

                    StorEdge SAN packages installation completed.

                    Installing StorEdge SAN patches and required patches -

                    Patch 111847-08 : Installed Successfully.
                    Patch 113046-01 : Installed Previously.
                    Patch 113049-01 : Installed Previously.
                    Patch 113039-21 : Later version installed 113039-25.
                    Patch 113040-26 : Later version installed 113040-33.
                    Patch 113041-14 : Installed Previously.
                    Patch 113042-19 : Installed Successfully.
                    Patch 113043-15 : Installed Previously.
                    Patch 113044-07 : Installed Successfully.
                    Patch 114476-09 : Later version installed 114476-10.
                    Patch 114477-04 : Installed Successfully.
                    Patch 114478-08 : Installed Successfully.
                    Patch 114878-10 : Installed Successfully.
                    Patch 119914-14 : Later version installed 119914-15.

                    Patch installation completed.


                    Installation of Sun StorEdge SAN completed Successfully

                    -------------------------------------------
                    -------------------------------------------
                    Please reboot your system.
                    -------------------------------------------
                    -------------------------------------------
                    dvsrv19:/export/home/osteam/SAN_Patches/p10297699_440_Generic/SAN_S9_4.4.15_install_it#

                    Regards,