From dd0c8168325cb6d2bc67b17e9b659f1952956267 Mon Sep 17 00:00:00 2001 From: Milind Changire Date: Mon, 4 Nov 2024 21:31:39 +0530 Subject: [PATCH] mon: emit warning during fs rm Signed-off-by: Milind Changire --- src/mon/FSCommands.cc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/mon/FSCommands.cc b/src/mon/FSCommands.cc index 6220a357ff0..cc53d2869f7 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; } }; -- 2.39.5