From: Varsha Rao Date: Thu, 29 Apr 2021 17:42:20 +0000 (+0530) Subject: doc/cephfs/nfs: add section about ganesha logs X-Git-Tag: v16.2.5~105^2~3 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=a25534aad8a3096b334b34a65c535fceadf56b33;p=ceph.git 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) --- diff --git a/doc/cephfs/fs-nfs-exports.rst b/doc/cephfs/fs-nfs-exports.rst index bf2a441f5e4e..ebe52a4cc277 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