diff --git a/src/tools/ceph-monstore-tool.cc b/src/tools/ceph-monstore-tool.cc index c1370ab258f..e0ec38eabba 100644 --- a/src/tools/ceph-monstore-tool.cc +++ b/src/tools/ceph-monstore-tool.cc @@ -202,6 +202,8 @@ int main(int argc, char **argv) { cout << key.first << " / " << key.second << std::endl; iter->next(); } + } else if (cmd == "compact") { + st.compact(); } else if (cmd == "getosdmap") { if (!store_path.size()) { std::cerr << "need mon store path" << std::endl;