]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
doc/cephfs/nfs: add section about ganesha logs
authorVarsha Rao <varao@redhat.com>
Thu, 29 Apr 2021 17:42:20 +0000 (23:12 +0530)
committerVarsha Rao <varao@redhat.com>
Thu, 20 May 2021 05:39:05 +0000 (11:09 +0530)
Fixes: https://tracker.ceph.com/issues/50008
Signed-off-by: Varsha Rao <varao@redhat.com>
(cherry picked from commit 6ff3c1da87d8a4fe3750065a554e348e1882f240)

doc/cephfs/fs-nfs-exports.rst

index bf2a441f5e4e14e060655693437a0ef895d54909..ebe52a4cc2774a591c549a941719f91a51db071d 100644 (file)
@@ -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 <fsid> --name nfs.<cluster_id>.hostname
+
+2) ``rook``
+
+   .. code:: bash
+
+      $ kubectl logs -n rook-ceph rook-ceph-nfs-<cluster_id>-<node_id> 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