1 .\" Copyright (c) 2013 Edward Tomasz Napierala
2 .\" Copyright (c) 2015-2017 Alexander Motin <mav@FreeBSD.org>
3 .\" Copyright (c) 2017 Ngie Cooper <ngie@FreeBSD.org>
4 .\" All rights reserved.
6 .\" Redistribution and use in source and binary forms, with or without
7 .\" modification, are permitted provided that the following conditions
9 .\" 1. Redistributions of source code must retain the above copyright
10 .\" notice, this list of conditions and the following disclaimer.
11 .\" 2. Redistributions in binary form must reproduce the above copyright
12 .\" notice, this list of conditions and the following disclaimer in the
13 .\" documentation and/or other materials provided with the distribution.
15 .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
16 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
17 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
18 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
19 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
21 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
33 .Nd CAM Target Layer iSCSI target frontend
35 To compile this driver into the kernel,
36 place the following lines in your
37 kernel configuration file:
38 .Bd -ragged -offset indent
44 Alternatively, to load the driver as a
45 module at boot time, place the following line in
47 .Bd -literal -offset indent
53 subsystem provides the kernel component of an iSCSI target.
54 The target is the iSCSI server, providing LUNs backed by local files
55 and volumes to remote initiators.
56 The userspace component is provided by
61 frontend and uses infrastructure provided by
64 The following variables are available as both
69 .Bl -tag -width indent
70 .It Va kern.cam.ctl.iscsi.debug
71 Verbosity level for log messages from the kernel part of iSCSI target.
72 Set to 0 to disable logging or 1 to warn about potential problems.
73 Larger values enable debugging output.
75 .It Va kern.cam.ctl.iscsi.maxtags
76 The number of outstanding commands to advertise to each iSCSI initiator.
77 Current implementation is not very accurate, so do not set this below 2.
79 .It Va kern.cam.ctl.iscsi.ping_timeout
80 The number of seconds to wait for the iSCSI initiator to respond to a NOP-In
82 In the event that there is no response within that time the session gets
84 Set to 0 to disable sending NOP-In PDUs.
95 subsystem first appeared in
108 subsystem was developed by
109 .An Edward Tomasz Napierala Aq Mt trasz@FreeBSD.org
110 under sponsorship from the FreeBSD Foundation.
111 This manual page was written by
112 .An Ngie Cooper Aq Mt ngie@FreeBSD.org .