nfsdclddb(8) System Manager's Manual nfsdclddb(8)

# [NAME](#NAME)

nfsdclddb - Tool for manipulating the nfsdcld sqlite database

# [SYNOPSIS](#SYNOPSIS)

**nfsdclddb** \[**-h**|**--help**]

**nfsdclddb** \[**-p**|**--path** *dbpath*] **fix-table-names** \[**-h**|**--help**]

**nfsdclddb** \[**-p**|**--path** *dbpath*] **downgrade-schema** \[**-h**|**--help**] \[**-v**|**--version** *to-version*]

**nfsdclddb** \[**-p**|**--path** *dbpath*] **print** \[**-h**|**--help**] \[**-s**|**--summary**]

# [DESCRIPTION](#DESCRIPTION)

The **nfsdclddb** command is provided to perform some manipulation of the nfsdcld sqlite database schema and to print the contents of the database.

## [Sub-commands](#Sub-commands)

Valid **nfsdclddb** subcommands are:

[**fix-table-names**](#fix-table-names)

A previous version of [**nfsdcld**(8)](/man/os/nfs-utils/nfsdcld.8) contained a bug that corrupted the reboot epoch table names. This sub-command will fix those table names.

[**downgrade-schema**](#downgrade-schema)

Downgrade the database schema. Currently the schema can only to downgraded from version 4 to version 3.

[**print**](#print)

Display the contents of the database. Prints the schema version and the values of the current and recovery epochs. If the **-s**|**--summary** option is not given, also prints the clients in the reboot epoch tables.

# [OPTIONS](#OPTIONS)

## [Options valid for all sub-commands](#Options_valid_for_all_sub-commands)

[**-h, --help**](#h,)

Show the help message and exit

[**-p dbpath**, **--path dbpath**](#p)

Open the sqlite database located at *dbpath* instead of */var/lib/nfs/nfsdcld/main.sqlite*. This is mainly for testing purposes.

## [Options specific to the downgrade-schema sub-command](#Options_specific_to_the_downgrade-schema_sub-command)

[**-v to-version**, **--version to-version**](#v)

The schema version to downgrade to. Currently the schema can only be downgraded to version 3.

## [Options specific to the print sub-command](#Options_specific_to_the_print_sub-command)

[**-s, --summary**](#s,)

Do not list the clients in the reboot epoch tables in the output.

# [NOTES](#NOTES)

The **nfsdclddb** command will not allow the **fix-table-names** or **downgrade-schema** subcommands to be used if [**nfsdcld**(8)](/man/os/nfs-utils/nfsdcld.8) is running.

# [FILES](#FILES)

**/var/lib/nfs/nfsdcld/main.sqlite**

# [SEE ALSO](#SEE_ALSO)

[**nfsdcld**(8)](/man/os/nfs-utils/nfsdcld.8)

# [AUTHOR](#AUTHOR)

Scott Mayhew &lt;smayhew@redhat.com&gt;

07 Aug 2019

---

Document: nfsdclddb(8) from nfs-utils 3.1.1-r0 (Chainguard OS)
Source: git://git.linux-nfs.org/projects/steved/nfs-utils.git
