resource-agents/SOURCES/bz1845583-exportfs-1-descri...

28 lines
1.1 KiB
Diff

From f572186ec9bd26c791771a18d38804cfde602578 Mon Sep 17 00:00:00 2001
From: zzhou1 <10611019+zzhou1@users.noreply.github.com>
Date: Tue, 3 Sep 2019 09:24:23 +0000
Subject: [PATCH] exportfs: doc clarification for clientspec format
Point out the standard of the format is aligned with `man exportfs`, and also point out the correct way to deal with the use case to export the same directory(-ies) to multiple subnets.
---
heartbeat/exportfs | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/heartbeat/exportfs b/heartbeat/exportfs
index 80ed057f2..dc609a0b4 100755
--- a/heartbeat/exportfs
+++ b/heartbeat/exportfs
@@ -47,6 +47,12 @@ Manages NFS exports
<longdesc lang="en">
The client specification allowing remote machines to mount the directory
(or directories) over NFS.
+
+Note: it follows the format defined in "man exportfs". For example, in
+the use case to export the directory(-ies) for multiple subnets, please
+do config a dedicated primitive for each subnet CIDR ip address,
+and do not attempt to use multiple CIDR ip addresses in a space
+seperated list, like in /etc/exports.
</longdesc>
<shortdesc lang="en">
Client ACL.