Disk Arrays
cancel
Showing results for 
Search instead for 
Did you mean: 

command to report info about LUN number and device file for a VA

SOLVED
Go to solution
CAS_2
Valued Contributor

command to report info about LUN number and device file for a VA

Hi

An HP Virtual Array 7400 (VA) is attached to my box by means of two fibre channel switches.

Command View 1.09 is installed on the system.
armdsp command shows LUNs defined on the VA. Each LUN is identified by a number and a WWN.

I didn't find a command to relate the LUN number with the device special file (for instance /dev/dsk/c4t11d2). The software for other HP disk array, as EVA or XP, contains commands to display this relationship (spmgr for EVA and xpinfo for XP).

Thanks.
8 REPLIES
Dave La Mar
Honored Contributor

Re: command to report info about LUN number and device file for a VA

spmgr display > some_output.txt

Regards,

dl
"I'm not dumb. I just have a command of thoroughly useless information."
Patrick Wallek
Honored Contributor

Re: command to report info about LUN number and device file for a VA

The 'armtopology' command is what you need for the VA7400.

# man armtopology

# armtopology host_name

Where host_name is the name of a server that is attached to the VA7400. You may have to execute it on each node.
CAS_2
Valued Contributor

Re: command to report info about LUN number and device file for a VA

armtopology reports nothing:

# armtopology myhost
Host Host Node WWN Host Port WWN Product Serial Number C RG LUN Device Host Device Path
----------------------------------------------------------------------------------------------------------------------
# armtopology
#

spmgr is not installed because my disk array is a VA, not an EVA.
Patrick Wallek
Honored Contributor

Re: command to report info about LUN number and device file for a VA

Are you running the command 'armtopology myhost' on myhost?

If not, then it may not work well. I *think* it is supposed to support talking to remote hosts, but I haven't been able to get that to work.

What happens if you just try:

# armtopology

For VA7400 armtopology is the command to use.

# man armtopology

for more info.
CAS_2
Valued Contributor

Re: command to report info about LUN number and device file for a VA

Yes, Patrick.

armtopolopgy myhost is executed in myhost.
CAS_2
Valued Contributor

Re: command to report info about LUN number and device file for a VA

I apology Patrick because you are right.

My host have has 5 IP addresses. The IP address needed to make armtopology to show the info doesn't match the IP address resolved for its host name. That was my mistake.

Patrick, please, answer again in order to assign you 10 points.

Patrick Wallek
Honored Contributor
Solution

Re: command to report info about LUN number and device file for a VA

Interesting. I've got 3 IP addresses on the machine I was running the command on and I got results from armtopology using all 3.

I'm glad you got the results you needed.
CAS_2
Valued Contributor

Re: command to report info about LUN number and device file for a VA

I have opened another thread about this behaviour.