1ISCSI-TARGET(8)           BSD System Manager's Manual          ISCSI-TARGET(8)
2

NAME

4     iscsi-target — service remote iSCSI requests
5

SYNOPSIS

7     iscsi-target [-46DV] [-b block length] [-f configuration file]
8                  [-p port number] [-s maximum number of sessions]
9                  [-t target name] [-v verbose arg]
10

DESCRIPTION

12     iscsi-target is the server for iSCSI requests from iSCSI initiators.
13     iscsi-target listens for discovery and login requests on the required
14     port, and responds to those requests appropriately.
15
16     Options and operands available for iscsi-target:
17
18     -4      iscsi-target will listen for IPv4 connections, and respond back
19             using IPv4.  This is the default address family.
20
21     -6      iscsi-target will listen for IPv6 connections, and respond back
22             using IPv6.
23
24     -b blocksize
25             Specify the underlying block size for iSCSI storage which will be
26             served.  The possible sizes are: 512, 1024, 2048, and 4096 bytes,
27             with the default being 512 bytes.
28
29     -D      When this option is specified, iscsi-target will not detach
30             itself from the controlling tty, and will not become a daemon.
31             This can be useful for debugging purposes.
32
33     -f configfile
34             Use the named file as the configuration file.  The default file
35             can be found in /etc/iscsi/targets.  See targets(5) for more
36             information.
37
38     -p port number
39             Use the port number provided as the argument as the port on which
40             to listen for iSCSI service requests from initiators.
41
42     -s maximum number of sessions
43             Allow the maximum number of sessions to be initiated when con‐
44             necting to the target.
45
46     -t filename
47             The target name (as it appears to the iSCSI initiator) can be
48             specified using this flag.
49
50     -V      iscsi-target will print the utility name and version number, and
51             the address for bug reports, and then exit.
52
53     -v argument
54             The amount of information shown can be varied by using this com‐
55             mand.  Possible values of argument are net to show network-
56             related information, iscsi to show iSCSI protocol-related infor‐
57             mation, scsi to show SCSI protocol information, and all to show
58             information from all of the above arguments.
59

FILES

61     /etc/iscsi/targets         the list of exported storage
62     /var/run/iscsi-target.pid  the PID of the currently running iscsi-target
63

SEE ALSO

65     targets(5)
66

HISTORY

68     The iscsi-target utility first appeared in NetBSD 4.0.
69
70BSD                              May 27, 2006                              BSD
Impressum