iscsid
—
interface to kernel iSCSI driver
The iSCSI initiator runs as a kernel driver, and provides access to iSCSI
targets running across a network using the iSCSI protocol, RFC 3720. The
iscsid
utility itself interfaces to the kernel iSCSI
driver, and also communicates, using
isns(3), with the iSCSI name
service running on other hosts to locate services and iSCSI instances. In
normal operation, iscsid
is a standard daemon, and
will detach from the controlling terminal using
daemon(3) and then loops,
reading requests, processing them, and sending responses. Communication takes
place over a Unix domain socket. iscsid
exits on
receiving a terminate message, (no response to one that is sent to the
kernel), or when an error occurs reading from or writing to the socket.
The -d
flag increases the log level to
lvl. At level 0 only start and stop messages are
logged. The -D
flag causes
iscsid
to remain in the foreground and to write log
output to stdout.
It is envisaged that user-level communication take place with
iscsid
using the
iscsictl(8) utility, rather
than directly over its communication socket. An example of setting up the
in-kernel iSCSI initiator is shown in
iscsictl(8).
The iscsid
utility appeared in NetBSD
6.0.
Alistair Crooks
<agc@NetBSD.org> wrote
this manual page. The iscsid
utility was contributed
by Wasabi Systems, Inc.