From 08f1d906c2696d64ed89160980768865beacdc08 Mon Sep 17 00:00:00 2001 From: Varsha Rao Date: Tue, 6 Apr 2021 15:36:45 +0530 Subject: [PATCH] doc/cephfs/nfs: add user id, fs name and key to FSAL block Fixes: https://tracker.ceph.com/issues/50161 Signed-off-by: Varsha Rao --- doc/cephfs/fs-nfs-exports.rst | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/doc/cephfs/fs-nfs-exports.rst b/doc/cephfs/fs-nfs-exports.rst index 5c5b60e3c97..b0d8f6120f7 100644 --- a/doc/cephfs/fs-nfs-exports.rst +++ b/doc/cephfs/fs-nfs-exports.rst @@ -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. mon 'allow r' osd 'allow rw pool=nfs-ganesha namespace=, allow rw tag cephfs data=' mds 'allow rw path=' + Reset NFS Ganesha Configuration =============================== -- 2.39.5