1TGTADM(8)                 System Management Commands                 TGTADM(8)
2
3
4

NAME

6       tgtadm - Linux SCSI Target Administration Utility.
7

SYNOPSIS

9       tgtadm --lld [driver] --op [operation] --mode [mode] [OPTION]...
10

DESCRIPTION

12       tgtadm is used to monitor and modify everything about Linux SCSI target
13       software: targets, volumes, etc.
14

OPTIONS

16       --lld [driver] --op new --mode target --tid=[id] --targetname [name]
17
18       add a new target with [id] and [name].
19
20       --lld [driver] --op delete --mode target --tid=[id]
21
22       delete specific target with [id]. The target must have no active I_T
23       nexus.
24
25       --lld [driver] --op show --mode target
26
27       show all the targets.
28
29       --lld [driver] --op show --mode target --tid=[id]
30
31       show target parameters of a target with [id].
32
33       --lld [driver] --op new --mode=logicalunit --tid=[id] --lun=[lun]
34       --backing-store [path]
35
36       add a new logical unit with [lun] to specific target with [id]. The
37       logical unit is offered to the initiators. [path] must be block device
38       files (including LVM and RAID devices) or regular files. lun0 is
39       reserved for a special device automatically created.
40
41       --lld [driver] --op delete --mode=logicalunit --tid=[id] --lun=[lun]
42
43       delete specific logical unit with [lun] that the target with [id] has.
44
45       --lld [driver] --op bind --mode=target --tid=[id] --initiator-
46       address=[address]
47
48       add the address to the access lists of the target with [id]. Initiators
49       with the address can access to the target. 'ALL' is a special address
50       to allow all initiators to access to a target.
51
52       --lld [driver] --op unbind --mode=target --tid=[id] --initiator-
53       address=[address]
54
55       delete the address from the access lists of the target with [id].
56
57       --lld [driver] --op update --mode=target --tid=[id] --name=[parameter]
58       --value=[value]
59
60       change the value of [parameter] of the target with [id] to [value].
61
62       --version
63
64       display version and exit
65
66       --help
67
68       display a list of available options and exits
69

REPORTING BUGS

71       Report bugs to <stgt-devel@lists.berlios.de>
72
73
74
75System Management Commands        2007-06-20                         TGTADM(8)
Impressum