ISCSID(8) | System Manager's Manual | ISCSID(8)

# NAME

`iscsid` —
interface to kernel iSCSI driver

# SYNOPSIS

`iscsid` | [`-D`] [`-d` lvl]

# DESCRIPTION

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).

`iscsid` requires scsibus(4) and sd(4) compiled in the kernel to load the iscsi kernel module.

# SEE ALSO

daemon(3), isns(3), iscsictl(8)

# HISTORY

The `iscsid` utility appeared in NetBSD 6.0.

# AUTHORS

Alistair Crooks <agc@NetBSD.org> wrote this manual page. The `iscsid` utility was contributed by Wasabi Systems, Inc.

November 10, 2015 | NetBSD 9.4