Veritas Volume Manager 5.1 SP1 Administrator"s Guide (5900-1506, April 2011)

To list the targets configured from a Host Bus Adapter or port
You can filter based on a HBA or port, using the following command:
# vxddladm list targets [hba=hba_name|port=port_name]
For example, to obtain the targets configured from the specified HBA:
# vxddladm list targets hba=c2
TgtID Alias HBA-ID State Address
-----------------------------------------------------------------
c2_p0_t0 - c2 Online 50:0A:09:80:85:84:9D:84
Listing the devices configured from a Host Bus Adapter and
target
You can obtain information about all the devices configured from a Host Bus
Adapter. This includes the following information:
The parent target.Target-ID
Whether the device is Online or Offline.State
Whether the device is claimed by DDL. If claimed, the output
also displays the ASL name.
DDL status
To list the devices configured from a Host Bus Adapter
To obtain the devices configured, use the following command:
# vxddladm list devices
Device Target-ID State DDL status (ASL)
------------------------------------------------------------
c2t0d2 c2_p0_t0 Online CLAIMED (libvxemc.so)
c3t1d2 c3_p0_t1 Online SKIPPED
c4t1d2 c4_p0_t1 Offline ERROR
c4t1d2 c4_p0_t2 Online EXCLUDED
c4t5d2 c4_p0_t5 Offline MASKED
To list the devices configured from a Host Bus Adapter and target
To obtain the devices configured from a particular HBA and target, use the
following command:
# vxddladm list devices target=target_name
Administering disks
Discovering and configuring newly added disk devices
90