From 33800f9873e538883b8f3ee5828848eef4c7a63e Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Wed, 23 Jun 2021 12:46:07 -0400 Subject: [PATCH] doc/cephfs/fs-nfs-export: add note about export update behavior Signed-off-by: Sage Weil (cherry picked from commit fc304f2d56c739633ae4a4f118d48c85a3affee0) --- doc/cephfs/fs-nfs-exports.rst | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/doc/cephfs/fs-nfs-exports.rst b/doc/cephfs/fs-nfs-exports.rst index b07e4e0f6a3..06f3b6deadf 100644 --- a/doc/cephfs/fs-nfs-exports.rst +++ b/doc/cephfs/fs-nfs-exports.rst @@ -314,8 +314,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 -- 2.47.3