summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRonnie Sahlberg <ronniesahlberg@gmail.com>2011-09-13 18:44:13 +1000
committerRonnie Sahlberg <ronniesahlberg@gmail.com>2011-09-13 18:44:13 +1000
commita46d94bca2a841e5d84f7532c4efc8221ebaa885 (patch)
tree30445bb73f4424351c00b26de79638f6f48a437f
parent9b87ffe874d589b22816cee3224f9b2b44cff966 (diff)
downloadsamba-a46d94bca2a841e5d84f7532c4efc8221ebaa885.tar.gz
samba-a46d94bca2a841e5d84f7532c4efc8221ebaa885.tar.xz
samba-a46d94bca2a841e5d84f7532c4efc8221ebaa885.zip
Document 'cattdb' more clearly that it dumps the content of the local TDB and not the CTDB database
(This used to be ctdb commit 71bf1260b1cac5ce83a92b4b944096b631ca87d8)
-rw-r--r--ctdb/doc/ctdb.1.xml6
-rw-r--r--ctdb/tools/ctdb.c4
2 files changed, 8 insertions, 2 deletions
diff --git a/ctdb/doc/ctdb.1.xml b/ctdb/doc/ctdb.1.xml
index a88ecc7644..a57c67faa3 100644
--- a/ctdb/doc/ctdb.1.xml
+++ b/ctdb/doc/ctdb.1.xml
@@ -1174,6 +1174,12 @@ HEALTH: NO-HEALTHY-NODES - ERROR - Backup of corrupted TDB in '/var/ctdb/persist
</para>
</refsect2>
+ <refsect2><title>cattdb &lt;dbname&gt;</title>
+ <para>
+ This command will dump the content of the local TDB database to the screen. This is a debugging command.
+ </para>
+ </refsect2>
+
<refsect2><title>dumpdbbackup &lt;backup-file&gt;</title>
<para>
This command will dump the content of database backup to the screen
diff --git a/ctdb/tools/ctdb.c b/ctdb/tools/ctdb.c
index 9443eca9bd..fc281e48e5 100644
--- a/ctdb/tools/ctdb.c
+++ b/ctdb/tools/ctdb.c
@@ -5020,8 +5020,8 @@ static const struct {
{ "process-exists", control_process_exists, true, false, "check if a process exists on a node", "<pid>"},
{ "getdbmap", control_getdbmap, true, false, "show the database map" },
{ "getdbstatus", control_getdbstatus, true, false, "show the status of a database", "<dbname>" },
- { "catdb", control_catdb, true, false, "dump a database" , "<dbname>"},
- { "cattdb", control_cattdb, true, false, "dump a database" , "<dbname>"},
+ { "catdb", control_catdb, true, false, "dump a ctdb database" , "<dbname>"},
+ { "cattdb", control_cattdb, true, false, "dump a local tdb database" , "<dbname>"},
{ "getmonmode", control_getmonmode, true, false, "show monitoring mode" },
{ "getcapabilities", control_getcapabilities, true, false, "show node capabilities" },
{ "pnn", control_pnn, true, false, "show the pnn of the currnet node" },