Update docs since command "ceph mds fail" will now fail if MDS has either
health warning MDS_TRIM or MDS_CACHE_OVERSIZED and if confirmation flag
is not passed.
Signed-off-by: Rishabh Dave <ridave@redhat.com>
(cherry picked from commit
dea22203749bc87a209289f5aed1e78b503ab440)
$ sudo rm -rf /var/lib/ceph/mds/ceph-${id}
+
+.. note:: When an active MDS either has health warning MDS_TRIM or
+ MDS_CACHE_OVERSIZED, confirmation flag (--yes-i-really-mean-it)
+ needs to be passed, else the command will fail. It is not recommended to
+ restart an MDS which has these warnings since slow recovery at restart may
+ lead to more problems.
+
.. _MDS Config Reference: ../mds-config-ref
::
# For all ranks, 0-N:
- ceph mds fail <fs_name>:<n>
+ ceph mds fail <fs_name>:<n> {--yes-i-really-mean-it}
+
+.. note:: Note that confirmation flag is optional because it is only required
+ when the MDS is active and has health warning MDS_TRIM or
+ MDS_CACHE_OVERSIZED.
Once all ranks are inactive, the file system may also be deleted or left in
this state for other purposes (perhaps disaster recovery).