1nfsdclddb(8) System Manager's Manual nfsdclddb(8)
2
3
4
6 nfsdclddb - Tool for manipulating the nfsdcld sqlite database
7
9 nfsdclddb [-h|--help]
10
11 nfsdclddb [-p|--path dbpath] fix-table-names [-h|--help]
12
13 nfsdclddb [-p|--path dbpath] downgrade-schema [-h|--help] [-v|--version
14 to-version]
15
16 nfsdclddb [-p|--path dbpath] print [-h|--help] [-s|--summary]
17
19 The nfsdclddb command is provided to perform some manipulation of the
20 nfsdcld sqlite database schema and to print the contents of the data‐
21 base.
22
23 Sub-commands
24 Valid nfsdclddb subcommands are:
25
26 fix-table-names
27 A previous version of nfsdcld(8) contained a bug that corrupted
28 the reboot epoch table names. This sub-command will fix those
29 table names.
30
31 downgrade-schema
32 Downgrade the database schema. Currently the schema can only to
33 downgraded from version 4 to version 3.
34
35 print Display the contents of the database. Prints the schema version
36 and the values of the current and recovery epochs. If the
37 -s|--summary option is not given, also prints the clients in the
38 reboot epoch tables.
39
41 Options valid for all sub-commands
42 -h, --help
43 Show the help message and exit
44
45 -p dbpath, --path dbpath
46 Open the sqlite database located at dbpath instead of
47 /var/lib/nfs/nfsdcld/main.sqlite. This is mainly for testing
48 purposes.
49
50 Options specific to the downgrade-schema sub-command
51 -v to-version, --version to-version
52 The schema version to downgrade to. Currently the schema can
53 only be downgraded to version 3.
54
55 Options specific to the print sub-command
56 -s, --summary
57 Do not list the clients in the reboot epoch tables in the out‐
58 put.
59
61 The nfsdclddb command will not allow the fix-table-names or downgrade-
62 schema subcommands to be used if nfsdcld(8) is running.
63
65 /var/lib/nfs/nfsdcld/main.sqlite
66
68 nfsdcld(8)
69
71 Scott Mayhew <smayhew@redhat.com>
72
73
74
75 07 Aug 2019 nfsdclddb(8)