Deleted Added
full compact
hast.conf.5 (222121) hast.conf.5 (225830)
1.\" Copyright (c) 2010 The FreeBSD Foundation
2.\" Copyright (c) 2010-2011 Pawel Jakub Dawidek <pawel@dawidek.net>
3.\" All rights reserved.
4.\"
5.\" This software was developed by Pawel Jakub Dawidek under sponsorship from
6.\" the FreeBSD Foundation.
7.\"
8.\" Redistribution and use in source and binary forms, with or without

--- 12 unchanged lines hidden (view full) ---

21.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27.\" SUCH DAMAGE.
28.\"
1.\" Copyright (c) 2010 The FreeBSD Foundation
2.\" Copyright (c) 2010-2011 Pawel Jakub Dawidek <pawel@dawidek.net>
3.\" All rights reserved.
4.\"
5.\" This software was developed by Pawel Jakub Dawidek under sponsorship from
6.\" the FreeBSD Foundation.
7.\"
8.\" Redistribution and use in source and binary forms, with or without

--- 12 unchanged lines hidden (view full) ---

21.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27.\" SUCH DAMAGE.
28.\"
29.\" $FreeBSD: head/sbin/hastd/hast.conf.5 222121 2011-05-20 11:21:39Z pjd $
29.\" $FreeBSD: head/sbin/hastd/hast.conf.5 225830 2011-09-28 13:08:51Z pjd $
30.\"
31.Dd May 20, 2011
32.Dt HAST.CONF 5
33.Os
34.Sh NAME
35.Nm hast.conf
36.Nd configuration file for the
37.Xr hastd 8

--- 20 unchanged lines hidden (view full) ---

58# Global section
59control <addr>
60listen <addr>
61replication <mode>
62checksum <algorithm>
63compression <algorithm>
64timeout <seconds>
65exec <path>
30.\"
31.Dd May 20, 2011
32.Dt HAST.CONF 5
33.Os
34.Sh NAME
35.Nm hast.conf
36.Nd configuration file for the
37.Xr hastd 8

--- 20 unchanged lines hidden (view full) ---

58# Global section
59control <addr>
60listen <addr>
61replication <mode>
62checksum <algorithm>
63compression <algorithm>
64timeout <seconds>
65exec <path>
66metaflush "on" | "off"
66
67on <node> {
68 # Node section
69 control <addr>
70 listen <addr>
71}
72
73on <node> {

--- 6 unchanged lines hidden (view full) ---

80 # Resource section
81 replication <mode>
82 checksum <algorithm>
83 compression <algorithm>
84 name <name>
85 local <path>
86 timeout <seconds>
87 exec <path>
67
68on <node> {
69 # Node section
70 control <addr>
71 listen <addr>
72}
73
74on <node> {

--- 6 unchanged lines hidden (view full) ---

81 # Resource section
82 replication <mode>
83 checksum <algorithm>
84 compression <algorithm>
85 name <name>
86 local <path>
87 timeout <seconds>
88 exec <path>
89 metaflush "on" | "off"
88
89 on <node> {
90 # Resource-node section
91 name <name>
92 # Required
93 local <path>
90
91 on <node> {
92 # Resource-node section
93 name <name>
94 # Required
95 local <path>
96 metaflush "on" | "off"
94 # Required
95 remote <addr>
96 source <addr>
97 }
98 on <node> {
99 # Resource-node section
100 name <name>
101 # Required
102 local <path>
97 # Required
98 remote <addr>
99 source <addr>
100 }
101 on <node> {
102 # Resource-node section
103 name <name>
104 # Required
105 local <path>
106 metaflush "on" | "off"
103 # Required
104 remote <addr>
105 source <addr>
106 }
107}
108.Ed
109.Pp
110Most of the various available configuration parameters are optional.

--- 202 unchanged lines hidden (view full) ---

313The
314.Aq newrole
315argument is current resource role (after the change).
316It can be one of:
317.Ar init ,
318.Ar secondary ,
319.Ar primary .
320.Pp
107 # Required
108 remote <addr>
109 source <addr>
110 }
111}
112.Ed
113.Pp
114Most of the various available configuration parameters are optional.

--- 202 unchanged lines hidden (view full) ---

317The
318.Aq newrole
319argument is current resource role (after the change).
320It can be one of:
321.Ar init ,
322.Ar secondary ,
323.Ar primary .
324.Pp
325.It Ic metaflush on | off
326.Pp
327When set to
328.Va on ,
329flush write cache of the local provider after every metadata (activemap) update.
330Flushing write cache ensures that provider will not reorder writes and that
331metadata will be properly updated before real data is stored.
332If the local provider does not support flushing write cache (it returns
333.Er EOPNOTSUPP
334on the
335.Cm BIO_FLUSH
336request),
337.Nm hastd
338will disable
339.Ic metaflush
340automatically.
341The default value is
342.Va on .
343.Pp
321.It Ic name Aq name
322.Pp
323GEOM provider name that will appear as
324.Pa /dev/hast/<name> .
325If name is not defined, resource name will be used as provider name.
326.It Ic local Aq path
327.Pp
328Path to the local component which will be used as backend provider for

--- 87 unchanged lines hidden ---
344.It Ic name Aq name
345.Pp
346GEOM provider name that will appear as
347.Pa /dev/hast/<name> .
348If name is not defined, resource name will be used as provider name.
349.It Ic local Aq path
350.Pp
351Path to the local component which will be used as backend provider for

--- 87 unchanged lines hidden ---