From 349fabe0b008326ccc973dfba2af58e836e66ffe Mon Sep 17 00:00:00 2001 From: Zac Dover Date: Sun, 10 Aug 2025 20:51:17 +1000 Subject: [PATCH] doc/cephfs: edit troubleshooting.rst Edit the section "debug output" in the file doc/cephfs/troubleshooting.rst. Signed-off-by: Zac Dover (cherry picked from commit 6f62b74b04da92845274cf786bf970f1e13aea3c) --- doc/cephfs/troubleshooting.rst | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/doc/cephfs/troubleshooting.rst b/doc/cephfs/troubleshooting.rst index 66927eb3fa9..c311a8567cd 100644 --- a/doc/cephfs/troubleshooting.rst +++ b/doc/cephfs/troubleshooting.rst @@ -273,13 +273,21 @@ stuck. Debug output ------------ -To get more debugging information from ceph-fuse, try running in the foreground -with logging to the console (``-d``) and enabling client debug -(``--debug-client=20``), enabling prints for each message sent +To get more debugging information from ceph-fuse, list current operations in +the foreground while logging to the console (``-d``), enabling client debug +(``--debug-client=20``), and enabling prints for each message sent (``--debug-ms=1``). +.. prompt:: bash # + + ceph daemon -d mds. dump_ops_in_flight --debug-client=20 --debug-ms=1 + If you suspect a potential monitor issue, enable monitor debugging as well -(``--debug-monc=20``). +(``--debug-monc=20``) by running a command of the following form: + +.. prompt:: bash # + + ceph daemon -d mds. dump_ops_in_flight --debug-client=20 --debug-ms=1 --debug-monc=20 .. _kernel_mount_debugging: -- 2.39.5