You can obtain information about all the targets configured from a Host Bus Adapter or a port.
Table: Target information shows the target information.
Table: Target information
Field |
Description |
---|---|
Alias |
The alias name, if available. |
HBA-ID |
Parent HBA or port. |
State |
Whether the device is Online or Offline. |
Address |
The hardware address. |
To list the targets
# vxddladm list targets
The following is a sample output:
TARGET-ID ALIAS HBA-ID STATE ADDRESS ----------------------------------------------------------------- c2_p0_t0 - c2 Online 50:0A:09:80:85:84:9D:84 c3_p0_t1 - c3 Online iqn.1992-08.com.netapp:sn.84190939
To list the targets configured from a Host Bus Adapter or port
# 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
TARGET-ID ALIAS HBA-ID STATE ADDRES -------------------------------------------------------------- c2_p0_t0 - c2 Online 50:0A:09:80:85:84:9D:84