Operating System - HP-UX
1834344 Members
2329 Online
110066 Solutions
New Discussion

Re: How to check the bus number whit persistent device

 
merieux
Frequent Advisor

How to check the bus number whit persistent device

Hi ,

Whith the legacy device ( cxtxdx ) it was easy to check the bus/controler number. Now with the persistent device ( diski ) is not so easy .

The method consist to identify the hardware path via an ioscan command .

I would like to know if all the systems have a common syntax for the Hardware path . I have to get the Hardware path, via a script, and extract the controller/bus number .

on my system the disk disk9 have an hardware path of 0/3/2/0.0x1.0x0 . The controller/bus number is 3 . Is anyone can confirm me that the sysntax of the hardware path is already the same on all the kind of HP system. If you have a command which give me the bus/controller number , it is also ok .

Thank you for your replies ,
Regards


7 REPLIES 7
Torsten.
Acclaimed Contributor

Re: How to check the bus number whit persistent device

>> I would like to know if all the systems have a common syntax for the Hardware path .


Unfortunately not nowadays (but it was years ago). This is pretty different from one model to the other.

See the user guide for details.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
merieux
Frequent Advisor

Re: How to check the bus number whit persistent device

thanks ,

But how to be sure to have the controller/bus number whitout chck my tools on all HP systems ?
Emil Velez
Honored Contributor

Re: How to check the bus number whit persistent device

you can correlate the lecacy device files which still exist to agile device files with

ioscan -m dsf

That shows you the correlation and shows all of the paths
Jupinder Bedi
Respected Contributor

Re: How to check the bus number whit persistent device

ioscan -m dsf is correct and also if you have powerpath you can check it by using


powermt display dev=all
All things excellent are as difficult as they are rare
merieux
Frequent Advisor

Re: How to check the bus number whit persistent device

Yes ,

Right now the legacy devices are always supported. HP plan to suppress the support of the devices in the next release.

I would like to have a solution which allow me to don't use the legacy device even if it is only for consultation purpose .

About powerpath : It depend of the system , not always. And the goal of persistent devices is to use natives mutipahthing functionalities provided by the kernel. So this is not a solution for me .
Torsten.
Acclaimed Contributor

Re: How to check the bus number whit persistent device

If you see this path

0/3/2/0.0x1.0x0

the internal path 0/3/2/0 will remain.

As said, what this path means depends on the server model.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
sujit kumar singh
Honored Contributor

Re: How to check the bus number whit persistent device

hi

you can run

ioscan -m dsf
ioscan -m hwpath


do a comparison and you shall get all informations as wished.

regards
Sujit