2008-10-08 16:50:13 +04:00
.TH CLVMD 8 "LVM TOOLS #VERSION#" "Red Hat Inc" \" -*- nroff -*-
2004-08-23 12:42:53 +04:00
.SH NAME
2004-09-02 18:16:54 +04:00
clvmd \- cluster LVM daemon
2004-08-23 12:42:53 +04:00
.SH SYNOPSIS
.B clvmd
2011-01-18 02:13:14 +03:00
[\- d[<value>]] [\- C] [\- h]
2006-10-04 12:28:17 +04:00
[\- R]
2010-04-20 18:07:37 +04:00
[\- S]
2004-08-23 12:42:53 +04:00
[\- t <timeout>]
2006-12-11 17:06:25 +03:00
[\- T <start timeout>]
2004-08-23 12:42:53 +04:00
[\- V]
.SH DESCRIPTION
2004-09-02 18:16:54 +04:00
clvmd is the daemon that distributes LVM metadata updates around a cluster.
It must be running on all nodes in the cluster and will give an error
if a node in the cluster does not have this daemon running.
2004-08-23 12:42:53 +04:00
.SH OPTIONS
.TP
2011-01-18 02:13:14 +03:00
.I \- d[<value>]
2007-08-17 15:51:23 +04:00
Enable debug logging. Value can be 0, 1 or 2.
.br
2011-01-18 02:13:14 +03:00
0 disables debug logging
2007-08-17 15:51:23 +04:00
.br
2011-01-18 02:13:14 +03:00
1 sends debug logs to stderr (implies -f option)
2007-08-17 15:51:23 +04:00
.br
2 sends debug logs to syslog
.br
If
.B -d
2011-01-18 02:13:14 +03:00
is specified without a value then 1 is assumed.
2007-08-17 15:51:23 +04:00
.TP
.I \- C
Only valid if
.B -d
is also specified. Tells all clvmds in a cluster to enable/disable debug logging.
Without this switch, only the local clvmd will change its debug level to that
given with
.B -d.
2008-02-05 12:38:04 +03:00
.br
This does not work correctly if specified on the command-line that starts clvmd.
If you want to start clvmd
.B and
enable cluster-wide logging then the command needs to be issued twice, eg:
.br
clvmd
.br
clvmd -d2
.br
2004-08-23 12:42:53 +04:00
.TP
.I \- t <timeout>
Specifies the timeout for commands to run around the cluster. This should not
be so small that commands with many disk updates to do will fail, so you
2004-09-02 18:16:54 +04:00
may need to increase this on systems with very large disk farms.
The default is 30 seconds.
2004-08-23 12:42:53 +04:00
.TP
2006-12-11 17:06:25 +03:00
.I \- T <start timeout>
Specifies the timeout for clvmd daemon startup. If the daemon does not report
that it has started up within this time then the parent command will exit with
status of 5. This does NOT mean that clvmd has not started! What it means is
that the startup of clvmd has been delayed for some reason; the most likely
cause of this is an inquorate cluster though it could be due to locking
latencies on a cluster with large numbers of logical volumes. If you get the
return code of 5 it is usually not necessary to restart clvmd - it will start
as soon as that blockage has cleared. This flag is to allow startup scripts
to exit in a timely fashion even if the cluster is stalled for some reason.
2008-02-05 12:38:04 +03:00
.br
2006-12-11 17:06:25 +03:00
The default is 0 (no timeout) and the value is in seconds. Don't set this too
small or you will experience spurious errors. 10 or 20 seconds might be
sensible.
2008-02-05 12:38:04 +03:00
.br
2006-12-11 17:06:25 +03:00
This timeout will be ignored if you start clvmd with the -d switch.
.TP
2006-10-04 12:28:17 +04:00
.I \- R
2007-08-17 15:51:23 +04:00
Tells all the running clvmds in the cluster to reload their device cache and
2006-10-04 12:28:17 +04:00
re-read the lvm configuration file. This command should be run whenever the
devices on a cluster system are changed.
.TP
2010-04-20 18:07:37 +04:00
.I \- S
2010-04-30 18:49:42 +04:00
Tells the running clvmd to exit and reexecute itself, for example at the
end of a package upgrade. The new instance is instructed to reacquire
any locks in the same state as they were previously held. (Alternative
methods of restarting the daemon have the side effect of changing
exclusive LV locks into shared locks.)
2010-04-20 18:07:37 +04:00
.TP
2009-07-30 17:32:38 +04:00
.I \- I
Selects the cluster manager to use for locking and internal communications,
the available managers will be listed as part of the 'clvmd -h' output.
clvmd will use the first cluster manager that succeeds, and it checks them
2011-08-09 22:11:00 +04:00
in the order cman,corosync,openais. As it is quite possible to have
2009-07-30 17:32:38 +04:00
(eg) corosync and cman available on the same system you might have to
manually specify this option to override the search.
.TP
2004-08-23 12:42:53 +04:00
.I \- V
2004-09-02 18:16:54 +04:00
Display the version of the cluster LVM daemon.
2004-08-23 12:42:53 +04:00
.SH SEE ALSO
.BR lvm (8)