mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
vfs_glusterfs: print exact cmdline for disabling write-behind translator
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14486 Guenther Signed-off-by: Guenther Deschner <gd@samba.org> Reviewed-by: Anoop C S <anoopcs@samba.org> Autobuild-User(master): Günther Deschner <gd@samba.org> Autobuild-Date(master): Fri Nov 27 17:15:07 UTC 2020 on sn-devel-184
This commit is contained in:
parent
5c27740aef
commit
369c1d5398
@ -179,10 +179,14 @@
|
||||
translator and refuse to connect if detected.
|
||||
Please disable the write-behind translator for the GlusterFS
|
||||
volume to allow the plugin to connect to the volume.
|
||||
The write-behind translator can easily be disabled via calling
|
||||
<programlisting>
|
||||
gluster volume set <volumename> performance.write-behind off
|
||||
</programlisting> on the commandline.
|
||||
</para>
|
||||
<para>
|
||||
With GlusterFS versions >= 9, we silently bypass write-behind
|
||||
translator during intial connect and failure is avoided.
|
||||
translator during initial connect and failure is avoided.
|
||||
</para>
|
||||
|
||||
</refsect1>
|
||||
|
@ -345,9 +345,12 @@ static int check_for_write_behind_translator(TALLOC_CTX *mem_ctx,
|
||||
if (write_behind_present) {
|
||||
DBG_ERR("Write behind translator is enabled for "
|
||||
"volume (%s), refusing to connect! "
|
||||
"Please check the vfs_glusterfs(8) manpage for "
|
||||
"Please turn off the write behind translator by calling "
|
||||
"'gluster volume set %s performance.write-behind off' "
|
||||
"on the commandline. "
|
||||
"Check the vfs_glusterfs(8) manpage for "
|
||||
"further details.\n",
|
||||
volume);
|
||||
volume, volume);
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user