Query: ctld
OS: freebsd
Section: 8
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
CTLD(8) BSD System Manager's Manual CTLD(8)NAMEctld -- CAM Target Layer / iSCSI target daemonSYNOPSISctld [-d] [-f config-file]DESCRIPTIONThe ctld daemon is responsible for managing the CAM Target Layer configuration, accepting incoming iSCSI connections, performing authentica- tion and passing connections to the kernel part of the native iSCSI target. Upon startup, the ctld daemon parses the configuration file and exits, if it encounters any errors. Then it compares the configuration with the kernel list of LUNs managed by previously running ctld instances, removes LUNs no longer existing in the configuration file, and creates new LUNs as necessary. After that it listens for the incoming iSCSI connections, performs authentication, and, if successful, passes the connections to the kernel part of CTL iSCSI target, which handles it from that point. When it receives a SIGHUP signal, the ctld reloads its configuration and applies the changes to the kernel. Changes are applied in a way that avoids unnecessary disruptions; for example removing one LUN does not affect other LUNs. When exiting gracefully, the ctld daemon removes LUNs it managed and forcibly disconnects all the clients. Otherwise - for example, when killed with SIGKILL - LUNs stay configured and clients remain connected. To perform administrative actions that apply to already connected sessions, such as forcing termination, use ctladm(8). The following options are available: -f config-file Specifies the name of the configuration file. The default is /etc/ctl.conf. -d Debug mode. The server sends verbose debug output to standard error, and does not put itself in the background. The server will also not fork and will exit after processing one connection. This option is only intended for debugging the target.FILES/etc/ctl.conf The configuration file for ctld. The file format and configuration options are described in ctl.conf(5). /var/run/ctld.pid The default location of the ctld PID file.EXIT STATUSThe ctld utility exits 0 on success, and >0 if an error occurs.SEE ALSOctl(4), ctl.conf(5), ctladm(8)HISTORYThe ctld command appeared in FreeBSD 10.0.AUTHORSThe ctld was developed by Edward Tomasz Napierala <trasz@FreeBSD.org> under sponsorship from the FreeBSD Foundation.BSDNovember 9, 2014 BSD
Related Man Pages |
---|
iscsictl(8) - freebsd |
ctld(8) - freebsd |
iscsi(4) - freebsd |
ocf_heartbeat_iscsitarget(7) - suse |
ctl.conf(5) - freebsd |
Similar Topics in the Unix Linux Community |
---|
SDD SDDPCM MPIO lspath Jargon |
Parse configuration file & add line in particular section |
Any tips to grow iSCSI LUN |
iSCSI issue on RHEL 5 |
Retrieve LUN IDs |