User guide

BSRP Configuration
OFED SRP Configuration
IB0054606-02 A B-25
3. Choose the device you want to use, and run the command again with the -c
option (as a root user):
# ibsrpdm -c
id_ext=200400A0B8114527,ioc_guid=0002c90200402c04,dgid=fe
800000000000000002c90200402c05,pkey=ffff,service_id=20040
0a0b8114527
id_ext=200500A0B8114527,ioc_guid=0002c90200402c0c,dgid=fe
800000000000000002c90200402c0d,pkey=ffff,service_id=20050
0a0b8114527
id_ext=21000001ff040bf6,ioc_guid=21000001ff040bf6,dgid=fe
8000000000000021000001ff040bf6,pkey=ffff,service_id=f60b0
4ff01000021
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=f
e8000000000000021000001ff040bf6,pkey=ffff,service_id=f60b
04ff01000021,initiator_ext=0000000000000001" >
/sys/class/infiniband_srp/srp-ipath0-1/add_target
5. 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
NOTE
Use sde1 rather than sde. See the mount(8) man page for more
information on creating mount points.