diff options
author | ru <ru@FreeBSD.org> | 2005-01-15 10:05:02 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2005-01-15 10:05:02 +0000 |
commit | 1df46a2a903a3e74d9d7ab1224244b88a496aa80 (patch) | |
tree | 37bca7dd434a3ac3657f2c1cafa2456a0507defb /sbin/geom/class/mirror | |
parent | c1d168f9a450be99fc5b9c2de536f93f01049276 (diff) | |
download | FreeBSD-src-1df46a2a903a3e74d9d7ab1224244b88a496aa80.zip FreeBSD-src-1df46a2a903a3e74d9d7ab1224244b88a496aa80.tar.gz |
Markup fixes.
Diffstat (limited to 'sbin/geom/class/mirror')
-rw-r--r-- | sbin/geom/class/mirror/gmirror.8 | 36 |
1 files changed, 21 insertions, 15 deletions
diff --git a/sbin/geom/class/mirror/gmirror.8 b/sbin/geom/class/mirror/gmirror.8 index e98bab9..9efa9e6 100644 --- a/sbin/geom/class/mirror/gmirror.8 +++ b/sbin/geom/class/mirror/gmirror.8 @@ -24,7 +24,7 @@ .\" .\" $FreeBSD$ .\" -.Dd Jul 9, 2004 +.Dd July 9, 2004 .Dt GMIRROR 8 .Os .Sh NAME @@ -131,14 +131,14 @@ Additional options include: .Bl -tag -width ".Fl b Ar balance" .It Fl b Ar balance Specifies balance algorithm to use, one of: -.Bl -tag -width "round-robin" -.It load +.Bl -tag -width ".Cm round-robin" +.It Cm load Read from the component with the lowest load. -.It prefer +.It Cm prefer Read from the component with the biggest priority. -.It round-robin +.It Cm round-robin Use round-robin algorithm when choosing component to read. -.It split +.It Cm split Split read requests, which are bigger than or equal to slice size on N pieces, where N is the number of active components. .El @@ -148,7 +148,7 @@ Hardcode providers' names in metadata. Turn off autosynchronization of stale components. .It Fl s Ar slice When using the -.Nm split +.Cm split balance algorithm and an I/O READ request is bigger than or equal to this value, the I/O request will be split into N pieces, where N is the number of active component. @@ -172,7 +172,7 @@ Hardcode providers' names in metadata. Turn off autosynchronization of stale components. .It Fl s Ar slice Specifies slice size for -.Nm split +.Cm split balance algorithm. .El .It Cm rebuild @@ -200,7 +200,7 @@ Mark the given component(s) as inactive, so it will not be automatically connected to the mirror. .It Cm forget Forget about components which are not connected. -This command is useful when a disk has failed and can not be reconnected, preventing the +This command is useful when a disk has failed and cannot be reconnected, preventing the .Cm remove command from being used to remove it. .It Cm stop @@ -230,20 +230,23 @@ Additional options include: Be more verbose. .El .Sh EXAMPLES -Use 3 disks to setup a mirror. Choose split balance algorithm, split only -requests which are bigger than or equal to 2kB. Create file system, +Use 3 disks to setup a mirror. +Choose split balance algorithm, split only +requests which are bigger than or equal to 2kB. +Create file system, mount it, then unmount it and stop device: .Bd -literal -offset indent gmirror label -v -b split -s 2048 data da0 da1 da2 newfs /dev/mirror/data mount /dev/mirror/data /mnt -[...] +\&... umount /mnt gmirror stop data gmirror unload .Ed .Pp -Create a mirror on disk with valid data. Add another disk to this mirror, +Create a mirror on disk with valid data. +Add another disk to this mirror, so it will be synchronized with existing disk: .Bd -literal -offset indent gmirror label -v -b round-robin data da0 @@ -258,7 +261,8 @@ gmirror insert data da2 gmirror rebuild data da2 .Ed .Pp -One disk failed. Replace it with a brand new one: +One disk failed. +Replace it with a brand new one: .Bd -literal -offset indent gmirror forget data gmirror insert data da1 @@ -294,4 +298,6 @@ There should be a way to change a component's priority inside a running mirror. .Pp There should be a section with an implementation description. .Pp -Documentation for sysctls kern.geom.mirror.* is missing. +Documentation for sysctls +.Va kern.geom.mirror.* +is missing. |