From: Milind Changire Date: Mon, 4 Nov 2024 16:01:39 +0000 (+0530) Subject: mon: emit warning during fs rm X-Git-Tag: v20.0.0~480^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=dd0c8168325cb6d2bc67b17e9b659f1952956267;p=ceph.git mon: emit warning during fs rm Signed-off-by: Milind Changire --- diff --git a/src/mon/FSCommands.cc b/src/mon/FSCommands.cc index 6220a357ff01d..cc53d2869f7ad 100644 --- a/src/mon/FSCommands.cc +++ b/src/mon/FSCommands.cc @@ -1211,6 +1211,11 @@ class RemoveFilesystemHandler : public FileSystemCommandHandler fsmap.erase_filesystem(fsp->get_fscid()); + ss << "If there are active snapshot schedules associated with this " + << "file-system, you might see EIO errors in the mgr logs or at the " + << "snap-schedule command-line due to the missing file-system. " + << "However, these errors are transient and will get auto-resolved."; + return 0; } };