From 2991eff0bca74cf7a42b57964125ea717884f9f4 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Mon, 11 Jun 2018 17:07:58 -0500 Subject: [PATCH] mon/OSDMonitor: point users at 'ceph osd safe-to-destroy' for purge|destroy Signed-off-by: Sage Weil --- src/mon/OSDMonitor.cc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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)) { -- 2.39.5