This section provides information about a few subcommands of the sasinfo command. For more information about the other subcommands available for the sasinfo command, see the sasinfo(1M) man page.
You can display the list of the SAS HBAs on the host by using the sasinfo hba -v command.
For example:
# sasinfo hba -v HBA Name: SUNW-mpt_sas-0 Manufacturer: ABCETAS2304 Model: T5-2_D1 Firmware Version: 14.0.0.0 FCode/BIOS Version: not available Serial Number: ABCETAS2304ALLT5-2_D1 Driver Name: mpt_sas Driver Version: MPTSAS HBA Driver 00.00.00.29 Number of HBA Ports: 2 HBA Name: SUNW-mpt_sas-1 Manufacturer: ABCETAS2304 Model: T5-2_D1 Firmware Version: 14.0.0.0 FCode/BIOS Version: not available Serial Number: ABCETAS2304LLT5-2_D1 Driver Name: mpt_sas Driver Version: MPTSAS HBA Driver 00.00.00.29 Number of HBA Ports: 3
You can display all the port information of the SAS HBAs connected to the host by using the sasinfo hba-port -v command.
For example:
# sasinfo hba-port -v HBA Name: SUNW-mpt_sas-0 HBA Port Name: /dev/cfg/c2 Type: SAS Device State: online Local SAS Address: 508002000168bd40 Attached SAS Address: 5000cca01615535d Number of Phys: 1 HBA Port Name: /dev/cfg/c3 Type: SAS Device State: online Local SAS Address: 508002000168bd40 Attached SAS Address: 5000cca01628a9fd Number of Phys: 1 HBA Name: SUNW-mpt_sas-1 HBA Port Name: /dev/cfg/c1 Type: SAS Device State: online Local SAS Address: 508002000168bd41 Attached SAS Address: 0000000000000003 Number of Phys: 1 HBA Port Name: /dev/cfg/c5 Type: SAS Device State: online Local SAS Address: 508002000168bd41 Attached SAS Address: 5000cca0561e9371 Number of Phys: 1 HBA Port Name: /dev/cfg/c6 Type: SAS Device State: online Local SAS Address: 508002000168bd41 Attached SAS Address: 5000cca056188879 Number of Phys: 1
You can display all the SAS logical units by using the sasinfo lu -v command.
For example:
# sasinfo lu -v OS Device Name: /dev/rdsk/c0t5000CCA056188878d0s2 HBA Port Name: /dev/cfg/c6 Target Port SAS Address: 5000cca056188879 LUN: 0 Vendor: EXAMPLE Product: A109060SAMPLE600G Device Type: Disk Device OS Device Name: /dev/rdsk/c0t5000CCA0561E9370d0s2 HBA Port Name: /dev/cfg/c5 Target Port SAS Address: 5000cca0561e9371 LUN: 0 Vendor: EXAMPLE Product: A109060SAMPLE600G Device Type: Disk Device