From a25534aad8a3096b334b34a65c535fceadf56b33 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 (cherry picked from commit 6ff3c1da87d8a4fe3750065a554e348e1882f240) --- 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 bf2a441f5e4e1..ebe52a4cc2774 100644 --- a/doc/cephfs/fs-nfs-exports.rst +++ b/doc/cephfs/fs-nfs-exports.rst @@ -323,4 +323,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