1823256 Members
2967 Online
109648 Solutions
New Discussion юеВ

inq utility

 
paabhi
Frequent Advisor

inq utility

Hi All,

Please could anyone tell me is there any option with the inq utulity for finding persistent disk names.

Abhilash
9 REPLIES 9
Hakki Aydin Ucar
Honored Contributor

Re: inq utility

You mean with inq
Inquiry utility for Disk Analyze ??

Which HP-UX version do you use ?
I ve never used OR seen "inq" in HP-UX ? may be others help you more..
paabhi
Frequent Advisor

Re: inq utility

Yes....I mean that inq utility for hp-ux ...the version of hp-ux we are using is 11.31.
I am getting the dsk path in the inq o/p.I have a perl script to be modified for V3.So i need to get the disk names .

/opt/admin/bin/inq -sym_wwn
Inquiry utility, Version V7.3-653 (Rev 3.0) (SIL Version V6.0.3.0 (Edit Level 653)
Copyright (C) by EMC Corporation, all rights reserved.
For help type inq -h.

...............................................................................
...............................................................................
...........................

-----------------------------------------------------------------------------
Symmetrix Device Symm Serial # Device # WWN
-----------------------------------------------------------------------------
/dev/rdsk/c5t0d1 000290103691 237A 60060480000290103691533032333741
/dev/rdsk/c5t1d4 000290103691 1C29 60060480000290103691533031433239
/dev/rdsk/c5t1d5 000290103691 1C2A 60060480000290103691533031433241
/dev/rdsk/c5t1d6 000290103691 1C2B 60060480000290103691533031433242
/dev/rdsk/c5t1d7 000290103691 0B2F 60060480000290103691533030423246
/dev/rdsk/c5t2d0 000290103691 0DA2 60060480000290103691533030444132
/dev/rdsk/c5t2d1 000290103691 0DB5 60060480000290103691533030444235
/dev/rdsk/c5t2d2 000290103691 0DC5 60060480000290103691533030444335
/dev/rdsk/c5t2d3 000290103691 0DC6 60060480000290103691533030444336
/dev/rdsk/c5t2d4 000290103691 0DCA 60060480000290103691533030444341
Turgay Cavdar
Honored Contributor

Re: inq utility

Hi,
I have an inq version V7.3-852 and it shows the persistent names.

# inq.HPUXIA64 | grep disk
/dev/rdisk/disk19_p1 :HP 146 G:ST3146854LC :HPC3 :3KN35VVW : 143374744
/dev/rdisk/disk19_p2 :HP 146 G:ST3146854LC :HPC3 :3KN35VVW : 143374744

You should download new version from powerlink.
ani007
Super Advisor

Re: inq utility

#inq -nodots -clar_wwn. This will show you the lun id in hexadecimal
Shibin_2
Honored Contributor

Re: inq utility

I think, better you can user ioscan command.

#ioscan -m dsf

It shows both Persistent as well as Legacy
Regards
Shibin
ani007
Super Advisor

Re: inq utility

Hi paabhi,
Please don't forget to assign points.
Regards,
Ani
Hakki Aydin Ucar
Honored Contributor

Re: inq utility

I think the address you need:
(https://powerlink.emc.com)

Hakki Aydin Ucar
Honored Contributor

Re: inq utility

the last version of inq is :
V7.3-1059 now.

Address to get it:
ftp://ftp.emc.com/pub/symm3000/inquiry/v7.1.2.0/

even though it says 7.1.2 it is 7.3-1059 .

# ./inq.hpux64 ? |grep -i vers
Inquiry utility, Version V7.3-1059 (Rev 2.0) (SIL Version V7.1.2.0 (Edit Level 1059)

other link has no inq anymore OR need somehow privileged user maybe ?
S. Ney
Trusted Contributor

Re: inq utility

you could also do ioscan -m lun with 11.31
disk 76 64000/0xfa00/0x30 esdisk CLAIMED DEVICE online HP OPEN-V
0/3/1/0/4/0.0x50060e8005b21a06.0x4014000000000000
0/3/1/0/4/1.0x50060e8005b21a16.0x4014000000000000
0/7/1/0/4/0.0x50060e8005b21a02.0x4014000000000000
0/7/1/0/4/1.0x50060e8005b21a12.0x4014000000000000
/dev/disk/disk76 /dev/rdisk/disk76