System Administration Commands iscsitgtd(1M)
NAME
iscsitgtd - iSCSI Target daemon
SYNOPSIS
iscsitgtd [-d doorfile]
DESCRIPTION
The iscsitgtd daemon process implements the iSCSI configura-
tion, control, and data paths, providing iSCSI Target Mode
support in the Solaris operating system.
The configuration and control path is by means of the
Solaris Doors subsystem (see doorcreate(3C)), and provides
the interface between the iSCSI Target administration util-
ity, iscsitadm(1M), persistence configuration data stored in
the Service Configuration Facility (SCF) of the service
management facility (SMF). See smf(5).
The data path managed by the daemon exists between TPC/IP
port 3260, and the files, block devices, or raw SCSI devices
configured as iSCSI target LUNs.
OPTIONS
The following options is supported:
-d doorfile
Override the location of the Solaris Door used for con-
figuration from /var/run/iscsitgtdoor to a door of
one's choosing.
Solaris Configuration Facility (SCF)
The following options are supported:
PGR-basedir
SCSI-3 PGR base directory for ZVOL failover. Set to /.
daemonize
Run as Solaris daemon process. Either true or false.
dbg-lvl
Runtime debug level to console.
SunOS 5.11 Last change: 16 Mar 2009 1
System Administration Commands iscsitgtd(1M)
qlog-lvl
Runtime logging to /tmp/targetlog.
The following are the logging values, in hexadecimal.
0x00001 - Connection errors
0x00002 - Connection login errors
0x00004 - Connection Non-I/O errors
0x00008 - Connection I/O errors
0x00010 - Session errors
0x00020 - Session login errors
0x00040 - Session Non-I/O errors
0x00080 - Session I/O errors
0x00100 - Emulation errors
0x00200 - Emulation Non-I/O errors
0x00400 - Emulation I/O errors
0x01000 - General errors
0x02000 - General details
0x04000 - iSNS details
0x10000 - SCSI-3 PGR errors
0x20000 - SCSI-3 PGR Non-I/O errors
0x40000 - SCSI-3 PGR I/O errors
EXAMPLES
Example 1 Listing All iscsitgt Values
The following commands lists all iscsitgt values.
# svccfg -s iscsitgt listprop iscsitgt
Example 2 Setting SCF Options
The following command sets the PGR-basedir option.
# svccfg -s iscsitgt setprop iscsitgt/PGR-basedir = astring: "/"
The following command sets the dbg-lvl option.
SunOS 5.11 Last change: 16 Mar 2009 2
System Administration Commands iscsitgtd(1M)
# svccfg -s iscsitgt setprop iscsitgt/dbg-lvl = integer: 0x80ffffff
ATRIBUTES
See attributes(5) for descriptions of the following attri-
butes:
ATRIBUTE TYPE ATRIBUTE VALUE
Availability SUNWiscsitgtu
Interface Stability Volatile
SEE ALSO
iscsitadm(1M), doorcreate(3C), attributes(5), smf(5)
NOTES
The iSCSI Target daemon, iscsitgtd, is managed by the ser-
vice management facility, smf(5), under the fault management
resource identifier:
svc:/system/iscsitgt:default
SunOS 5.11 Last change: 16 Mar 2009 3
|