<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
On 27/10/2009 10:11 μμ, Dimitrios Glentadakis wrote:
<blockquote
 cite="mid:26b1c7730910271311u2d80cc58w11168ead69377784@mail.gmail.com"
 type="cite">
  <pre wrap="">Στέλνω και το αρχείο
το πακέτο είναι το ctdb :

[dimitris@localhost partial]$ urpmq -i ctdb
    <a class="moz-txt-link-freetext" href="ftp://ftp.free.fr/mirrors/ftp.mandriva.com/MandrivaLinux/devel/cooker/i586/media/main/release/media_info/20091027-190838-info.xml.lzma">ftp://ftp.free.fr/mirrors/ftp.mandriva.com/MandrivaLinux/devel/cooker/i586/media/main/release/media_info/20091027-190838-info.xml.lzma</a>
Name        : ctdb
Version     : 1.0.77
Release     : 2mdv2010.0
Group       : System/Cluster
Size        : 1135650                      Architecture: i586
Source RPM  : ctdb-1.0.77-2mdv2010.0.src.rpm
URL         : <a class="moz-txt-link-freetext" href="http://ctdb.samba.org/">http://ctdb.samba.org/</a>
Summary     : Clustered TDB
Description :
ctdb is the clustered database used by samba





2009/10/27, George Miliotis (Corfiot) <a class="moz-txt-link-rfc2396E" href="mailto:corfiot@elementality.org">&lt;corfiot@elementality.org&gt;</a>:
  </pre>
  <blockquote type="cite">
    <pre wrap="">On 27/10/2009 8:17 πμ, Dimitrios Glentadakis wrote:
    </pre>
    <blockquote type="cite">
      <pre wrap="">Ειναι στο πακέτο initscripts της Mandriva σε αυτο το αρχείο
src://etc/rc.d/init.d/ctdb:108

      </pre>
    </blockquote>
    <pre wrap="">Μήπως το έχεις πρόχειρο; Δυσκολεύομαι να το βρω online

Πάντως βλέπω ότι είναι cluster DB το πακέτο άρα μάλλον αναφέρεται στη
βάση στον δίσκο (όποια έχει ρυθμίσει ο χρήστης) σε αντιθέση με την
«ιδεατή» βάση που παρέχει στους απ' έξω. Στείλε το αρχείο αν θες να δω
και τι έλεγχο κάνει για το error.

--G

    </pre>
  </blockquote>
</blockquote>
[ -z "$CTDB_DBDIR" ]            || CTDB_OPTIONS="$CTDB_OPTIONS
--dbdir=$CTDB_DBDIR"<br>
[ -z "$CTDB_DBDIR_PERSISTENT" ] || CTDB_OPTIONS="$CTDB_OPTIONS
--dbdir-persistent=$CTDB_DBDIR_PERSISTENT"<br>
<br>
Έχει δύο είδη βάσεων. Επίσης έχει πολλές persistent κιόλας... Οπότε το
«ισχύον» είναι διπλά λάθος.<br>
Προσωπικά προτείνω να ακολουθήσεις τη συμβουλή του Κου Παπαδήμα.<br>
<br>
Persistent database %s is corrupted! CTDB will not start.\n<br>
Η διαρκής βάση δεδομένων %s έχει φθορές.... ή όπως θες το λες<br>
<br>
--ΓΜ<br>
<br>
Στο
<a class="moz-txt-link-freetext" href="http://riksun.riken.go.jp/pub/net/samba/unpacked/ctdb/doc/ctdb.1.html">http://riksun.riken.go.jp/pub/net/samba/unpacked/ctdb/doc/ctdb.1.html</a>
λέει:<br>
<h3>getdbmap</h3>
<p> This command lists all clustered TDB databases
that the CTDB daemon has attached to. Some databases are flagged as
PERSISTENT, this means that the database stores data persistently and
the data will remain across reboots. One example of such a database is
secrets.tdb where information about how the cluster was joined to the
domain is stored. </p>
<p> Most databases are not persistent and only store the state
information that the currently running samba daemons need. These
databases are always wiped when ctdb/samba starts and when a node is
rebooted. </p>
<p> Example: ctdb getdbmap </p>
<p> Example output: </p>
<pre class="screen">Number of databases:10
dbid:0x435d3410 name:notify.tdb path:/var/ctdb/notify.tdb.0 
dbid:0x42fe72c5 name:locking.tdb path:/var/ctdb/locking.tdb.0 dbid:0x1421fb78 name:brlock.tdb path:/var/ctdb/brlock.tdb.0 
dbid:0x17055d90 name:connections.tdb path:/var/ctdb/connections.tdb.0 
dbid:0xc0bdde6a name:sessionid.tdb path:/var/ctdb/sessionid.tdb.0 
dbid:0x122224da name:test.tdb path:/var/ctdb/test.tdb.0 
dbid:0x2672a57f name:idmap2.tdb path:/var/ctdb/persistent/idmap2.tdb.0 PERSISTENT
dbid:0xb775fff6 name:secrets.tdb path:/var/ctdb/persistent/secrets.tdb.0 PERSISTENT
dbid:0xe98e08b6 name:group_mapping.tdb path:/var/ctdb/persistent/group_mapping.tdb.0 PERSISTENT
dbid:0x7bbbd26c name:passdb.tdb path:/var/ctdb/persistent/passdb.tdb.0 PERSISTENT
      </pre>
<br>
</body>
</html>