SRP_DAEMON(8) USER COMMANDS SRP_DAEMON(8) (NAME) srp_daemon - SRP InfiniBand (SYNOPSIS) srp_daemon [-vVcaeon] [-d umad-device | -i infiniband-device [-p port-num] | -j dev:port] [-t timeout(ms)] [-r retries] [-R rescan-time] [-f rules-file] (DESCRIPTION) SCSI RDMA InfiniBand ( SRP) IB . srp_daemon . srp_daemon . srp_daemon SA . srp_daemon SRP . srp_daemon SRP . SA srp_daemon . srp_daemon ( /etc/srp_daemon.conf ) . srp_daemon . (OPTIONS) -v . -V ( ). -i infiniband-device infiniband-device. -d -j . -p port-num port-num ( 1). -i -d -j . -j dev:port port InfiniBand dev. -d -i -p . -d umad-device umad-device ( /dev/infiniband/umad0). -i -p -j . -c (pipe) /sys/class/infiniband_srp/srp--/add_target. -a . ibsrpdm . -e . -o ibsrpdm . -R rescan-time rescan-time . -R . -T retry-timeout retry-timeout . -R . retry- timeout 0 . srp_daemon srp_daemon . -f rules-file rules-file. -f /etc/srp_daemon.conf . rules-file (a d ) . id_ext ioc_guid dgid service_id . . srp_daemon . . . max_cmd_per_lun max_sect . -t timeout timeout MAD (: ). -r retries retries MAD (: ). -n - initiator_ext . --systemd systemd. (FILES) /etc/srp_daemon.conf - . -f rules-file . (a d ) . id_ext ioc_guid dgid service_id . . srp_daemon . . . max_cmd_per_lun max_sect. (EXAMPLES) srp_daemon -e -i mthca0 -p 1 -R 60 ( 1 mthca0. ) srp_daemon -o -c -a ( - ibsrpdm) srp_daemon -e -f rules.txt ( rules.txt) ( /etc/srp_daemon.conf): ------------------------------------------------------------------------ # Rules file example # This is a comment # disallow the following dgid d dgid=fe800000000000000002c90200402bd5 # allow target with the following ioc_guid a ioc_guid=00a0b80200402bd7 # allow target with the following id_ext and ioc_guid. And setting max_cmd_per_lun to 31. a id_ext=200500A0B81146A1,ioc_guid=00a0b80200402bef,max_cmd_per_lun=31 # disallow all the rest d (SEE ALSO) ibsrpdm(8) (AUTHORS) Roland Dreier Ishai Rabinovitz OpenFabrics September 5, 2006 SRP_DAEMON(8)