~ubuntu-branches/ubuntu/precise/tgt/precise

« back to all changes in this revision

Viewing changes to doc/htmlpages/tgtd.8.html

  • Committer: Bazaar Package Importer
  • Author(s): Chuck Short
  • Date: 2011-02-08 10:31:04 UTC
  • mfrom: (1.2.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20110208103104-oots1az6acnkfvuw
Tags: 1:1.0.13-0ubuntu1
* New upstream release.
* debian/patches/make-tgt-setup-lun-executable: Dropped no longer needed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>tgtd</title><meta name="generator" content="DocBook XSL Stylesheets V1.73.2"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="refentry" lang="en"><a name="tgtd.8"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>tgtd &#8212; The SCSI Target Daemon</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="command">tgtd</code> </p></div><div class="cmdsynopsis"><p><code class="command">tgtd</code>  [-C --control-port &lt;INTEGER&gt;] [-d --debug &lt;INTEGER&gt;] [-f --foregound] [-h --help] [--iscsi &lt;...&gt;]</p></div></div><div class="refsect1" lang="en"><a name="id2475959"></a><h2>DESCRIPTION</h2><p>
2
 
      Tgtd is a SCSI Target daemon. It can be used to provide iSCSI target
3
 
      service to a network.
4
 
    </p></div><div class="refsect1" lang="en"><a name="id2475970"></a><h2>OPTIONS</h2><div class="variablelist"><dl><dt><span class="term">-d --debug &lt;INTEGER&gt;</span></dt><dd><p>
 
1
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>tgtd</title><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="refentry" title="tgtd"><a name="tgtd.8"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>tgtd &#8212; The SCSI Target Daemon</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="command">tgtd</code> </p></div><div class="cmdsynopsis"><p><code class="command">tgtd</code>  [-C --control-port &lt;INTEGER&gt;] [-d --debug &lt;INTEGER&gt;] [-f --foregound] [-h --help] [--iscsi &lt;...&gt;]</p></div></div><div class="refsect1" title="DESCRIPTION"><a name="id283058"></a><h2>DESCRIPTION</h2><p>
 
2
      Tgtd is a SCSI Target daemon. It can be used to provide SCSI target
 
3
      service to a network. The most common service is iSCSI but other services are also
 
4
      supported.
 
5
    </p></div><div class="refsect1" title="Device types"><a name="id283068"></a><h2>Device types</h2><p>
 
6
      Tgtd provides support for both emulated and passthrough of real devices.
 
7
    </p></div><pre class="screen">
 
8
    Tgtd can emulate the following types of devices:
 
9
    
 
10
    disk       : Normal disk device. Emulates a SCSI harddisk.
 
11
    tape       : Tape device. Emulates a SCSI tape drive.
 
12
    cd         : CD device. Emulates a SCSI DVD burner.
 
13
    changer    : Media changer. Emulate the changer device for a virtual tape library or DVD jukebox.
 
14
  </pre><div class="refsect1" title="OPTIONS"><a name="id283085"></a><h2>OPTIONS</h2><div class="variablelist"><dl><dt><span class="term">-d --debug &lt;INTEGER&gt;</span></dt><dd><p>
5
15
            Set to non-zero value to activate additional debugging messages to
6
16
            be logged.
7
17
          </p></dd><dt><span class="term">-f --foreground</span></dt><dd><p>
18
28
          </p></dd><dt><span class="term">--iscsi &lt;...&gt;</span></dt><dd><p>
19
29
            ISCSI specific options.
20
30
            See the ISCSI section below for options specific to this frontend.
21
 
          </p></dd></dl></div></div><div class="refsect1" lang="en"><a name="id2476058"></a><h2>ISCSI options</h2><p>
 
31
          </p></dd></dl></div></div><div class="refsect1" title="ISCSI options"><a name="id283167"></a><h2>ISCSI options</h2><p>
22
32
      These parameters apply only to the iSCSI frontend.
23
 
    </p><div class="refsect2" lang="en"><a name="id2476067"></a><h3>portal=&lt;ip-address[:port]&gt;</h3><p>
 
33
    </p><div class="refsect2" title="portal=&lt;ip-address[:port]&gt;"><a name="id283175"></a><h3>portal=&lt;ip-address[:port]&gt;</h3><p>
24
34
        This option is used to bind tgtd to a specific ip-address/portal and/or
25
35
        port. By default tgtd will bind to port 3260 on the wildcard address.
 
36
        The ip-address part (before the ":") can be missing to designate the
 
37
        wildcard address with a none-default port.
26
38
      </p><p>
27
39
      Example: to bind tgtd to a specific address and port
28
40
      </p><pre class="screen">
29
41
        tgtd --iscsi portal=192.0.2.1:3260
30
42
      </pre><p>
31
 
      </p></div></div><div class="refsect1" lang="en"><a name="id2476091"></a><h2>SEE ALSO</h2><p>
 
43
      Example: to bind tgtd to any address but a none-default port
 
44
      </p><pre class="screen">
 
45
        tgtd --iscsi portal=:3251
 
46
      </pre><p>
 
47
      </p></div></div><div class="refsect1" title="SEE ALSO"><a name="id283204"></a><h2>SEE ALSO</h2><p>
32
48
      tgtadm(8), tgt-admin(8), tgtimg(8), tgt-setup-lun(8).
33
49
      <a class="ulink" href="http://stgt.sourceforge.net/" target="_top">http://stgt.sourceforge.net/</a>
34
 
    </p></div><div class="refsect1" lang="en"><a name="id2476106"></a><h2>COPYRIGHT/LICENSE</h2><div class="literallayout"><p><br>
 
50
    </p></div><div class="refsect1" title="COPYRIGHT/LICENSE"><a name="id283218"></a><h2>COPYRIGHT/LICENSE</h2><div class="literallayout"><p><br>
35
51
This�program�is�free�software;�you�can�redistribute�it�and/or�modify<br>
36
52
it�under�the�terms�of�the�GNU�General�Public�License�as�published�by<br>
37
53
the�Free�Software�Foundation;�either�version�2�of�the�License,�or�(at<br>