EnglishFrenchSpanish

OnWorks favicon

ltdbtool - Online in the Cloud

Run ltdbtool in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command ltdbtool that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


ltdbtool - manipulate CTDB's local TDB files

SYNOPSIS


ltdbtool [OPTION...] {COMMAND} [COMMAND-ARGS]

DESCRIPTION


ltdbtool is a utility to manipulate CTDB's local TDB databases (LTDBs) without connecting
to a CTDB daemon.

It can be used to:

· dump the contents of a LTDB, optionally printing the CTDB record header information,

· convert between an LTDB and a non-clustered tdb by adding or removing CTDB headers and

· convert between 64 and 32 bit LTDBs where the CTDB record headers differ by 4 bytes of
padding.

OPTIONS


-e
Dump empty records. These are normally excluded.

-p
Dump with header information, similar to "ctdb catdb".

-s {0 | 32 | 64}
Specify how to determine the CTDB record header size for the input database:

0
no CTDB header

32
CTDB header size of a 32 bit system (20 bytes)

64
CTDB header size of a 64 bit system (24 bytes)

The default is 32 or 64 depending on the system architecture.

-o {0 | 32 | 64}
Specify how to determine the CTDB record header size for the output database, see -s.

-S SIZE
Explicitly specify the CTDB record header SIZE of the input database in bytes.

-O SIZE
Explicitly specify the CTDB record header SIZE for the output database in bytes.

-h
Print help text.

COMMANDS


help
Print help text.

dump IDB
Dump the contents of an LTDB input file IDB to standard output in a human-readable
format.

convert IDB ODB
Copy an LTDB input file IDB to output file ODB, optionally adding or removing CTDB
headers.

EXAMPLES


Print a local tdb in "tdbdump" style:

ltdbtool dump idmap2.tdb.0

Print a local tdb with header information similar to "ctdb catdb":

ltdbtool dump -p idmap2.tdb.0

Strip the CTDB headers from records:

ltdbtool convert -o0 idmap2.tdb.0 idmap.tdb

Strip 64 bit CTDB headers from records, running on i386:

ltdbtool convert -s64 -o0 idmap2.tdb.0 idmap.tdb

Strip the CTDB headers from records by piping through tdbrestore:

ltdbtool dump idmap2.tdb.0 | tdbrestore idmap.tdb

Convert a local tdb from a 64 bit system for usage on a 32 bit system:

ltdbtool convert -s64 -o32 idmap2.tdb.0 idmap2.tdb.1

Add a default header:

ltdbtool convert -s0 idmap.tdb idmap2.tdb.0

Use ltdbtool online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    MSYS2
    MSYS2
    MSYS2 is a collection of tools and
    libraries providing you with an
    easy-to-use environment for building,
    installing and running native Windows
    software. It con...
    Download MSYS2
  • 2
    libjpeg-turbo
    libjpeg-turbo
    libjpeg-turbo is a JPEG image codec
    that uses SIMD instructions (MMX, SSE2,
    NEON, AltiVec) to accelerate baseline
    JPEG compression and decompression on
    x86, x8...
    Download libjpeg-turbo
  • 3
    Xtreme Download Manager
    Xtreme Download Manager
    The project has a new home now:
    https://xtremedownloadmanager.com/ For
    developers:
    https://github.com/subhra74/xdm Xtreme
    Download Manager is a powerful tool t...
    Download Xtreme Download Manager
  • 4
    TTGO VGA32 Lite
    TTGO VGA32 Lite
    Features:4:3 and 16:9 low resolution
    VGA outputPS/2 keyboard and mouse
    inputText-based user interface (TUI)
    with dialog managerPartial Unicode
    supportSlave dis...
    Download TTGO VGA32 Lite
  • 5
    Clover EFI bootloader
    Clover EFI bootloader
    Project has moved to
    https://github.com/CloverHackyColor/CloverBootloader..
    Features:Boot macOS, Windows, and Linux
    in UEFI or legacy mode on Mac or PC with
    UE...
    Download Clover EFI bootloader
  • 6
    unitedrpms
    unitedrpms
    Join us in Gitter!
    https://gitter.im/unitedrpms-people/Lobby
    Enable the URPMS repository in your
    system -
    https://github.com/UnitedRPMs/unitedrpms.github.io/bl...
    Download unitedrpms
  • More »

Linux commands

Ad