From: Sage Weil Date: Wed, 23 Jun 2021 16:46:07 +0000 (-0400) Subject: doc/cephfs/fs-nfs-export: add note about export update behavior X-Git-Tag: v17.1.0~1551^2~5 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=fc304f2d56c739633ae4a4f118d48c85a3affee0;p=ceph.git doc/cephfs/fs-nfs-export: add note about export update behavior Signed-off-by: Sage Weil --- diff --git a/doc/cephfs/fs-nfs-exports.rst b/doc/cephfs/fs-nfs-exports.rst index 267a97e5e237b..9c8ab0b602bbb 100644 --- a/doc/cephfs/fs-nfs-exports.rst +++ b/doc/cephfs/fs-nfs-exports.rst @@ -315,8 +315,14 @@ For example,:: "clients": [] } -The exported JSON can be modified and then reapplied. Here, *pseudo* -and *access_type* are modified:: +The exported JSON can be modified and then reapplied. Below, *pseudo* +and *access_type* are modified. When modifying an export, the +provided JSON should fully describe the new state of the export (just +as when creating a new export), with the exception of the +authentication credentials, which will be carried over from the +previous state of the export where possible. + +:: $ ceph nfs export apply -i update_cephfs_export.json $ cat update_cephfs_export.json