1iscsitgtd(1M) System Administration Commands iscsitgtd(1M)
2
3
4
6 iscsitgtd - iSCSI Target daemon
7
9 iscsitgtd [-d door_file]
10
11
13 The iscsitgtd daemon process implements the iSCSI configuration, con‐
14 trol, and data paths, providing iSCSI Target Mode support in the
15 Solaris operating system.
16
17
18 The configuration and control path is by means of the Solaris Doors
19 subsystem (see door_create(3C)), and provides the interface between the
20 iSCSI Target administration utility, iscsitadm(1M), persistence config‐
21 uration data stored in the Service Configuration Facility (SCF) of the
22 service management facility (SMF). See smf(5).
23
24
25 The data path managed by the daemon exists between TPC/IP port 3260,
26 and the files, block devices, or raw SCSI devices configured as iSCSI
27 target LUNs.
28
30 The following options is supported:
31
32 -d door_file
33
34 Override the location of the Solaris Door used for configuration
35 from /var/run/iscsi_tgt_door to a door of one's choosing.
36
37
38 Solaris Configuration Facility (SCF)
39 The following options are supported:
40
41 PGR-basedir
42
43 SCSI-3 PGR base directory for ZVOL failover. Set to /.
44
45
46 daemonize
47
48 Run as Solaris daemon process. Either true or false.
49
50
51 dbg-lvl
52
53 Runtime debug level to console.
54
55
56 qlog-lvl
57
58 Runtime logging to /tmp/target_log.
59
60
61
62 The following are the logging values, in hexadecimal.
63
64 0x00001 - Connection errors
65 0x00002 - Connection login errors
66 0x00004 - Connection Non-I/O errors
67 0x00008 - Connection I/O errors
68 0x00010 - Session errors
69 0x00020 - Session login errors
70 0x00040 - Session Non-I/O errors
71 0x00080 - Session I/O errors
72 0x00100 - Emulation errors
73 0x00200 - Emulation Non-I/O errors
74 0x00400 - Emulation I/O errors
75 0x01000 - General errors
76 0x02000 - General details
77 0x04000 - iSNS details
78 0x10000 - SCSI-3 PGR errors
79 0x20000 - SCSI-3 PGR Non-I/O errors
80 0x40000 - SCSI-3 PGR I/O errors
81
82
83
85 Example 1 Listing All iscsitgt Values
86
87
88 The following commands lists all iscsitgt values.
89
90
91 # svccfg -s iscsitgt listprop iscsitgt
92
93
94
95 Example 2 Setting SCF Options
96
97
98 The following command sets the PGR-basedir option.
99
100
101 # svccfg -s iscsitgt setprop iscsitgt/PGR-basedir = astring: "/"
102
103
104
105
106 The following command sets the dbg-lvl option.
107
108
109 # svccfg -s iscsitgt setprop iscsitgt/dbg-lvl = integer: 0x80ffffff
110
111
112
114 See attributes(5) for descriptions of the following attributes:
115
116
117
118
119 ┌─────────────────────────────┬─────────────────────────────┐
120 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
121 ├─────────────────────────────┼─────────────────────────────┤
122 │Availability │SUNWiscsitgtu │
123 ├─────────────────────────────┼─────────────────────────────┤
124 │Interface Stability │Volatile │
125 └─────────────────────────────┴─────────────────────────────┘
126
128 iscsitadm(1M), door_create(3C), attributes(5), smf(5)
129
131 The iSCSI Target daemon, iscsitgtd, is managed by the service manage‐
132 ment facility, smf(5), under the fault management resource identifier:
133
134 svc:/system/iscsitgt:default
135
136
137
138
139
140SunOS 5.11 16 Mar 2009 iscsitgtd(1M)