mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-18 10:04:20 +03:00
Update usage message for clvmd.
Fix clvmd man page printing <br>, clarified debug options.
This commit is contained in:
parent
57b2c9d339
commit
08152c90f2
@ -1,5 +1,7 @@
|
|||||||
Version 2.02.34 -
|
Version 2.02.34 -
|
||||||
===================================
|
===================================
|
||||||
|
Update usage message for clvmd.
|
||||||
|
Fix clvmd man page printing <br>, clarified debug options.
|
||||||
|
|
||||||
Version 2.02.33 - 31st January 2008
|
Version 2.02.33 - 31st January 2008
|
||||||
===================================
|
===================================
|
||||||
|
@ -146,8 +146,10 @@ static void usage(char *prog, FILE *file)
|
|||||||
fprintf(file, "\n");
|
fprintf(file, "\n");
|
||||||
fprintf(file, " -V Show version of clvmd\n");
|
fprintf(file, " -V Show version of clvmd\n");
|
||||||
fprintf(file, " -h Show this help information\n");
|
fprintf(file, " -h Show this help information\n");
|
||||||
fprintf(file, " -d Don't fork, run in the foreground\n");
|
fprintf(file, " -d Set debug level\n");
|
||||||
|
fprintf(file, " If starting clvmd then don't fork, run in the foreground\n");
|
||||||
fprintf(file, " -R Tell all running clvmds in the cluster to reload their device cache\n");
|
fprintf(file, " -R Tell all running clvmds in the cluster to reload their device cache\n");
|
||||||
|
fprintf(file, " -C Sets debug level (from -d) on all clvmd instances clusterwide\n");
|
||||||
fprintf(file, " -t<secs> Command timeout (default 60 seconds)\n");
|
fprintf(file, " -t<secs> Command timeout (default 60 seconds)\n");
|
||||||
fprintf(file, " -T<secs> Startup timeout (default none)\n");
|
fprintf(file, " -T<secs> Startup timeout (default none)\n");
|
||||||
fprintf(file, "\n");
|
fprintf(file, "\n");
|
||||||
|
14
man/clvmd.8
14
man/clvmd.8
@ -35,6 +35,16 @@ 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
|
Without this switch, only the local clvmd will change its debug level to that
|
||||||
given with
|
given with
|
||||||
.B -d.
|
.B -d.
|
||||||
|
.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
|
||||||
.TP
|
.TP
|
||||||
.I \-t <timeout>
|
.I \-t <timeout>
|
||||||
Specifies the timeout for commands to run around the cluster. This should not
|
Specifies the timeout for commands to run around the cluster. This should not
|
||||||
@ -52,11 +62,11 @@ 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
|
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
|
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.
|
to exit in a timely fashion even if the cluster is stalled for some reason.
|
||||||
<br>
|
.br
|
||||||
The default is 0 (no timeout) and the value is in seconds. Don't set this too
|
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
|
small or you will experience spurious errors. 10 or 20 seconds might be
|
||||||
sensible.
|
sensible.
|
||||||
<br>
|
.br
|
||||||
This timeout will be ignored if you start clvmd with the -d switch.
|
This timeout will be ignored if you start clvmd with the -d switch.
|
||||||
.TP
|
.TP
|
||||||
.I \-R
|
.I \-R
|
||||||
|
Loading…
x
Reference in New Issue
Block a user