TGT−SETUP−LUN - Online Linux Manual PageSection : 8
Updated : 05/11/2016
Source : [FIXME: source]
Note : [FIXME: manual]
NAMEtgt-setup-lun − Helper script that creates a target, adds a device to the target, and defines initiators that can connect to the target
SYNOPSIStgt−setup−lun −d <device> −n <targetname> [−b <bsname>] [−t <transport>] [initiator_IP...] [−h]
DESCRIPTIONCreates a target according to the supplied target_name. tgtd must be running. The format of the default IQN generated from the target name is: "iqn.2001−04.com.<hostname>−<target_name>", or a complete IQN may be given. The target name must be unique. The script then adds the requested device to the target. If specific IP addresses are defined, it adds them to the list of allowed initiators for that target. If no IP addresses is defined, it defines that the target accepts any initiator.
EXAMPLESCreate a target that uses /dev/sdb1 and allows connections only from 192.168.10.81: tgt−setup−lun −d /dev/sdb1 −n my_target 192.168.10.81
Create a target that uses /dev/sdb1 and allows connections only from 192.168.10.81 and 192.168.10.82: tgt−setup−lun −d /dev/sdb1 −n my_target 192.168.10.81 192.168.10.82
Create a target that uses /dev/sdb1 and allows connections from any initiator: tgt−setup−lun −d /dev/sdb1 −n my_target
Display help: tgt−setup−lun −h
AUTHORWritten by Erez Zilber
SEE ALSOtargets.conf(5), tgtd(8), tgtadm(8), tgtimg(8), tgt−admin(8). http://stgt.sourceforge.net/
REPORTING BUGSReport bugs to <stgt@vger.kernel.org>
COPYRIGHTCopyright © Voltaire Ltd. 2008. 0
Johanes Gumabo
Data Size : 6,977 byte
man-tgt-setup-lun.8Build : 2024-12-05, 20:55 :
Visitor Screen : x
Visitor Counter ( page / site ) : 2 / 230,814
Visitor ID : :
Visitor IP : 3.145.108.87 :
Visitor Provider : AMAZON-02 :
Provider Position ( lat x lon ) : 39.962500 x -83.006100 : x
Provider Accuracy Radius ( km ) : 1000 :
Provider City : Columbus :
Provider Province : Ohio , : ,
Provider Country : United States :
Provider Continent : North America :
Visitor Recorder : Version :
Visitor Recorder : Library :
Online Linux Manual Page : Version : Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page : Library : lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page : Library : lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base : Version : Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base : Library : lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36
Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.