From 6ff3c1da87d8a4fe3750065a554e348e1882f240 Mon Sep 17 00:00:00 2001 From: Varsha Rao Date: Thu, 29 Apr 2021 23:12:20 +0530 Subject: [PATCH] doc/cephfs/nfs: add section about ganesha logs Fixes: https://tracker.ceph.com/issues/50008 Signed-off-by: Varsha Rao --- doc/cephfs/fs-nfs-exports.rst | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/doc/cephfs/fs-nfs-exports.rst b/doc/cephfs/fs-nfs-exports.rst index 232489008c6..0df2695f53f 100644 --- a/doc/cephfs/fs-nfs-exports.rst +++ b/doc/cephfs/fs-nfs-exports.rst @@ -326,4 +326,23 @@ grace period. The exports can be mounted by .. note:: Only NFS v4.0+ is supported. +Troubleshooting +=============== + +Checking NFS-Ganesha logs with + +1) ``cephadm`` + + .. code:: bash + + $ cephadm logs --fsid --name nfs..hostname + +2) ``rook`` + + .. code:: bash + + $ kubectl logs -n rook-ceph rook-ceph-nfs-- nfs-ganesha + +Log level can be changed using `nfs cluster config set` command. + .. _NFS-Ganesha NFS Server: https://github.com/nfs-ganesha/nfs-ganesha/wiki -- 2.39.5