Friday, August 21, 2009

EMC: inq usage to find LUN details

inq usage:

# inq -
Inquiry utility, Version V7.3-915 (Rev 0.0) (SIL Version V7.0.0.0 (Edit Level 915)Copyright (C) by EMC Corporation, all rights reserved.

For help type inq -h.

ERROR: - is an invalid option.

Usage: inquiry
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 : 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 <>: 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 : do inquiry on specified device
-symmvol : show devices with Symm HEX volume #=
-clar_file : 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 : the 12 digit SID of the symm for which you want wwn's
-symdev : 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 : external HBA file to use. -fibre only
-create : create external HBA file specified by -hba_file
Usage :
inquiry -hba [-fibre [-hba_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 -> -dev
-s SymmVolumeNumber -> -symmvol SymmVolumeNumber
-xr -> -f_pseudo
-xps -> -f_real
-system -> no longer exists

_________________________________________________________
I assume no responsibity if using the contents of this page; Breaks your systems into pieces.

Let Villagers be Happy!!

No comments:

Post a Comment