[OpenIndiana-discuss] mapping target number to disk?
Dan Swartzendruber
dswartz at druber.com
Mon Jun 11 16:48:55 UTC 2012
Hmmm, nothing obvious leaps out. Looking at output from sasinfo command:
sasinfo target-port -v
Target Port SAS Address: 50014ee204411a53
Type: SATA Device
HBA Port Name: /dev/cfg/c13
Expander Device SAS Address: None (Failed to Get Attached Port)
Target Port SAS Address: 50014ee0abcee0a9
Type: SATA Device
HBA Port Name: /dev/cfg/c6
Expander Device SAS Address: None (Failed to Get Attached Port)
Target Port SAS Address: 50014ee206ced4ec
Type: SATA Device
HBA Port Name: /dev/cfg/c3
Expander Device SAS Address: None (Failed to Get Attached Port)
Target Port SAS Address: 5000c5000d3c80fd
Type: SAS Device
HBA Port Name: /dev/cfg/c10
Expander Device SAS Address: None (Failed to Get Attached Port)
Target Port SAS Address: 50014ee2af872299
Type: SATA Device
HBA Port Name: /dev/cfg/c9
Expander Device SAS Address: None (Failed to Get Attached Port)
Target Port SAS Address: 5000cca00b078f2d
Type: SAS Device
HBA Port Name: /dev/cfg/c8
Expander Device SAS Address: None (Failed to Get Attached Port)
Target Port SAS Address: 500a07510324d633
Type: SATA Device
HBA Port Name: /dev/cfg/c5
Expander Device SAS Address: None (Failed to Get Attached Port)
Target Port SAS Address: 50014ee25c240034
Type: SATA Device
HBA Port Name: /dev/cfg/c2
Expander Device SAS Address: None (Failed to Get Attached Port)
Target Port SAS Address: 50014ee2aedf73ce
Type: SATA Device
HBA Port Name: /dev/cfg/c1
Expander Device SAS Address: None (Failed to Get Attached Port)
is the integer after /dev/cfg/c in these strings the target number? If not,
how do I figure this out?
More information about the OpenIndiana-discuss
mailing list