]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
doc/cephfs/nfs: add user id, fs name and key to FSAL block
authorVarsha Rao <varao@redhat.com>
Tue, 6 Apr 2021 10:06:45 +0000 (15:36 +0530)
committerVarsha Rao <varao@redhat.com>
Tue, 6 Apr 2021 10:22:04 +0000 (15:52 +0530)
Fixes: https://tracker.ceph.com/issues/50161
Signed-off-by: Varsha Rao <varao@redhat.com>
doc/cephfs/fs-nfs-exports.rst

index 5c5b60e3c971e0629a77be36006143b792bb7c61..b0d8f6120f7219bc4ed599818e2923e4698644b9 100644 (file)
@@ -136,9 +136,18 @@ Example use cases
      Squash = None;
      FSAL {
        Name = CEPH;
+       Filesystem = "filesystem name";
+       User_Id = "user id";
+       Secret_Access_Key = "secret key";
      }
    }
 
+.. note:: User specified in FSAL block should have proper caps for NFS-Ganesha
+   daemons to access ceph cluster. User can be created in following way using
+   `auth get-or-create`::
+
+         # ceph auth get-or-create client.<user_id> mon 'allow r' osd 'allow rw pool=nfs-ganesha namespace=<nfs_cluster_name>, allow rw tag cephfs data=<fs_name>' mds 'allow rw path=<export_path>'
+
 Reset NFS Ganesha Configuration
 ===============================