Feeds:
Posts
Comments

Archive for the ‘Sun Storage’ Category

The Inquiry utility (INQ) is a command-line troubleshooting utility that displays
information on storage devices, typically Symmetrix. By default, INQ
returns the device name, Symmetrix ID, Symmetrix LUN, and capacity. This
utility will operate independently of any other EMC software. Use the INQ
Utility to collect system information to provide to EMC Global Services
for problem troubleshooting.

Download INQ utility from EMC support site below

ftp://ftp.emc.com/pub/symm3000/inquiry/ 

 

Running EMC inq utility on Solaris

 

# ./inq.sol64
Inquiry utility, Version V7.3-891 (Rev 2.0)      (SIL Version V6.5.2.0 (Edit Level 891)
Copyright (C) by EMC Corporation, all rights reserved.
For help type inq -h.

 

——————————————————————————————–
DEVICE                                               :VEND      :PROD            :REV   :SER NUM        :CAP(kb)
——————————————————————————————–
/dev/rdsk/c1t0d0s2                           :FUJITSU :MAW3073NCSUN72G :1703  :070029a0N7 :    71687369
/dev/rdsk/c1t1d0s2                           :FUJITSU :MAW3073NCSUN72G :1703  :070032a0NF :    71687369
/dev/rdsk/c3t50060E800544C808d0s2 :HITACHI :OPEN-V          :6003  :50 044D8   :    14227200
/dev/rdsk/c3t50060E800544C808d1s2 :HITACHI :OPEN-V*7        :6003  :50 044D8   :    99590400
/dev/rdsk/c3t50060E800544C848d0s2 :HITACHI :OPEN-V          :6003  :50 044D8   :    14227200
/dev/rdsk/c3t50060E800544C848d1s2 :HITACHI :OPEN-V*7        :6003  :50 044D8   :    99590400
/dev/rdsk/c4t50060E800544C810d0s2 :HITACHI :OPEN-V          :6003  :50 044D8   :    14227200
/dev/rdsk/c4t50060E800544C810d1s2 :HITACHI :OPEN-V*7        :6003  :50 044D8   :    99590400
/dev/rdsk/c4t50060E800544C850d0s2 :HITACHI :OPEN-V          :6003  :50 044D8   :    14227200
/dev/rdsk/c4t50060E800544C850d1s2 :HITACHI :OPEN-V*7        :6003  :50 044D8   :    99590400
/dev/vx/rdmp/Disk_0s2                     :FUJITSU :MAW3073NCSUN72G :1703  :080029c0N8 :    71687369
/dev/vx/rdmp/Disk_1s2                     :FUJITSU :MAW3073NCSUN72G :1703  :080032c0NG :    71687369
/dev/vx/rdmp/Disk_2s2                     :HITACHI :OPEN-V          :6003  :50 044C8   :    14227200
/dev/vx/rdmp/Disk_3s2                     :HITACHI :OPEN-V*7        :6003  :50 044C8   :    99590400

 

# ./inq.sol64 -hba
Inquiry utility, Version V7.3-891 (Rev 2.0)      (SIL Version V6.5.2.0 (Edit Level 891)
Copyright (C) by EMC Corporation, all rights reserved.
For help type inq -h.

—————————————————
HBA name:           QLogic Corp.-QLA2462-0
host WWN:           0000000000000000
vendor name:        QLogic Corp.
model:              QLA2462
firmware version:   4.0.27
driver version:     20070212-2.19
serial number:      0402G00-0722265734
vendor code:        0x0
HBA type:           Fibre Channel
port count:         2

port number:                 1
    port WWN:                     2100001B32183B60
    Port OS name:                 /dev/cfg/c3
    port type:                    NPORT
    port speed:                   2GBIT
    supported speed:              4GBIT
    port state:                   ONLINE
    port FCID:                    0x627513
    port supported COS:           0x10000000
    port supported FC4 types:     0x0000000000000000000000000000000000000000000000000000000000000000
    port active FC4 types:        0x0000010000000000000000000000000000000000000000000000000000000000
    max frame size:               2048

port number:                 2
    port WWN:                     2101001B32383B60
    Port OS name:                 /dev/cfg/c4
    port type:                    NPORT
    port speed:                   2GBIT
    supported speed:              4GBIT
    port state:                   ONLINE
    port FCID:                    0x617513
    port supported COS:           0x10000000
    port supported FC4 types:     0x0000000000000000000000000000000000000000000000000000000000000000
    port active FC4 types:        0x0000010000000000000000000000000000000000000000000000000000000000
    max frame size:               2048

Here are other options you can try with inq utility

# ./inq.sol64 -h
Inquiry utility, Version V7.3-891 (Rev 2.0)      (SIL Version V6.5.2.0 (Edit Level 891)
Copyright (C) by EMC Corporation, all rights reserved.
For help type inq -h.

Usage: inquiry <options>

    display types:
       -h               : display this help screen
       -et              : display emulation and type info   (Symmetrix only)
       -ckd             : display CKD device info           (Symmetrix only)
       -page0           : display detailed page0 (only valid with -dev option)
       -pagec0          : display detailed pagec0 (only valid with -dev option
                          and on CLARiiON devices)
       -parent          : display both PowerPath and OS device relationships
       -celerra         : display Celerra lable devices
       -sid             : display Symmetrix Serial Number
       -sym_wwn         : display Symmetrix device wwn and Serial Number
       -clariion        : display CLARiiON device information
       -clar_wwn        : display CLARiiON WWN and Serial Number
       -showvol         : display Symmetrix Volume Number.
       -compat          : display old format
       -btl             : display Bus Target and Lun
       -sw_wwn          : display StorageWorks WWN and Serial Id
       -hds_wwn         : display HDS WWN and Serial Id
       -s80_wwn         : display S80 WWN and Serial Id
       -invista_wwn     : display Invista WWN and Serial Id
       -shark_wwn       : display IBM Shark WWN and Serial Id
       -compaq_wwn      : display Compaq WWN and Serial Id
       -netapp_wwn      : display Netapp WWN and Serial Id
       -hba             : display HBA info only. See options below
       -identifier <device_name | nice_name | hp_id | vms_id>
                        : display device identifier info (EMC devices only)
       -mapinfo         : display target mapping information

    filter options:
       -no_filters      : show every device even if no data available
       -f_powerpath     : filter –  only powerpath devices
       -f_pseudo        : filter –  only pseudo devices
       -f_real          : filter –  only real devices
       -f_emc           : filter –  only EMC devices
       -f_ckd           : filter –  only ckd devices
       -f_celerra       : filter –  only Celerra devices
       -f_4k            : filter –  only Symmetrix volumes < 4096
       -f_clariion      : filter –  only CLARiiON devices
       -f_storwrks      : filter –  only Compaq StorageWorks devices
       -f_hds           : filter –  only Hitachi HDS devices
       -f_s80           : filter –  only Fujitsu Siemens S80 devices
       -f_invista       : filter –  only EMC Invista devices
       -f_shark         : filter –  only IBM SHARK devices
       -f_size <size>   : filter –  only show devices with <= size in kbytes

    query options:
       -skipread        : do not request Read Capacity
       -skipinq         : do not request Inquiry data
       -skipboth        : do not request Read Capacity or Inquiry data

    device options:
       -dev  <device>   : do inquiry on specified device
       -symmvol <vol#>  : show devices with Symm HEX volume #= <vol#>
       -clar_file <file-name>: show clariion devices in file

    other options:
       -no_dots         : do not display status dots
       -sortoff         : do not perform ANY sorting
       -sortsymm        : sort by Symmetrix serial number   (Symmetrix only)

    sym_wwn options:
       -sid_wwn <sid>   : the 12 digit SID of the symm for which you want wwn’s
       -symdev  <dev>   : the device for which you want the wwn

    HBA specific options:
       -hba               : display HBA info only
       -fibre             : display FC HBA info only
       -iscsi             : display ISCSI HBA info only
       -scsi              : display SCSI HBA info only
       -hba_file <file>   : external HBA file to use. -fibre only
       -create            : create external HBA file specified by -hba_file
      Usage :
       inquiry -hba [-fibre [-hba_file <file>] [-create]] [-scsi] [-iscsi]

Release notes:
     Only options listed above are supported, although other options
     may continue to work, they are subject to change or removal.

     the following parameter changes have occurred
       -nodots              ->  -no_dots
       -c                   ->  -ckd
       -v                   ->  -page0
       -r <devicename>      ->  -dev <devicename>
       -s SymmVolumeNumber  ->  -symmvol SymmVolumeNumber
       -xr                  ->  -f_pseudo
       -xps                 ->  -f_real
       -system              ->  no longer exists

Advertisements

Read Full Post »

fcinfo command appeared only from Solaris 10 u1  ( Solaris 10 1/06).

If you have it missing, that chances are you have the old Solaris 10 version.

bash-3.00# cat /etc/release
                         Solaris 10 3/05 s10_74L2a SPARC
           Copyright 2005 Sun Microsystems, Inc.  All Rights Reserved.
                        Use is subject to license terms.
                            Assembled 22 January 2005

fcinfo command is provided by SUNWfcprt package.

bash-3.00# pkgchk -l -p /usr/sbin/fcinfo
Pathname: /usr/sbin/fcinfo
Type: regular file
Expected mode: 0555
Expected owner: root
Expected group: bin
Expected file size (bytes): 44424
Expected sum(1) of contents: 55871
Expected last modification: Aug 10 20:34:53 2005
Referenced by the following packages:
        SUNWfcprt
Current status: installed

Ether you can patch the server and bring it to the existing level or just install SUNWfcprt package from current Solaris 10 image.

Read Full Post »

This following document describes the process of replacing a failed internal disk on the Sun Fire[TM] V440 server when the disk is not mirrored using the on-board hardware RAID controller.

1. Verify which disk drive corresponds with which logical device name and
physical device name. Listed below is the table for the v440 disk devices:

Disk Slot Number    Logical Device Name[1]             Physical Device Name
—————————————————————————–
Slot 0            c1t0d0                /devices/pci@1f,700000/scsi@2/sd@0,0

Slot 1            c1t1d0                /devices/pci@1f,700000/scsi@2/sd@1,0

Slot 2            c1t2d0                /devices/pci@1f,700000/scsi@2/sd@2,0

Slot 3            c1t3d0                /devices/pci@1f,700000/scsi@2/sd@3,0

2. Verify that a hardware disk mirror does not exist

#raidctl
No RAID volumes found.

****NOTE**** If Raid volumes exist see infodoc 73040

3. View status of SCSI devices
#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
c1::dsk/c1t2d0    disk            connected    configured   unknown
c1::dsk/c1t3d0    disk            connected    configured   unknown
c2                scsi-bus        connected    configured   unknown
c2::dsk/c2t2d0    disk            connected    configured   unknown

4. Remove the disk drive from the device tree

#cfgadm -c unconfigure <Ap_Id>
example -> #cfgadm -c unconfigure c1::dsk/c1t3d0
This example removes c1t3d0 from the device tree. The blue OK-to-Remve LED for
the disk being removed will become lit.

5. Verify that the device has been removed from the device tree

#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
c1::dsk/c1t2d0    disk            connected    configured   unknown
c1::dsk/c1t3d0    unavailable     connected    unconfigured unknown
c2                scsi-bus        connected    configured   unknown
c2::dsk/c2t2d0    disk            connected    configured   unknown
*NOTE that c1t3d0 is now unavailable and unconfigured. The disks blue
OK-to-Remve LED is lit

6. Remove the disk drive

7. Install a new disk drive

8. Configure the new disk drive

#cfgadm -c <Ap_Id>
example->#cfgadm -c configure c1::dsk/c1t3d0

*NOTE that the green activity LED flashes as the new disk at c1t3d0 is added to
the device tree

9. Verify that the new disk drive is in the device tree

#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
c1::dsk/c1t2d0    disk            connected    configured   unknown
c1::dsk/c1t3d0    disk            connected    configured   unknown
c2                scsi-bus        connected    configured   unknown
c2::dsk/c2t2d0    disk            connected    configured   unknown

Read Full Post »

Solaris 10 comes with Leadville stack, is basically the code name for the StorEdge SAN Foundation Software (SFS) which Sun developed for the Solaris OS. Leadville is a new, open standards-based I/O framework and device driver stack to support FC which includes I/0 stack, Sun StorageTek Traffic Manager software (multipathing or MPxIO), Storage Networking Industry Association (SNIA) libraries, and utilities.

Advantages:

  • Ability to dynamically add new devices without rebooting
  • Automatic persistent binding
  • Virtually limitless scalability
  • Integrated multi-pathing
  • No third-party patches

Solaris 10 comes with installed Driver and utility support for Sun branded Qlogic and Emulex HBAs.

SUNWemlxs              Emulex-Sun LightPulse Fibre Channel Adapter (FCA) driver

SUNWemlxu              Emulex-Sun LightPulse Fibre Channel Adapter Utilties

SUNWqlc                         Qlogic ISP 2200/2202 Fibre Channel Device Driver
SUNWqlcu                       Qlogic Fibre Channel Adapter Utilities

bash-3.00# pkginfo -l SUNWemlxs
   PKGINST:  SUNWemlxs
      NAME:  Emulex-Sun LightPulse Fibre Channel Adapter (FCA) driver (root)
  CATEGORY:  system
      ARCH:  sparc
   VERSION:  11.10.0,REV=2005.01.30.01.58
   BASEDIR:  /
    VENDOR:  Emulex Corporation
      DESC:  Device driver for Emulex-Sun LightPulse Fibre Channel adapters
    PSTAMP:  bogglidite20051214103253
  INSTDATE:  Dec 20 2006 11:03
   HOTLINE:  Please contact your local service provider
    STATUS:  completely installed
     FILES:        5 installed pathnames
                   3 shared pathnames
                   3 directories
                   1 executables
                5586 blocks used (approx)

bash-3.00# pkgchk -v SUNWemlxs
/kernel
/kernel/drv
/kernel/drv/emlxs.conf
/kernel/drv/sparcv9
/kernel/drv/sparcv9/emlxs

bash-3.00# pkginfo -l SUNWemlxu
   PKGINST:  SUNWemlxu
      NAME:  Emulex-Sun LightPulse Fibre Channel Adapter Utilties (usr)
  CATEGORY:  system
      ARCH:  sparc
   VERSION:  11.10.0,REV=2005.01.30.01.58
   BASEDIR:  /
    VENDOR:  Emulex Corporation
      DESC:  Support software for Emulex-Sun LightPulse Fibre Channel adapters
    PSTAMP:  bogglidite20060308101102
  INSTDATE:  Dec 20 2006 11:03
   HOTLINE:  Please contact your local service provider
    STATUS:  completely installed
     FILES:        6 installed pathnames
                   5 shared pathnames
                   5 directories
                   1 executables
                1331 blocks used (approx)

bash-3.00# pkgchk -v SUNWemlxu
/usr
/usr/lib
/usr/lib/mdb
/usr/lib/mdb/kvm
/usr/lib/mdb/kvm/sparcv9
/usr/lib/mdb/kvm/sparcv9/emlxs.so

bash-3.00# pkginfo -l SUNWqlc
   PKGINST:  SUNWqlc
      NAME:  Qlogic ISP 2200/2202 Fibre Channel Device Driver
  CATEGORY:  system
      ARCH:  sparc
   VERSION:  11.10.0,REV=2005.01.04.14.31
   BASEDIR:  /
    VENDOR:  Sun Microsystems, Inc.
      DESC:  Qlogic ISP 2200/2202 Fibre Channel Device Driver
    PSTAMP:  bogglidite20050914173826
  INSTDATE:  Mar 05 2008 16:32
   HOTLINE:  Please contact your local service provider
    STATUS:  completely installed
     FILES:        5 installed pathnames
                   3 shared pathnames
                   3 directories
                   1 executables
                2340 blocks used (approx)

bash-3.00# pkgchk -v SUNWqlc
/kernel
/kernel/drv
/kernel/drv/qlc.conf
/kernel/drv/sparcv9
/kernel/drv/sparcv9/qlc

bash-3.00# pkginfo -l SUNWqlcu
   PKGINST:  SUNWqlcu
      NAME:  Qlogic Fibre Channel Adapter Utilities (usr)
  CATEGORY:  system
      ARCH:  sparc
   VERSION:  11.10.0,REV=2006.02.21.03.25
   BASEDIR:  /
    VENDOR:  Sun Microsystems, Inc.
      DESC:  Utilties associated with the Qlogic Fibre Channel Adapter
    PSTAMP:  bogglidite20060222001745
  INSTDATE:  Mar 05 2008 16:32
   HOTLINE:  Please contact your local service provider
    STATUS:  completely installed
     FILES:        6 installed pathnames
                   5 shared pathnames
                   5 directories
                   1 executables
                  48 blocks used (approx)

bash-3.00# pkgchk -v SUNWqlcu
/usr
/usr/lib
/usr/lib/mdb
/usr/lib/mdb/kvm
/usr/lib/mdb/kvm/sparcv9
/usr/lib/mdb/kvm/sparcv9/qlc.so

Check for the current support table for Sun-branded Qlogic and QLogic-branded Qlogic fibre-channel HBAs

http://blogs.sun.com/jmcp/entry/current_sun_qlogic_fc_hba

Check for the current support table for Sun-branded Emulex and Emulex-branded Emulex fibre-channel HBAs

http://blogs.sun.com/jmcp/entry/current_sun_emulex_fc_hba

If you are using Emulex HBA in Solaris 10, Emulex driver for Solaris Sun StorageTek SAN Foundation Software (SFS) Fibre Channel adapter (FCA) on the top of Leadville for extra functionality.

http://www.emulex.com/support/solaris/index.jsp

 

Frequently asked questions

http://otmanix.de/wp-content/uploads/2007/08/emc-faq-sun-solaris-native-hbas-and-drivers.pdf

Read Full Post »

The most commonly used command to determine very specific information about these two storage devices.

# luxadm probe
# luxadm display controller_number
# luxadm display enclosure_name
# luxadm display logical_path
# luxadm display enclosure_name, disk_location
# luxadm fcode_download -p

Like:

  • WWN (12 or 16 digits)
  • Enclosure Name
  • Number Disks Installed
  • Number of Controller

The luxadm utility does not recognize the Sun StorEdge D1000 array.Specific array information must be gathered using other tools such as the
format utility and visual identification.

Read Full Post »