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 :VENDROD :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: 0×0
HBA type: Fibre Channel
port count: 2port 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: 0×627513
port supported COS: 0×10000000
port supported FC4 types: 0×0000000000000000000000000000000000000000000000000000000000000000
port active FC4 types: 0×0000010000000000000000000000000000000000000000000000000000000000
max frame size: 2048port 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: 0×617513
port supported COS: 0×10000000
port supported FC4 types: 0×0000000000000000000000000000000000000000000000000000000000000000
port active FC4 types: 0×0000010000000000000000000000000000000000000000000000000000000000
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 informationfilter 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 kbytesquery options:
-skipread : do not request Read Capacity
-skipinq : do not request Inquiry data
-skipboth : do not request Read Capacity or Inquiry datadevice 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 fileother 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 wwnHBA 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


