Date: Fri, 5 Jan 2007 23:09:42 GMT From: Matt Jacob <mjacob@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 112578 for review Message-ID: <200701052309.l05N9g5s060487@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=112578 Change 112578 by mjacob@mjexp_6 on 2007/01/05 23:09:37 Integrate with vendor branch. Affected files ... .. //depot/projects/mjexp_6/sbin/geom/class/mirror/gmirror.8#2 integrate Differences ... ==== //depot/projects/mjexp_6/sbin/geom/class/mirror/gmirror.8#2 (text+ko) ==== @@ -22,9 +22,9 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $FreeBSD: src/sbin/geom/class/mirror/gmirror.8,v 1.16.2.3 2006/03/20 15:48:55 pjd Exp $ +.\" $FreeBSD: src/sbin/geom/class/mirror/gmirror.8,v 1.16.2.4 2006/12/31 18:46:42 ceri Exp $ .\" -.Dd March 8, 2006 +.Dd December 31, 2006 .Dt GMIRROR 8 .Os .Sh NAME @@ -83,10 +83,6 @@ .Op Fl fv .Ar name ... .Nm -.Cm clear -.Op Fl v -.Ar prov ... -.Nm .Cm dump .Ar prov ... .Nm @@ -120,7 +116,9 @@ Create a mirror. The order of components is important, because a component's priority is based on its position (starting from 0). -The component with the biggest priority is used by the prefer balance algorithm +The component with the biggest priority is used by the +.Cm prefer +balance algorithm and is also used as a master component when resynchronization is needed, e.g.\& after a power failure when the device was open for writing. .Pp @@ -291,7 +289,8 @@ First of all, a kernel dump will go only to one component and .Nm always chooses the component with the highest priority. -Reading a dump from the mirror on boot will only work if the prefer +Reading a dump from the mirror on boot will only work if the +.Cm prefer balance algorithm is used (that way .Nm will read only from the component with the highest priority). @@ -320,7 +319,6 @@ If on the next boot a component with the highest priority will be synchronized, the prefer balance algorithm will read from the next one, thus will find nothing there. -.Ed .Sh SEE ALSO .Xr geom 4 , .Xr dumpon 8 ,
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200701052309.l05N9g5s060487>