From: Craig Prescott <prescott-rKMKKiNZRMeVc3sceRu5cw@public.gmane.org>
To: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: SRP automatic target discovery
Date: Wed, 02 Feb 2011 15:27:23 -0500 [thread overview]
Message-ID: <4D49BE2B.3000503@hpc.ufl.edu> (raw)
Hi;
I'm having a problem with SRP automatic target discovery. I am using
srp_daemon with OFED 1.5.2 on the initiator. My one target machine with
several LUNs also uses OFED 1.5.2, and I am using scst 2.0.0.1 and srpt
2.0.0 on top of that.
On the initiator, I have SRP_LOAD=yes and SRP_DAEMON_ENABLE=yes. This
seems to work fine, and after rebooting, I can see the SRP targets on
the initiator, and srp_daemon running in the background:
[root@hpcoss2 ~]# ps auxww | grep srp
root 6635 0.0 0.0 63840 1176 ? S 12:04 0:00
/bin/bash /usr/sbin/srp_daemon.sh
root 6638 0.0 0.0 63836 1164 ? S 12:04 0:00
/bin/bash /usr/sbin/run_srp_daemon -e -c -n -i mlx4_1 -p 1 -R 60 -V
root 6647 0.0 0.0 31012 996 ? SLl 12:04 0:00
srp_daemon -e -c -n -i mlx4_1 -p 1 -R 60 -V
But if I add an additional target on the same target machine with, say:
[root@hpcoss1 ~]# echo "add 7:0:1:0 3"
>/proc/scsi_tgt/groups/Default/devices
the srp_daemon on the initiator never sees the new storage and
restarting srp_daemon doesn't seem to help.
If I remove the SRP scsi devices, unload the ib_srp module, and reload
it, I can see the new LUN (and I don't need to restart srp_daemon,
either). But I don't think that is how it is supposed to work.
Am I doing something wrong?
Thanks,
Craig Prescott
UF HPC Center
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next reply other threads:[~2011-02-02 20:27 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-02 20:27 Craig Prescott [this message]
[not found] ` <4D49BE2B.3000503-rKMKKiNZRMeVc3sceRu5cw@public.gmane.org>
2011-02-03 0:44 ` SRP automatic target discovery David Dillow
[not found] ` <1296693893.20674.4.camel-1q1vX8mYZiGLUyTwlgNVppKKF0rrzTr+@public.gmane.org>
2011-02-03 0:59 ` Vladislav Bolkhovitin
2011-02-03 11:32 ` Bart Van Assche
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4D49BE2B.3000503@hpc.ufl.edu \
--to=prescott-rkmkkinzrmevc3sceru5cw@public.gmane.org \
--cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.