From: Yao Zongyou Date: Sat, 28 Oct 2017 10:22:27 +0000 (+0800) Subject: ceph-bluestore-tool: the right action is prime-osd-dir not prime-osd-dev X-Git-Tag: v13.0.1~370^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=d418a04e9fed6bf91cc9acc5ac777eadf664c974;p=ceph.git ceph-bluestore-tool: the right action is prime-osd-dir not prime-osd-dev Signed-off-by: Yao Zongyou --- diff --git a/doc/man/8/ceph-bluestore-tool.rst b/doc/man/8/ceph-bluestore-tool.rst index 2f18c047c8a..7a7b0ea6a47 100644 --- a/doc/man/8/ceph-bluestore-tool.rst +++ b/doc/man/8/ceph-bluestore-tool.rst @@ -17,7 +17,7 @@ Synopsis [ --deep ] | **ceph-bluestore-tool** fsck|repair --path *osd path* [ --deep ] | **ceph-bluestore-tool** show-label --dev *device* ... -| **ceph-bluestore-tool** prime-osd-dev --dev *device* --path *osd path* +| **ceph-bluestore-tool** prime-osd-dir --dev *device* --path *osd path* | **ceph-bluestore-tool** bluefs-export --path *osd path* --out-dir *dir* | **ceph-bluestore-tool** bluefs-export --path *osd path* --out-dir *dir* diff --git a/src/os/bluestore/bluestore_tool.cc b/src/os/bluestore/bluestore_tool.cc index ae259f6a49c..d41b5052a50 100644 --- a/src/os/bluestore/bluestore_tool.cc +++ b/src/os/bluestore/bluestore_tool.cc @@ -183,7 +183,7 @@ int main(int argc, char **argv) exit(EXIT_FAILURE); } } - if (action == "prime-osd-dev") { + if (action == "prime-osd-dir") { if (devs.size() != 1) { cerr << "must specify the main bluestore device" << std::endl; exit(EXIT_FAILURE);