.\" Man page generated from reStructuredText. . . .nr rst2man-indent-level 0 . .de1 rstReportMargin \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .de1 INDENT .\" .rstReportMargin pre: . RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .\" .rstReportMargin post: .. .de UNINDENT . RE .\" indent \\n[an-margin] .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] .nr rst2man-indent-level -1 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. .TH "VIRTLOCKD" 8 "" "" "Virtualization Support" .SH NAME virtlockd \- libvirt lock management daemon .SH SYNOPSIS .sp \fBvirtlockd\fP [\fIOPTION\fP]... .SH DESCRIPTION .sp The \fBvirtlockd\fP program is a server side daemon component of the libvirt virtualization management system that is used to manage locks held against virtual machine resources, such as their disks. .sp This daemon is not used directly by libvirt client applications, rather it is called on their behalf by \fBlibvirtd\fP\&. By maintaining the locks in a standalone daemon, the main libvirtd daemon can be restarted without risk of losing locks. The \fBvirtlockd\fP daemon has the ability to re\-exec() itself upon receiving SIGUSR1, to allow live upgrades without downtime. .sp The \fBvirtlockd\fP daemon listens for requests on a local Unix domain socket. .SH OPTIONS .sp \fB\-h\fP, \fB\-\-help\fP .sp Display command line help usage then exit. .sp \fB\-d\fP, \fB\-\-daemon\fP .sp Run as a daemon and write PID file. .sp \fB\-f\fP, \fB\-\-config\fP \fIFILE\fP .sp Use this configuration file, overriding the default value. .sp \fB\-t\fP, \fB\-\-timeout\fP \fISECONDS\fP .sp Automatically shutdown after \fISECONDS\fP have elapsed with no active client or lock. .sp \fB\-p\fP, \fB\-\-pid\-file\fP \fIFILE\fP .sp Use this name for the PID file, overriding the default value. .sp \fB\-v\fP, \fB\-\-verbose\fP .sp Enable output of verbose messages. .sp \fB\-V\fP, \fB\-\-version\fP .sp Display version information then exit. .SH SIGNALS .sp On receipt of \fBSIGUSR1\fP, \fBvirtlockd\fP will re\-exec() its binary, while maintaining all current locks and clients. This allows for live upgrades of the \fBvirtlockd\fP service. .SH FILES .SS When run as \fIroot\fP .INDENT 0.0 .IP \(bu 2 \fB/etc/libvirt/virtlockd.conf\fP .UNINDENT .sp The default configuration file used by \fBvirtlockd\fP, unless overridden on the command line using the \fB\-f\fP | \fB\-\-config\fP option. .INDENT 0.0 .IP \(bu 2 \fB/run/libvirt/virtlockd\-sock\fP .UNINDENT .sp The sockets \fBvirtlockd\fP will use. .INDENT 0.0 .IP \(bu 2 \fB/run/virtlockd.pid\fP .UNINDENT .sp The PID file to use, unless overridden by the \fB\-p\fP | \fB\-\-pid\-file\fP option. .SS When run as \fInon\-root\fP .INDENT 0.0 .IP \(bu 2 \fB$XDG_CONFIG_HOME/libvirt/virtlockd.conf\fP .UNINDENT .sp The default configuration file used by \fBvirtlockd\fP, unless overridden on the command line using the \fB\-f\fP | \fB\-\-config\fP option. .INDENT 0.0 .IP \(bu 2 \fB$XDG_RUNTIME_DIR/libvirt/virtlockd\-sock\fP .UNINDENT .sp The socket \fBvirtlockd\fP will use. .INDENT 0.0 .IP \(bu 2 \fB$XDG_RUNTIME_DIR/libvirt/virtlockd.pid\fP .UNINDENT .sp The PID file to use, unless overridden by the \fB\-p\fP | \fB\-\-pid\-file\fP option. .sp If \fB$XDG_CONFIG_HOME\fP is not set in your environment, \fBvirtlockd\fP will use \fB$HOME/.config\fP .sp If \fB$XDG_RUNTIME_DIR\fP is not set in your environment, \fBvirtlockd\fP will use \fB$HOME/.cache\fP .SH EXAMPLES .sp To retrieve the version of \fBvirtlockd\fP: .INDENT 0.0 .INDENT 3.5 .sp .EX # virtlockd \-\-version virtlockd (libvirt) 10.0.0 .EE .UNINDENT .UNINDENT .sp To start \fBvirtlockd\fP, instructing it to daemonize and create a PID file: .INDENT 0.0 .INDENT 3.5 .sp .EX # virtlockd \-d # ls \-la /run/virtlockd.pid \-rw\-r\-\-r\-\- 1 root root 6 Jul 9 02:40 /run/virtlockd.pid .EE .UNINDENT .UNINDENT .SH BUGS .sp Please report all bugs you discover. This should be done via either: .INDENT 0.0 .IP 1. 3 the mailing list .sp \fI\%https://libvirt.org/contact.html\fP .IP 2. 3 the bug tracker .sp \fI\%https://libvirt.org/bugs.html\fP .UNINDENT .sp Alternatively, you may report bugs to your software distributor / vendor. .SH AUTHORS .sp Please refer to the AUTHORS file distributed with libvirt. .SH COPYRIGHT .sp Copyright (C) 2006\-2013 Red Hat, Inc., and the authors listed in the libvirt AUTHORS file. .SH LICENSE .sp \fBvirtlockd\fP is distributed under the terms of the GNU LGPL v2.1+. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE .SH SEE ALSO .sp libvirtd(8), \fI\%https://libvirt.org/\fP .\" Generated by docutils manpage writer. .