Start a Conversation

This post is more than 5 years old

Solved!

Go to Solution

11296

December 12th, 2007 11:00

symmetrix inquiry commands not working

Hi all,

On the aix host most of symcli commands are working like sympd , symdg , symcfg but
About inquiry commands like syminq , syminq ¿sym are not working ..what¿s the problem
Do I need to install inq utitilty for that ..it comes with symcli right????
See here if I type syminq it takes me to next command prompt without giving any result..

server1/root: /usr/symcli/bin > syminq
server1/root: /usr/symcli/bin >

server1/root: /usr/symcli/bin > syminq -sym
server1/root: /usr/symcli/bin >



What¿s the problem..

Thank you,

2 Intern

 • 

2.8K Posts

December 14th, 2007 07:00

server1/root: /usr/EMC/SYMCLI/V6.0.0/bin > ls -alt syminq
-r-xr-xr-x 1 root system 0 Dec 12 13:23 syminq


The date of the file explains WHEN the syminq command had been corrupted... The size (and the PS1 prompt) explain HOW it was corrupted ;-)

A "ls" in /usr/symcli/bin will show that all other executables have an older date .. while syminq was "touched" two days ago.

2 Intern

 • 

20.4K Posts

December 12th, 2007 13:00

nahh..you don't need inq for syminq to work correctly. Can you check something ..run syminq hba -fiber ...does that return information about your HBAs?

1 Rookie

 • 

92 Posts

December 12th, 2007 14:00

actually powerpath is not installed on the host where symcli resides...

thankyou...

1 Rookie

 • 

92 Posts

December 12th, 2007 14:00

Yes, I run syminq hba ¿fiber same thing it takes me to next command prompt line with out any result see below
Syminq , syminq ¿h , and syminq hba ¿fiber are giving nothing

server1/root: /usr/symcli/bin > syminq
server1/root: /usr/symcli/bin > syminq -h
server1/root: /usr/symcli/bin > syminq hba -fiber
server1/root: /usr/symcli/bin >

thank you..

1 Rookie

 • 

92 Posts

December 12th, 2007 14:00

syminq commands are works fine like 4 days back ...dynamox u remember me i have a problem with gate keepers 2 days back from that day onwards these inq commands are not working...

thank you...

1 Rookie

 • 

92 Posts

December 12th, 2007 14:00

even if i install inq utility same result???? ...then how to overcome this problem ...need to uninstall and install symcli again ???

suggest me

thank you..

2 Intern

 • 

20.4K Posts

December 12th, 2007 14:00

you see ..sympd, symdg ..commands are going against the symapi_db file ..while syminq actually issues SCSI inquiry against the devices. Everything looks ok in Powerpath ?

powermt display dev=all

looks clean ? no dead devices/paths ?

2 Intern

 • 

20.4K Posts

December 12th, 2007 14:00

the only time i have seen this on one of my system was when i had issues with PowerPath ...just for test ...download the inq utility and try it. I expect you will see the same result ..empty output.

2 Intern

 • 

20.4K Posts

December 12th, 2007 15:00

interesting .... let's try inq ...you don't need to install it ..just download it from powerlink and run it:

./inq.aix64_51

or whatever version you download

2 Intern

 • 

2.8K Posts

December 12th, 2007 23:00

pctech321 can you please use the "which" command to find where the executable you are using actually resides ??

crmidb0/root> which syminq
/usr/symcli/bin/syminq


It would be nice to see also if the logs show something interesting. (look in /var/symapi/log)...

1 Rookie

 • 

92 Posts

December 13th, 2007 09:00

Problem still exist

Yes I download the inq utility from ftp.emc.com and I run that one after that I get syminq command output like below ..

server1/root: /usr/dir1 > ./inq.aix64_51
Inquiry utility, Version V7.3-782 (Rev 1.0) (SIL Version V6.3.1.0 (Edit Level 782)
Copyright (C) by EMC Corporation, all rights reserved.
For help type inq -h.

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

------------------------------------------------------------------------
DEVICE :VEND :PROD :REV :SER NUM :CAP(kb)
------------------------------------------------------------------------
/dev/rhdisk21 :EMC :SYMMETRIX :5671 :5900225000 : 9504000
/dev/rhdisk22 :EMC :SYMMETRIX :5671 :5900226000 : 9504000
/dev/rhdisk23 :EMC :SYMMETRIX :5671 :5900227000 : 9504000
/dev/rhdisk24 :EMC :SYMMETRIX :5671 :5900228000 : 9504000
/dev/rhdisk25 :EMC :SYMMETRIX :5671 :5900229000 : 9504000

but after that I tryied other inq commands still not working at usr/symcli/bin or usr/dir1 path
see here..

server1/root: /usr/dir > syminq hba -fiber
ksh: syminq: not found.
server1/root: /usr/dir1 >

server1/root: /usr/symcli/bin > syminq hba -fiber
server1/root: /usr/symcli/bin >

and which syminq output is the below..

server1/root: / > which syminq
which: 0652-141 There is no syminq in /usr/bin /etc /usr/sbin /usr/ucb //bin /usr/bin/X11 /sbin . /usr/local/
Tivoli/bin/aix4-r1/bin /usr/local/Tivoli/bin/aix4-r1/ADE /usr/local/Tivoli/bin/aix4-r1/AEF /usr/local/Tivoli/
bin/aix4-r1/kerberos /usr/opt/ifor/ls/os/aix/bin.

Ur help is appreciated¿

Thank you¿

2 Intern

 • 

20.4K Posts

December 13th, 2007 10:00

can you cd into /opt/emc/SYMCLI/V6.4.1/bin directory and run ./syminq from there ?

2 Intern

 • 

20.4K Posts

December 13th, 2007 10:00

hmm...i have no clue ..if you can re-install SE ..i would try that next ..if you can not ..might try opening a ticket with support.

1 Rookie

 • 

92 Posts

December 13th, 2007 10:00

Yup I found that file syminq and I run syminq command see¿no output
It takes me to next command line..even execution mod is fine ..still inq commands give me no result

server1/root: /usr/EMC/SYMCLI/V6.0.0/bin > ls -alt syminq
-r-xr-xr-x 1 root system 0 Dec 12 13:23 syminq
server1/root: /usr/EMC/SYMCLI/V6.0.0/bin > ./syminq
server1/root: /usr/EMC/SYMCLI/V6.0.0/bin >

thank you..

3 Posts

December 13th, 2007 11:00

Did you have Power Path installed in that AIX system if yes which version???

When you run the syminq command, sometimes there will be no outputs. This can occur when the PowerPath cache is not updated after a recent
device reconfiguration on the Symmetrix system.

if it is So follow the procedures below.

Remove the device from PowerPath and
then add it back. Enter:
1.powermt remove
dev=
2.powercf ¿q
3.powermt save
4. powermt config

Regards
No Events found!

Top