5 – Software Installation
OpenFabrics Drivers and Services Configuration and Startup
IB0056101-00 G 5-25
A
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" > /sys/class/infiniband_srp/srp-ipath0-1/add_target
5. You can look for the newly created devices in the /proc/partitions file.
The file will look similar to this example (the partition names may vary):
# cat /proc/partitions
major minor #blocks name
8 64 142325760 sde
8 65 142319834 sde1
8 80 71162880 sdf
8 81 71159917 sdf1
8 96 20480 sdg
8 97 20479 sdg1
6. Create a mount point (as root) where you will mount the SRP device. For
example:
# mkdir /mnt/targetname
# mount /dev/sde1 /mnt/targetname