]> sourceware.org Git - lvm2.git/commitdiff
Update usage message for clvmd.
authorPatrick Caulfield <pcaulfie@redhat.com>
Tue, 5 Feb 2008 09:38:04 +0000 (09:38 +0000)
committerPatrick Caulfield <pcaulfie@redhat.com>
Tue, 5 Feb 2008 09:38:04 +0000 (09:38 +0000)
Fix clvmd man page printing <br>, clarified debug options.

WHATS_NEW
daemons/clvmd/clvmd.c
man/clvmd.8

index 3bf3f7acfdd9eb6162f50f1364b6d13a2c7a349f..d09c500ce835279322c215a40796276413f39782 100644 (file)
--- a/WHATS_NEW
+++ b/WHATS_NEW
@@ -1,5 +1,7 @@
 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
 ===================================
index 678ee4889e4a97ad084257a198d973cd56608c97..574010fe550a2cf723001a3d098cd34c4387c5b3 100644 (file)
@@ -146,8 +146,10 @@ static void usage(char *prog, FILE *file)
        fprintf(file, "\n");
        fprintf(file, "   -V       Show version of clvmd\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, "   -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> Startup timeout (default none)\n");
        fprintf(file, "\n");
index e9910e5ff39402897027e117d2765677d847e7d2..c43ff4cda03f046c4a70a46345511415452c2e7e 100644 (file)
@@ -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
 given with 
 .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
 .I \-t <timeout>
 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
 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.
-<br>
+.br
 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.
-<br>
+.br
 This timeout will be ignored if you start clvmd with the -d switch.
 .TP
 .I \-R
This page took 0.041961 seconds and 5 git commands to generate.