X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fceph%2Fdoc%2Fman%2F8%2Fceph-kvstore-tool.rst;fp=src%2Fceph%2Fdoc%2Fman%2F8%2Fceph-kvstore-tool.rst;h=0000000000000000000000000000000000000000;hb=7da45d65be36d36b880cc55c5036e96c24b53f00;hp=4baa4928857033454942df94fdffde645051c2e5;hpb=691462d09d0987b47e112d6ee8740375df3c51b2;p=stor4nfv.git diff --git a/src/ceph/doc/man/8/ceph-kvstore-tool.rst b/src/ceph/doc/man/8/ceph-kvstore-tool.rst deleted file mode 100644 index 4baa492..0000000 --- a/src/ceph/doc/man/8/ceph-kvstore-tool.rst +++ /dev/null @@ -1,85 +0,0 @@ -:orphan: - -===================================================== - ceph-kvstore-tool -- ceph kvstore manipulation tool -===================================================== - -.. program:: ceph-kvstore-tool - -Synopsis -======== - -| **ceph-kvstore-tool** *command* [args...] - - -Description -=========== - -:program:`ceph-kvstore-tool` is a kvstore manipulation tool. It allows users to manipule -leveldb/rocksdb's data (like OSD's omap) offline. - -Commands -======== - -:program:`ceph-kvstore-tool` utility uses many commands for debugging purpose -which are as follows: - -:command:`list [prefix]` - Print key of all KV pairs stored with the URL encoded prefix. - -:command:`list-crc [prefix]` - Print CRC of all KV pairs stored with the URL encoded prefix. - -:command:`exists [key]` - Check if there is any KV pair stored with the URL encoded prefix. If key - is also specified, check for the key with the prefix instead. - -:command:`get [out ]` - Get the value of the KV pair stored with the URL encoded prefix and key. - If file is also specified, write the value to the file. - -:command:`crc ` - Get the CRC of the KV pair stored with the URL encoded prefix and key. - -:command:`get-size [ ]` - Get estimated store size or size of value specified by prefix and key. - -:command:`set [ver |in ]` - Set the value of the KV pair stored with the URL encoded prefix and key. - The value could be *version_t* or text. - -:command:`rm ` - Remove the KV pair stored with the URL encoded prefix and key. - -:command:`rm-prefix ` - Remove all KV pairs stored with the URL encoded prefix. - -:command:`store-copy [num-keys-per-tx]` - Copy all KV pairs to another directory specified by ``path``. - [num-keys-per-tx] is the number of KV pairs copied for a transaction. - -:command:`store-crc ` - Store CRC of all KV pairs to a file specified by ``path``. - -:command:`compact` - Subcommand ``compact`` is used to compact all data of kvstore. It will open - the database, and trigger a database's compaction. After compaction, some - disk space may be released. - -:command:`compact-prefix ` - Compact all entries specified by the URL encoded prefix. - -:command:`compact-range ` - Compact some entries specified by the URL encoded prefix and range. - -Availability -============ - -**ceph-kvstore-tool** is part of Ceph, a massively scalable, open-source, distributed storage system. Please refer to -the Ceph documentation at http://ceph.com/docs for more information. - - -See also -======== - -:doc:`ceph `\(8)