From: Varsha Rao Date: Mon, 12 Jul 2021 06:29:59 +0000 (+0530) Subject: doc/mgr/nfs: update cephfs export create command about client and squash arguments X-Git-Tag: v16.2.7~116^2~61 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=7b77578afa77b50d6a9b68d9f3f5502e8fd4074d;p=ceph.git doc/mgr/nfs: update cephfs export create command about client and squash arguments Signed-off-by: Varsha Rao (cherry picked from commit 5db2b48f14cddf673323d72f303ed1cfedd877f9) --- diff --git a/doc/mgr/nfs.rst b/doc/mgr/nfs.rst index 9b827c47f9b..a435ead4a01 100644 --- a/doc/mgr/nfs.rst +++ b/doc/mgr/nfs.rst @@ -210,7 +210,7 @@ Create CephFS Export .. code:: bash - $ ceph nfs export create cephfs [--readonly] [--path=/path/in/cephfs] + $ ceph nfs export create cephfs [--readonly] [--path=/path/in/cephfs] [--client_addr ...] [--squash ] This creates export RADOS objects containing the export block, where @@ -219,7 +219,7 @@ that will serve this export. ```` is the NFS Ganesha cluster ID. -```` is the export position within the NFS v4 Pseudo Filesystem where the export will be available on the server. It must be an absolute path and unique. +```` is the export position within the NFS v4 Pseudo Filesystem where the export will be available on the server. It must be an absolute path and unique. ```` is the path within cephfs. Valid path should be given and default path is '/'. It need not be unique. Subvolume path can be fetched using: @@ -228,6 +228,15 @@ path is '/'. It need not be unique. Subvolume path can be fetched using: $ ceph fs subvolume getpath [--group_name ] +```` is the list of client address for which these export +permissions will be applicable. By default all clients can access the export +according to specified export permissions. See the `NFS-Ganesha Export Sample`_ +for permissible values. + +```` defines the kind of user id squashing to be performed. The default +value is `no_root_squash`. See the `NFS-Ganesha Export Sample`_ for +permissible values. + .. note:: Export creation is supported only for NFS Ganesha clusters deployed using nfs interface. Delete CephFS Export @@ -381,3 +390,4 @@ Checking NFS-Ganesha logs with Log level can be changed using `nfs cluster config set` command. .. _NFS-Ganesha NFS Server: https://github.com/nfs-ganesha/nfs-ganesha/wiki +.. _NFS-Ganesha Export Sample: https://github.com/nfs-ganesha/nfs-ganesha/blob/next/src/config_samples/export.txt