このセクションでは、sasinfo コマンドのいくつかのサブコマンドについて説明します。sasinfo コマンドについて使用可能なほかのサブコマンドの詳細については、sasinfo(1M) のマニュアルページを参照してください。
sasinfo hba -v コマンドを使用して、ホスト上の SAS HBA の一覧を表示できます。
例:
# 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
sasinfo hba-port -v コマンドを使用して、ホストに接続されている SAS HBA のすべてのポート情報を表示できます。
例:
# 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
sasinfo lu -v コマンドを使用して、すべての SAS 論理ユニットを表示できます。
例:
# 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