3.
Choose the device you want to use, and run the command again with the
option (as a root user):
4.
Find the result that corresponds to the target you want, and
add_target
5.
Look for the newly created devices in the
will look similar to this example (the partition names may vary):
6.
Create a mount point (as root) where you will mount the SRP device. For
example:
IB0054606-02 A
# 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
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
# cat /proc/partitions
major minor
#blocks
8
64
142325760 sde
8
65
142319834 sde1
8
80
71162880 sdf
8
81
71159917 sdf1
8
96
20480 sdg
8
97
20479 sdg1
mkdir /mnt/targetname
mount /dev/sde1 /mnt/targetname
NOTE
Use
rather than
sde1
information on creating mount points.
/proc/partitions
name
. See the
sde
mount(8)
B–SRP Configuration
OFED SRP Configuration
it into the
echo
file. The file
man page for more
B-25
-c
Need help?
Do you have a question about the OFED+ Host and is the answer not in the manual?