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: v17.1.0~2105^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=6ff3c1da87d8a4fe3750065a554e348e1882f240;p=ceph.git doc/cephfs/nfs: add section about ganesha logs Fixes: https://tracker.ceph.com/issues/50008 Signed-off-by: Varsha Rao --- diff --git a/doc/cephfs/fs-nfs-exports.rst b/doc/cephfs/fs-nfs-exports.rst index 232489008c6c..0df2695f53f3 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