Draft
Configuring Drivers and Services
OpenFabrics Drivers and Services Configuration and Startup
IB0056101-00 G.02 Preliminary 6-5
A
In the output, look for lines similar to these:
GUID: 0002c90200402c04
ID: LSI Storage Systems SRP Driver 200400a0b8114527
service entries: 1
service[ 0]: 200400a0b8114527 / SRP.T10:200400A0B8114527
GUID: 0002c90200402c0c
ID: LSI Storage Systems SRP Driver 200500a0b8114527
service entries: 1
service[ 0]: 200500a0b8114527 / SRP.T10:200500A0B8114527
GUID: 21000001ff040bf6
ID: Data Direct Networks SRP Target System
service entries: 1
service[ 0]: f60b04ff01000021 / SRP.T10:21000001ff040bf6
Note that not all the output is shown here; key elements are expected to show the match in Step 3.3. Choose the device you want to use, and run the command again with the -c option (as root):
#ibsrpdm -c
id_ext=200400A0B8114527,ioc_guid=0002c90200402c04,dgid=fe8000
00000000000002c90200402c05,pkey=ffff,service_id=200400a0b8114
527
id_ext=200500A0B8114527,ioc_guid=0002c90200402c0c,dgid=fe8000
00000000000002c90200402c0d,pkey=ffff,service_id=200500a0b8114
527
id_ext=21000001ff040bf6,ioc_guid=21000001ff040bf6,dgid=fe8000
000000000021000001ff040bf6,pkey=ffff,service_id=f60b04ff01000
021
4. Find the result that corresponds to the target you want, and echo it into the
add_target file:
#echo
"id_ext=21000001ff040bf6,ioc_guid=21000001ff040bf6,dgid=fe800
0000000000021000001ff040bf6,pkey=ffff,service_id=f60b04ff0100
0021,initiator_ext=0000000000000001" >
/sys/class/infiniband_srp/srp-ipath0-1/add_target