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: v17.1.0~1419^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=5db2b48f14cddf673323d72f303ed1cfedd877f9;p=ceph.git doc/mgr/nfs: update cephfs export create command about client and squash arguments Signed-off-by: Varsha Rao --- diff --git a/doc/mgr/nfs.rst b/doc/mgr/nfs.rst index 2827f6ca21bf..51182f39ec18 100644 --- a/doc/mgr/nfs.rst +++ b/doc/mgr/nfs.rst @@ -211,7 +211,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 @@ -220,7 +220,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: @@ -229,6 +229,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 @@ -382,3 +391,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