summaryrefslogtreecommitdiff
path: root/doc/iscsi_discovery.8
blob: c46223b362cbddf7d8c0c47eb9a61d34631a9bff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
.de Vb \" Begin verbatim text
.ft CW
.nf
.ne \\$1
..

.TH "iscsi_discovery" 8
.SH NAME
iscsi_discovery \- discover iscsi devices
.SH SYNOPSIS
.B iscsi_discovery <IP> [-p <port>] [-d] [-t <tcp|iser> [-f]] [-m] [-l]

.SH DESCRIPTION
Perform send-targets discovery to the specified IP. If a discovery record
is generated, try to login to the portal using iSER and TCP transports
(-t flag specifies the requested transport type, TCP is the default).
If login using a certain transport succeeds, mark the portal for automatic
login (unless -m flag is used), and disconnect (unless -l flag is used).

For iscsi discovery to work, open-iscsi services must be running. e.g. iscsid 
should be up, and the iscsi modules loaded. This is best accomplished by the
init.d startup script.

.\" .SH OPTIONS
.TP
.BI [-p=]\fIport\-number\fP
set the port number (defualt is 3260).
.TP
.BI [-d]
print debugging information.
.TP
.BI [-t=]\fItransport\-type\fP
set transport (default is tcp).
.TP
.BI [-f]
force specific transport -
disable the fallback to tcp (default is fallback enabled).
force the transport specified by the argument of the -t flag.

.TP
.BI [-m]
manual startup - will set manual startup (default is automatic startup).
.TP
.BI [-l]
login - login to the new discovered nodes (defualt is false).

.SH AUTHOR
Written by Dan Bar Dov
.SH "REPORTING BUGS"
Report bugs to <erezz@voltaire.com>.
.SH COPYRIGHT
Copyright \(co Voltaire Ltd. 2006.