Chapter 21. AIX 6.1 configuration guide  653
Draft Document for Review March 28, 2011 12:24 pm AIX.fm
host adapter locations. See the service manual for your system type to identify device 
locations.
Example 21-12   Disk status and location codes
# lsdev |grep -i mpio
hdisk2         Available 03-09-01 MPIO Other FC SCSI Disk Drive
The mpio_get_config command must be used to see all the available paths to the logical drive 
as shown in Example 21-13. This command displays the following information about the 
hdisks that are associated with the subsystem.
ň° hdisk name
ň° LUN number
ň° current ownership
ň° preferred path
ň° user-assigned label for the volume
Example 21-13   mpio_get_config output
# mpio_get_config -Av
Frame id 0:
    Storage Subsystem worldwide name: 608e5001bc9000004c5b683c
    Controller count: 2
    Partition count: 1
    Partition 0:
    Storage Subsystem Name = 'DS3524-FC'
        hdisk      LUN #   Ownership          User Label
        hdisk2         0   A (preferred)      aix1fc
The other command to list the available paths is lspath. This command displays one of three 
types of information about paths to an MPIO capable device. It either displays the operational 
status for one or more paths to a single device, or it displays one or more attributes for a 
single path to a single MPIO capable device. 
By default, this command will display the information in columnar form. When no flags are 
specified that qualify the paths to display, the three columns are status, device and parent as 
shown in Example 21-14. This example shows the output for a dual controller DS3500 
storage subsystem with a dual controller host configuration with one LUN attached. Besides, 
it show that the paths to the SAS1 hard disk is in missing state.
Example 21-14   lspath command output
# lspath
Enabled hdisk0 sas0
Enabled hdisk1 sas0
Note: This command is not available in the Virtual I/O Server IOS. In order to use the 
command it is necessary to run the oem_setup_env command first to start a root AIX shell. 
Afterwards, the mpio_get_config -Av command will be available to use it.
Important: To protect the configuration database, do not interrupt the mpio_get_config 
command. Stopping the command before it is complete can result in a corrupted database.