From: Milind Changire Date: Mon, 4 Nov 2024 16:01:39 +0000 (+0530) Subject: mon: emit warning during fs rm X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=411f04166f194af1a156c0ebb3965544f8d020af;p=ceph.git mon: emit warning during fs rm Signed-off-by: Milind Changire (cherry picked from commit dd0c8168325cb6d2bc67b17e9b659f1952956267) --- diff --git a/src/mon/FSCommands.cc b/src/mon/FSCommands.cc index c564226b04f5..5b0b12bc59ec 100644 --- a/src/mon/FSCommands.cc +++ b/src/mon/FSCommands.cc @@ -1157,6 +1157,11 @@ class RemoveFilesystemHandler : public FileSystemCommandHandler fsmap.erase_filesystem(fs->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; } };