]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - usr.sbin/iscsid/iscsid.8
bhnd(9): Fix a few mandoc related issues
[FreeBSD/FreeBSD.git] / usr.sbin / iscsid / iscsid.8
1 .\" Copyright (c) 2012 The FreeBSD Foundation
2 .\"
3 .\" This software was developed by Edward Tomasz Napierala under sponsorship
4 .\" from the FreeBSD Foundation.
5 .\"
6 .\" Redistribution and use in source and binary forms, with or without
7 .\" modification, are permitted provided that the following conditions
8 .\" are met:
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.
14 .\"
15 .\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS 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 AUTHORS 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
25 .\" SUCH DAMAGE.
26 .\"
27 .\" $FreeBSD$
28 .\"
29 .Dd May 28, 2017
30 .Dt ISCSID 8
31 .Os
32 .Sh NAME
33 .Nm iscsid
34 .Nd iSCSI initiator daemon
35 .Sh SYNOPSIS
36 .Nm
37 .Op Fl P Ar pidfile
38 .Op Fl d
39 .Op Fl l Ar loglevel
40 .Op Fl m Ar maxproc
41 .Op Fl t Ar seconds
42 .Sh DESCRIPTION
43 The
44 .Nm
45 daemon is the userspace component of the iSCSI initiator,
46 responsible for performing the Login Phase
47 of iSCSI connections and the SendTargets discovery.
48 .Pp
49 Upon startup, the
50 .Nm
51 daemon opens the iSCSI initiator device file and waits for requests
52 from the kernel component,
53 .Xr iscsi 4 .
54 .Nm
55 does not use any configuration files.
56 All needed information is supplied by the kernel.
57 .Pp
58 When the
59 .Nm
60 daemon is not running, already established iSCSI connections continue
61 to work.
62 However, establishing new connections, or recovering existing ones in case
63 of connection error, is not possible.
64 .Pp
65 The following options are available:
66 .Bl -tag -width ".Fl P Ar pidfile"
67 .It Fl P Ar pidfile
68 Specify alternative location of a file where main process PID will be stored.
69 The default location is
70 .Pa /var/run/iscsid.pid .
71 .It Fl d
72 Debug mode.
73 The daemon sends verbose debug output to standard error, and does not
74 put itself in the background.
75 The daemon will also not fork and will exit after processing one connection.
76 This option is only intended for debugging the initiator.
77 .It Fl l Ar loglevel
78 Specifies debug level.
79 The default is 0.
80 .It Fl m Ar maxproc
81 Specifies limit for concurrently running child processes handling
82 connections.
83 The default is 30.
84 Setting it to 0 disables the limit.
85 .It Fl t Ar seconds
86 Specifies timeout for login session, after which the connection
87 will be forcibly terminated.
88 The default is 60.
89 Setting it to 0 disables the timeout.
90 .El
91 .Sh FILES
92 .Bl -tag -width ".Pa /var/run/iscsid.pid" -compact
93 .It Pa /dev/iscsi
94 The iSCSI initiator device file.
95 .It Pa /var/run/iscsid.pid
96 The default location of the
97 .Nm
98 PID file.
99 .El
100 .Sh EXIT STATUS
101 The
102 .Nm
103 utility exits 0 on success, and >0 if an error occurs.
104 .Sh SEE ALSO
105 .Xr iscsi 4 ,
106 .Xr iscsictl 8
107 .Sh HISTORY
108 The
109 .Nm
110 command appeared in
111 .Fx 10.0 .
112 .Sh AUTHORS
113 The
114 .Nm
115 utility was developed by
116 .An Edward Tomasz Napierala Aq Mt trasz@FreeBSD.org
117 under sponsorship from the FreeBSD Foundation.