Name

tgtd — The SCSI Target Daemon

Synopsis

tgtd

tgtd [-C --control-port <INTEGER>] [-d --debug <INTEGER>] [-f --foregound] [-h --help] [--iscsi <...>]

DESCRIPTION

Tgtd is a SCSI Target daemon. It can be used to provide iSCSI target service to a network.

OPTIONS

-d --debug <INTEGER>

Set to non-zero value to activate additional debugging messages to be logged.

-f --foreground

Run the daemon in the foreground.

-h --help

Print help text to the screen.

-C --control-port <INTEGER>

This comamnd is used to specify the control port to use for this instance of tgtd. This allows to run multiple instances of TGTD on a host.

TGTADM has a matching argument to control which instance to connect to.

--iscsi <...>

ISCSI specific options. See the ISCSI section below for options specific to this frontend.

ISCSI options

These parameters apply only to the iSCSI frontend.

portal=<ip-address[:port]>

This option is used to bind tgtd to a specific ip-address/portal and/or port. By default tgtd will bind to port 3260 on the wildcard address.

Example: to bind tgtd to a specific address and port

	tgtd --iscsi portal=192.0.2.1:3260
      

SEE ALSO

tgtadm(8), tgt-admin(8), tgtimg(8), tgt-setup-lun(8). http://stgt.sourceforge.net/

COPYRIGHT/LICENSE


This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or (at
your option) any later version.

This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, see http://www.gnu.org/licenses/.