Tgtd provides support for both emulated and passthrough of real devices.
Tgtd can emulate the following types of devices: disk : Normal disk device. Emulates a SCSI harddisk. tape : Tape device. Emulates a SCSI tape drive. cd : CD device. Emulates a SCSI DVD burner. changer : Media changer. Emulate the changer device for a virtual tape library or DVD jukebox.
-d --debug <INTEGER>
-C --control-port <INTEGER>
TGTADM has a matching argument to control which instance to connect to.
These parameters apply only to the iSCSI frontend.
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. The ip-address part (before the ":") can be missing to designate the wildcard address with a none-default port.
Example: to bind tgtd to a specific address and port
tgtd --iscsi portal=192.0.2.1:3260
Example: to bind tgtd to any address but a none-default port
tgtd --iscsi portal=:3251
tgtadm(8), tgt-admin(8), tgtimg(8), tgt-setup-lun(8). m[blue]http://stgt.sourceforge.net/m
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/.