{"id":3189,"date":"2022-12-20T16:43:45","date_gmt":"2022-12-20T19:43:45","guid":{"rendered":"http:\/\/lode.uno\/linux-man\/index.php\/2022\/12\/20\/nfsdclddb-man8\/"},"modified":"2022-12-20T16:43:45","modified_gmt":"2022-12-20T19:43:45","slug":"nfsdclddb-man8","status":"publish","type":"post","link":"https:\/\/lode.uno\/linux-man\/2022\/12\/20\/nfsdclddb-man8\/","title":{"rendered":"nfsdclddb (man8)"},"content":{"rendered":"<h1 align=\"center\">nfsdclddb<\/h1>\n<p> <a href=\"#NAME\">NAME<\/a><br \/> <a href=\"#SYNOPSIS\">SYNOPSIS<\/a><br \/> <a href=\"#DESCRIPTION\">DESCRIPTION<\/a><br \/> <a href=\"#OPTIONS\">OPTIONS<\/a><br \/> <a href=\"#NOTES\">NOTES<\/a><br \/> <a href=\"#FILES\">FILES<\/a><br \/> <a href=\"#SEE ALSO\">SEE ALSO<\/a><br \/> <a href=\"#AUTHOR\">AUTHOR<\/a> <\/p>\n<hr>\n<h2>NAME <a name=\"NAME\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">nfsdclddb \u2212 Tool for manipulating the nfsdcld sqlite database<\/p>\n<h2>SYNOPSIS <a name=\"SYNOPSIS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>nfsdclddb<\/b> [<b>\u2212h<\/b>|<b>\u2212\u2212help<\/b>]<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>nfsdclddb<\/b> [<b>\u2212p<\/b>|<b>\u2212\u2212path<\/b> <i>dbpath<\/i>] <b>fix-table-names<\/b> [<b>\u2212h<\/b>|<b>\u2212\u2212help<\/b>]<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>nfsdclddb<\/b> [<b>\u2212p<\/b>|<b>\u2212\u2212path<\/b> <i>dbpath<\/i>] <b>downgrade-schema<\/b> [<b>\u2212h<\/b>|<b>\u2212\u2212help<\/b>] [<b>\u2212v<\/b>|<b>\u2212\u2212version<\/b> <i>to-version<\/i>]<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>nfsdclddb<\/b> [<b>\u2212p<\/b>|<b>\u2212\u2212path<\/b> <i>dbpath<\/i>] <b>print<\/b> [<b>\u2212h<\/b>|<b>\u2212\u2212help<\/b>] [<b>\u2212s<\/b>|<b>\u2212\u2212summary<\/b>]<\/p>\n<h2>DESCRIPTION <a name=\"DESCRIPTION\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">The <b>nfsdclddb<\/b> command is provided to perform some manipulation of the nfsdcld sqlite database schema and to print the contents of the database.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>Sub-commands<\/b> <br \/> Valid <b>nfsdclddb<\/b> subcommands are: <b><br \/> fix-table-names<\/b><\/p>\n<p style=\"margin-left:22%;\">A previous version of <b>nfsdcld<\/b>(8) contained a bug that corrupted the reboot epoch table names. This sub-command will fix those table names.<\/p>\n<p style=\"margin-left:11%;\"><b>downgrade-schema<\/b><\/p>\n<p style=\"margin-left:22%;\">Downgrade the database schema. Currently the schema can only to downgraded from version 4 to version 3.<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"7%\">\n<p><b>print<\/b><\/p>\n<\/td>\n<td width=\"4%\"><\/td>\n<td width=\"78%\">\n<p>Display the contents of the database. Prints the schema version and the values of the current and recovery epochs. If the <b>\u2212s<\/b>|<b>\u2212\u2212summary<\/b> option is not given, also prints the clients in the reboot epoch tables.<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<h2>OPTIONS <a name=\"OPTIONS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>Options valid for all sub-commands <br \/> \u2212h, \u2212\u2212help<\/b><\/p>\n<p style=\"margin-left:22%;\">Show the help message and exit<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212p<\/b> <i>dbpath<\/i>, <b>\u2212\u2212path<\/b> <i>dbpath<\/i><\/p>\n<p style=\"margin-left:22%;\">Open the sqlite database located at <i>dbpath<\/i> instead of <i>\/var\/lib\/nfs\/nfsdcld\/main.sqlite<\/i>. This is mainly for testing purposes.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>Options specific to the downgrade-schema sub-command <br \/> \u2212v<\/b> <i>to-version<\/i>, <b>\u2212\u2212version<\/b> <i>to-version<\/i><\/p>\n<p style=\"margin-left:22%;\">The schema version to downgrade to. Currently the schema can only be downgraded to version 3.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>Options specific to the print sub-command <br \/> \u2212s, \u2212\u2212summary<\/b><\/p>\n<p style=\"margin-left:22%;\">Do not list the clients in the reboot epoch tables in the output.<\/p>\n<h2>NOTES <a name=\"NOTES\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">The <b>nfsdclddb<\/b> command will not allow the <b>fix-table-names<\/b> or <b>downgrade-schema<\/b> subcommands to be used if <b>nfsdcld<\/b>(8) is running.<\/p>\n<h2>FILES <a name=\"FILES\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\/var\/lib\/nfs\/nfsdcld\/main.sqlite<\/b><\/p>\n<h2>SEE ALSO <a name=\"SEE ALSO\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>nfsdcld<\/b>(8)<\/p>\n<h2>AUTHOR <a name=\"AUTHOR\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">Scott Mayhew <smayhew@redhat.com><\/p>\n<hr>\n","protected":false},"excerpt":{"rendered":"<p>  nfsdclddb \u2212 Tool for manipulating the nfsdcld sqlite database <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[5,52,4,331],"class_list":["post-3189","post","type-post","status-publish","format-standard","hentry","category-8-administracion-del-sistema","tag-5","tag-administracion","tag-man8","tag-nfsdclddb"],"gutentor_comment":0,"_links":{"self":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/3189","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/comments?post=3189"}],"version-history":[{"count":0,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/3189\/revisions"}],"wp:attachment":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/media?parent=3189"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/categories?post=3189"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/tags?post=3189"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}