6 Replies Latest reply: Jun 2, 2014 11:51 AM by Jaymike-Oracle RSS

    Identify  storage array from server

    ra*326096*ul


      Hi

       

      Is there a way to find   from  the server side what Storage array a LUN is coming from  to the server like the Type/Model  of Storage,Serial No. etc

       

      TIA

        • 1. Re: Identify  storage array from server
          Pascal Kreyer-Oracle

          Without specific storage tools, this is impossible to obtain all these informations.

           

          You can for example use a WWN decoder if the LUN is accessible through a WWN ID. You can also check the format output. But these both examples can maybe inform you about the manufacturer and the type/model of the array but nothing regarding serial number, firmware version or LUN state. In this case the tool that is provided by the manufacturer should be used.

          • 2. Re: Identify  storage array from server
            Nitin.K-Oracle

            Try these commands to get details :

            # luxadm -e dump_map

            # luxadm display

            # format  (option inquiry )

            • 3. Re: Identify  storage array from server
              861849

              Try also these commands:

               

              #cfgadm -alv |grep -i stor

              c3::es/ses1                    connected    configured   unknown    SUN StorEdge 3320  D

              c4::es/ses0                    connected    configured   unknown    SUN StorEdge 3320  D

              #

               

              OR:

               

              # luxadm -v inq /dev/es/ses1

               

              INQUIRY:

                Physical Path:

                /devices/pci@7c0/pci@0/pci@9/pci@0/scsi@8,1/processor@f,0:0

              Vendor:                     SUN    

              Product:                    StorEdge 3320  D

              ... (it is just an extract, there is also some other information as model... )

               

              look before for the name of the device:

              #ls /dev/es

              ses0  ses1

              #

              • 4. Re: Identify  storage array from server
                Rajkumar -Oracle

                The commands "cfgadm" and "luxadm -v inq" shows that the array "Sun StorEge 3320" is connected to the host. The letter 'D' in the below output indicates that it is a JBOD but not a RAID Array:

                 

                #cfgadm -alv |grep -i stor

                c3::es/ses1                    connected    configured   unknown    SUN StorEdge 3320  D -----------------> JBOD

                c4::es/ses0                    connected    configured   unknown    SUN StorEdge 3320  D -----------------> JBOD

                 

                You should see physical disks with device path in the format and IOSTAT -En output.

                 

                Please note that the below commands can ONLY be used to identify FC based array.

                # luxadm -e port

                # luxadm -e dump_map

                # luxadm display

                 

                The usage of above commands are given below:

                 

                This displays the list of FC cards on the host

                # luxadm -e port

                 

                /devices/pci@1e,600000/SUNW,qlc@3/fp@0,0:devctl CONNECTED -----------------> This FC card is selected

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

                 

                This displays the detected arrays on the select path.

                # luxadm -e dump_map /devices/pci@1e,600000/SUNW,qlc@3/fp@0,0:devctl

                 

                Pos Port_ID Hard_Addr Port WWN         Node WWN                Type

                0   10300      0      5006048452a70f7c 5006048452a70f7c 0×0  (Disk device)

                1   15500      0      210000e08b18da4f 200000e08b18da4f 0x1f (Unknown Type,Host Bus Adapter)

                 

                 

                Run this command to display the storage LUNs and its path.

                # luxadm display 5006048452a70f7c (Port WWN)

                • 5. Re: Identify  storage array from server
                  ra*326096*ul

                  Tahnks for the  replies guys

                   

                  On the same note   how can  I identify  a physical location (slot in the machine) of a  HBA card from its device path. I guess it may vary depending upon server model In this case the model is v880

                   

                  Thanks

                  • 6. Re: Identify  storage array from server
                    Jaymike-Oracle

                    You are correct that it will vary depending on server model. But for the v880, here is the table:

                    PHYSICALDEVICE PATHSPEED
                    PCI Slot 8/pci@9,600000/<device>@166MHz
                    PCI Slot 7/pci@9,600000/<device>@266MHz
                    PCI Slot 6/pci@9,700000/<device>@233MHz
                    PCI Slot 5/pci@9,700000/<device>@333MHz
                    PCI Slot 4/pci@9,700000/<device>@433MHz
                    PCI Slot 3/pci@8,700000/<device>@233MHz
                    PCI Slot 2/pci@8,700000/<device>@333MHz
                    PCI Slot 1/pci@8,700000/<device>@433MHz
                    PCI Slot 0/pci@8,700000/<device>@533MHz
                    SCSI/pci@8,700000/<device>@133MHz
                    FC-AL/pci@8,600000/SUNW,qlc@266MHz
                    GEM/pci@8,600000/network@166MHz
                    RIO/pci@9,700000/eri@1,133MHz

                     

                    If you have access to the System Handbook you can see the page I pulled this from here:

                    https://support.oracle.com/handbook_private/Devices/I_O/IO_SunFire_V880_IO_Board.html

                     

                    -j