1CLVMD(8)                    System Manager's Manual                   CLVMD(8)
2
3
4

NAME

6       clvmd — cluster LVM daemon
7

SYNOPSIS

9       clvmd [-C] [-d [value]] [-E lock_uuid] [-f] [-h] [-I cluster_manager]
10       [-R] [-S] [-t timeout] [-T start_timeout] [-V]
11

DESCRIPTION

13       clvmd is the daemon that distributes  LVM  metadata  updates  around  a
14       cluster.   It must be running on all nodes in the cluster and will give
15       an error if a node in the cluster does not have this daemon running.
16

OPTIONS

18       -C
19              Only valid if -d is also specified.  Tells all clvmds in a clus‐
20              ter  to enable/disable debug logging.  Without this switch, only
21              the local clvmd will change its debug level to that  given  with
22              -d.
23              This  does  not  work correctly if specified on the command-line
24              that starts clvmd.  If you want to start clvmd and enable  clus‐
25              ter-wide logging then the command needs to be issued twice, eg:
26              clvmd
27              clvmd -d2
28
29       -d [value]
30              Set  debug  logging  level.   If -d is specified without a value
31              then 1 is assumed. Value can be:
32              0 — Disabled
33              1 — Sends debug logs to stderr (implies -f)
34              2 — Sends debug logs to syslog(3)
35
36       -E lock_uuid
37              Pass lock uuid  to  be  reacquired  exclusively  when  clvmd  is
38              restarted.
39
40       -f
41              Don't fork, run in the foreground.
42
43       -h
44              Show help information.
45
46       -I cluster_manager
47              Selects the cluster manager to use for locking and internal com‐
48              munications. As it is quite possible to have  multiple  managers
49              available  on the same system you might have to manually specify
50              this option to override the search.
51
52              By default, omit -I is equivalent to -Iauto.  Clvmd will use the
53              first  cluster  manager  that  succeeds, and it checks them in a
54              predefined order cman, corosync, openais.   The  available  man‐
55              agers will be listed by order as part of the clvmd -h output.
56
57       -R
58              Tells all the running instance of clvmd in the cluster to reload
59              their device  cache  and  re-read  the  lvm  configuration  file
60              lvm.conf(5).  This command should be run whenever the devices on
61              a cluster system are changed.
62
63       -S
64              Tells the running clvmd to exit and reexecute itself, for  exam‐
65              ple  at  the  end  of  a  package  upgrade.  The new instance is
66              instructed to reacquire any locks in the same state as they were
67              previously  held.  (Alternative methods of restarting the daemon
68              have the side effect of changing exclusive LV locks into  shared
69              locks.)
70
71       -t timeout
72              Specifies  the  timeout  for commands to run around the cluster.
73              This should not be so small that commands with many disk updates
74              to  do  will  fail,  so you may need to increase this on systems
75              with very large disk farms.  The default is 60 seconds.
76
77       -T start_timeout
78              Specifies the start timeout for clvmd  daemon  startup.  If  the
79              daemon  does  not report that it has started up within this time
80              then the parent command will exit with status of  5.  This  does
81              NOT  mean  that clvmd has not started! What it means is that the
82              startup has been delayed for some reason; the most likely  cause
83              of  this is an inquorate cluster though it could be due to lock‐
84              ing latencies on a cluster with large numbers  of  logical  vol‐
85              umes.  If  you get the return code of 5 it is usually not neces‐
86              sary to restart clvmd it will start as soon as that blockage has
87              cleared.   This  flag  is  to allow startup scripts to exit in a
88              timely fashion even if the cluster is stalled for some reason.
89
90              The default is 0 (no timeout) and the value is in seconds. Don't
91              set this too small or you will experience spurious errors. 10 or
92              20 seconds might be sensible.
93
94              This timeout will be ignored if you start clvmd with the -d.
95
96       -V
97              Display the version of the cluster LVM daemon.
98

ENVIRONMENT VARIABLES

100       LVM_CLVMD_BINARY
101              The CLVMD  binary  to  use  when  clvmd  restart  is  requested.
102              Defaults to /usr/sbin/clvmd.
103
104       LVM_BINARY
105              The LVM2 binary to use.  Defaults to /sbin/lvm.
106

FILES

108       /usr/sbin/clvmd
109       /sbin/lvm
110

SEE ALSO

112       syslog(3), lvm.conf(5), lvm(8)
113
114
115
116Red Hat Inc        LVM TOOLS 2.02.143(2)-RHEL6 (2016-12-13)           CLVMD(8)
Impressum