]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mon/OSDMonitor: point users at 'ceph osd safe-to-destroy' for purge|destroy
authorSage Weil <sage@redhat.com>
Mon, 11 Jun 2018 22:07:58 +0000 (17:07 -0500)
committerSage Weil <sage@redhat.com>
Wed, 1 Aug 2018 13:12:15 +0000 (08:12 -0500)
Signed-off-by: Sage Weil <sage@redhat.com>
src/mon/OSDMonitor.cc

index 6da6e5a5c9c354fbd319dcf834aedd5b44fcbcd2..03d84df25f146e78148f05b65843240ef8a0bf1a 100644 (file)
@@ -10680,9 +10680,10 @@ bool OSDMonitor::prepare_command_impl(MonOpRequestRef op,
     string sure;
     if (!cmd_getval(cct, cmdmap, "sure", sure) ||
         sure != "--yes-i-really-mean-it") {
-      ss << "Are you SURE? This will mean real, permanent data loss, as well "
-         << "as cephx and lockbox keys. Pass --yes-i-really-mean-it if you "
-         << "really do.";
+      ss << "Are you SURE?  Did you verify with 'ceph osd safe-to-destroy'?  "
+        << "This will mean real, permanent data loss, as well "
+         << "as deletion of cephx and lockbox keys. "
+        << "Pass --yes-i-really-mean-it if you really do.";
       err = -EPERM;
       goto reply;
     } else if (!osdmap.exists(id)) {