Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

OpenSolaris 2009.06 - man page for iscsitgtd (opensolaris section 1m)

iscsitgtd(1M)						  System Administration Commands					     iscsitgtd(1M)

iscsitgtd - iSCSI Target daemon
iscsitgtd [-d door_file]
The iscsitgtd daemon process implements the iSCSI configuration, 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 door_create(3C)), and provides the interface between the iSCSI Target administration utility, 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.
The following options is supported: -d door_file Override the location of the Solaris Door used for configuration from /var/run/iscsi_tgt_door 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. qlog-lvl Runtime logging to /tmp/target_log. 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
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. # svccfg -s iscsitgt setprop iscsitgt/dbg-lvl = integer: 0x80ffffff
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWiscsitgtu | +-----------------------------+-----------------------------+ |Interface Stability |Volatile | +-----------------------------+-----------------------------+
iscsitadm(1M), door_create(3C), attributes(5), smf(5)
The iSCSI Target daemon, iscsitgtd, is managed by the service management facility, smf(5), under the fault management resource identifier: svc:/system/iscsitgt:default SunOS 5.11 16 Mar 2009 iscsitgtd(1M)