2024-02-28 10:11:25

by Chen Hanxiao

[permalink] [raw]
Subject: [PATCH] exports(5): update version information of "refer=" option

"refer=" is a NFSv4-specific option (as per RFC 7530 section 8.4.3).
Other client version will ignore this option.

Signed-off-by: Chen Hanxiao <[email protected]>
---
utils/exportfs/exports.man | 3 +++
1 file changed, 3 insertions(+)

diff --git a/utils/exportfs/exports.man b/utils/exportfs/exports.man
index 58537a22..c14769e5 100644
--- a/utils/exportfs/exports.man
+++ b/utils/exportfs/exports.man
@@ -445,6 +445,9 @@ the given list an alternative location for the filesystem.
filesystem is not required; so, for example,
.IR "mount --bind" " /path /path"
is sufficient.)
+
+This option affects only NFSv4 clients. Other clients will ignore
+all "refer=" parts.
.TP
.IR replicas= path@host[+host][:path@host[+host]]
If the client asks for alternative locations for the export point, it
--
2.43.0



2024-03-03 13:21:11

by Martin Wege

[permalink] [raw]
Subject: Re: [PATCH] exports(5): update version information of "refer=" option

On Wed, Feb 28, 2024 at 11:12 AM Chen Hanxiao <[email protected]> wrote:
>
> "refer=" is a NFSv4-specific option (as per RFC 7530 section 8.4.3).
> Other client version will ignore this option.
>
> Signed-off-by: Chen Hanxiao <[email protected]>
> ---
> utils/exportfs/exports.man | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/utils/exportfs/exports.man b/utils/exportfs/exports.man
> index 58537a22..c14769e5 100644
> --- a/utils/exportfs/exports.man
> +++ b/utils/exportfs/exports.man
> @@ -445,6 +445,9 @@ the given list an alternative location for the filesystem.
> filesystem is not required; so, for example,
> .IR "mount --bind" " /path /path"
> is sufficient.)
> +
> +This option affects only NFSv4 clients. Other clients will ignore
> +all "refer=" parts.

refer= should also have examples for IPv4 and IPv6, right now there
are zero examples

Thanks,
Martin

2024-03-15 13:12:22

by Steve Dickson

[permalink] [raw]
Subject: Re: [PATCH] exports(5): update version information of "refer=" option



On 2/28/24 5:09 AM, Chen Hanxiao wrote:
> "refer=" is a NFSv4-specific option (as per RFC 7530 section 8.4.3).
> Other client version will ignore this option.
>
> Signed-off-by: Chen Hanxiao <[email protected]>
Committed (tag: nfs-utils-2-7-1-rc5)

steved.

> ---
> utils/exportfs/exports.man | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/utils/exportfs/exports.man b/utils/exportfs/exports.man
> index 58537a22..c14769e5 100644
> --- a/utils/exportfs/exports.man
> +++ b/utils/exportfs/exports.man
> @@ -445,6 +445,9 @@ the given list an alternative location for the filesystem.
> filesystem is not required; so, for example,
> .IR "mount --bind" " /path /path"
> is sufficient.)
> +
> +This option affects only NFSv4 clients. Other clients will ignore
> +all "refer=" parts.
> .TP
> .IR replicas= path@host[+host][:path@host[+host]]
> If the client asks for alternative locations for the export point, it