Lines Matching +full:activate +full:- +full:to +full:- +full:activate

1 .\" Copyright (c) 2004-2009 Pawel Jakub Dawidek <pjd@FreeBSD.org>
14 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
18 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
32 To compile GEOM_MIRROR into your kernel, add the following lines to your
34 .Bd -ragged -offset indent
38 Alternatively, to load the GEOM_MIRROR module at boot time, add the following
39 line to your
41 .Bd -literal -offset indent
100 .Cm activate
142 utility uses on-disk metadata (stored in the provider's last sector) to store all needed
144 Since the last sector is used for this purpose, it is possible to place a root
147 The first argument to
149 indicates an action to be performed:
150 .Bl -tag -width ".Cm deactivate"
154 (starting from 0 to 255).
162 .Bl -tag -width ".Fl b Ar balance"
164 Specifies balance algorithm to use, one of:
165 .Bl -tag -width ".Cm round-robin"
171 .It Cm round-robin
172 Use round-robin algorithm when choosing component to read.
174 Split read requests, which are bigger than or equal to slice size on N pieces,
187 balance algorithm and an I/O READ request is bigger than or equal to this value,
190 Defaults to 4096 bytes.
195 Similar to
197 but creates mirror without storing on-disk metadata in last sector.
198 This special "manual" operation mode assumes some external control to manage
199 mirror detection after reboot, device hot-plug and other external events.
204 .Bl -tag -width ".Fl p Ar priority"
208 Specifies balance algorithm to use.
236 .Bl -tag -width ".Fl s Ar size"
239 This option can be omitted, then it will be automatically calculated to
243 Add the given component(s) to the existing mirror.
246 .Bl -tag -width ".Fl p Ar priority"
256 .It Cm activate
257 Activate the given component(s), which were marked as inactive before.
260 connected to the mirror.
265 .Bl -tag -width ".Fl f"
273 command from being used to remove it.
278 .Bl -tag -width ".Fl f"
299 .Bl -tag -width ".Fl v"
306 Use 3 disks to setup a mirror.
308 requests which are bigger than or equal to 2kB.
311 .Bd -literal -offset indent
312 gmirror label -v -b split -s 2048 data da0 da1 da2
323 Add another disk to this mirror,
325 .Bd -literal -offset indent
326 gmirror label -v -b round-robin data da0
332 .Bd -literal -offset indent
333 gmirror label -v -n -b load data da0 da1
340 .Bd -literal -offset indent
346 It will not be resynchronized, if there is no need to do so (there were no writes in
348 .Bd -literal -offset indent
352 gmirror activate data da1
357 variables can be used to configure behavior for all mirrors.
358 .Bl -tag -width indent
360 Control the verbosity of kernel logging related to mirrors.
363 The amount of time, in seconds, to wait for all copies of a mirror to
366 added to the mirror.
368 The amount of time, in seconds, which must elapse after the last write to
370 Clean mirrors do not need to be synchronized after a power failure or
376 I/O request to that disk fails.
385 Periodic updates are used to record a synchronization's progress so that
389 increases the number of non-sequential writes to the disk being synchronized.
394 Doing kernel dumps to
396 providers is possible, but some conditions have to be met.
397 First of all, a kernel dump will go only to one component and
407 script that sets the balance algorithm to
410 .Bd -literal -offset indent
411 gmirror configure -b prefer data
421 .Bd -literal -offset indent
422 gmirror configure -b round-robin data
425 The decision which component to choose for dumping is made when
429 the prefer algorithm will choose to read from it and
452 There should be a way to change a component's priority inside a running mirror.