ib_srpt/README: Simplify the instructions for logging in to an SRP target

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5073 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2013-10-18 08:36:47 +00:00
parent db2c0442d3
commit 7faa68e8ce
+4 -4
View File
@@ -117,14 +117,14 @@ First of all, load the SRP kernel module as follows:
modprobe ib_srp
Next, discover the new SRP target by running the ibsrpdm command:
Next, discover the new SRP target by running the srp_daemon command:
ibsrpdm -c
for d in /dev/infiniband/umad*; do srp_daemon -oacd$d; done
If you want to let the initiator system log in to all SRP targets available
in the same InfiniBand subnet that is possible as follows:
in the same InfiniBand subnet that is possible as follows (-e = execute):
ibsrpdm -c | while read target_info; do echo "${target_info}" > /sys/class/infiniband_srp/${SRP_HCA_NAME}/add_target; done
for d in /dev/infiniband/umad*; do srp_daemon -oecd$d; done
If you want to let the initiator log in to a specific target you can do that
e.g. as follows: