Monday, August 18, 2008

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

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 hdisk.
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"

2 comments:

Anonymous said...

when I do: lspath, the output gives me:
Missing hdisk0 vscsi0
Missing hdisk1 vscsi0
Missing hdisk1 vscsi1
Missing hdisk2 vscsi1
Missing hdisk3 vscsi0
Missing hdisk4 vscsi0
Missing hdisk3 vscsi1
Missing hdisk4 vscsi1
Enabled hdisk4 vscsi0
Enabled hdisk1 vscsi0
Enabled hdisk3 vscsi0
Enabled hdisk0 vscsi0
Enabled hdisk4 vscsi1
Enabled hdisk1 vscsi1
Enabled hdisk3 vscsi1
Enabled hdisk2 vscsi1

Do you know how to remove these missing disks?

grtz,
Bonno

Anonymous said...

no , juste passe commande "cfgmgr"