Sharing Knowledge | System Admin Articles

Finding MPIO path associated to vscsi adapter in AIX 5L



how to determine which MPIO path is associated to a vscsi adapter in AIX 5L M7HQW5MU96RP 



To determine which MPIO path is associated to a vscsi adapter in AIX 5L:

# lspath -F "name path_id parent connection status"

The output returns something similar to:






hdisk0 0 vscsi0 810000000000 Enabled
hdisk0 1 vscsi1 810000000000 Enabled
hdisk1 0 vscsi0 820000000000 Enabled
hdisk1 1 vscsi1 820000000000 Enabled

The first field is the hard disk.

The second field is the "Path" number (seen with 'lspath')
The third field is the parent (vscsi adapter)
The fourth field is the connection
The fifth field is the status (Enabled, Disabled, Missing, etc) 


Example:

lspath -F "name path_id parent connection status"


Labels: AIX, Quick HOWTO

My Profile PhotoAbout the Author

I'm Parthiban, An UNIX System Admin by Profession. I'm Experienced in Linux/Unix System Administration and Scripting. I have done lot of work on the infrastructure Mgmt side in Linux, UNIX and Windows system administration, Hardware, Storage and Data center. I'm blogging since 2008.
Follow Me On Twitter or On Facebook

0 Comments for "Finding MPIO path associated to vscsi adapter in AIX 5L"

What do you think about this Article? Add your Opinion..!

Back To Top