From: Sage Weil Date: Mon, 11 Jun 2018 22:07:58 +0000 (-0500) Subject: mon/OSDMonitor: point users at 'ceph osd safe-to-destroy' for purge|destroy X-Git-Tag: v14.0.1~684^2~6 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=2991eff0bca74cf7a42b57964125ea717884f9f4;p=ceph.git mon/OSDMonitor: point users at 'ceph osd safe-to-destroy' for purge|destroy Signed-off-by: Sage Weil --- diff --git a/src/mon/OSDMonitor.cc b/src/mon/OSDMonitor.cc index 6da6e5a5c9c35..03d84df25f146 100644 --- a/src/mon/OSDMonitor.cc +++ b/src/mon/OSDMonitor.cc @@ -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)) {