Deleted Added
full compact
gstripe.8 (131879) gstripe.8 (132096)
1.\" Copyright (c) 2004 Pawel Jakub Dawidek <pjd@FreeBSD.org>
2.\" All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

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

17.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23.\" SUCH DAMAGE.
24.\"
1.\" Copyright (c) 2004 Pawel Jakub Dawidek <pjd@FreeBSD.org>
2.\" All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

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

17.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23.\" SUCH DAMAGE.
24.\"
25.\" $FreeBSD: head/sbin/geom/class/stripe/gstripe.8 131879 2004-07-09 14:41:51Z pjd $
25.\" $FreeBSD: head/sbin/geom/class/stripe/gstripe.8 132096 2004-07-13 11:28:40Z pjd $
26.\"
27.Dd May 21, 2004
28.Dt GSTRIPE 8
29.Os
30.Sh NAME
31.Nm gstripe
32.Nd "control utility for striped devices"
33.Sh SYNOPSIS

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

136.Bl -tag -width ".Fl s Ar stripesize"
137.It Fl f
138Force the removal of the specified striped device.
139.It Fl s Ar stripesize
140Specifies size of stripe block.
141.It Fl v
142Be more verbose.
143.El
26.\"
27.Dd May 21, 2004
28.Dt GSTRIPE 8
29.Os
30.Sh NAME
31.Nm gstripe
32.Nd "control utility for striped devices"
33.Sh SYNOPSIS

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

136.Bl -tag -width ".Fl s Ar stripesize"
137.It Fl f
138Force the removal of the specified striped device.
139.It Fl s Ar stripesize
140Specifies size of stripe block.
141.It Fl v
142Be more verbose.
143.El
144.Sh SYSCTL VARIABLES
145The following
146.Xr sysctl 8
147variables can be used to control the behavior of
148.Nm .
149The default value is shown next to each variable.
150.Bl -tag -width indent
151.It Va kern.geom.stripe.debug : No 0
152Debug level of the
153.Nm .
154This can be set to a number between 0 and 3, both included.
155If set to 0 minimal debug information is printed, and if set to 3 the
156maximum amount of debug information in printed.
157.It Va kern.geom.stripe.fast : No 1
158If set to a non-zero value enable
159.Dq "fast mode"
160instead of the normal
161.Dq "economic mode" .
162Compared to
163.Dq "economic mode"
164.Dq "fast mode"
165uses more memory, but it is much faster for smaller stripe sizes.
166If enough memory cannot be allocated
167.Nm
168will fall back to
169.Dq "economic mode" .
170.It Va kern.geom.stripe.maxmem : No 1310720
171Maximum amount of memory that can be consumed by
172.Dq "fast mode"
173(in bytes).
174This
175.Xr sysctl 8
176variable is read-only and can only be set as a tunable in
177.Xr loader.conf 5 .
178.El
144.Sh EXAMPLES
145The following example shows how to set up striped device from four disks
146for automatic configuration, create a file system on it, and mount it:
147.Bd -literal -offset indent
148gstripe label -v -s 4096 data /dev/da0 /dev/da1 /dev/da2 /dev/da3
149newfs /dev/data.stripe
150mount /dev/data.stripe /mnt
151[...]
152umount /mnt
153gstripe stop data
154gstripe unload
155.Ed
156.Sh DIAGNOSTICS
157Exit status is 0 on success, and 1 if the command fails.
158.Sh SEE ALSO
159.Xr geom 4 ,
179.Sh EXAMPLES
180The following example shows how to set up striped device from four disks
181for automatic configuration, create a file system on it, and mount it:
182.Bd -literal -offset indent
183gstripe label -v -s 4096 data /dev/da0 /dev/da1 /dev/da2 /dev/da3
184newfs /dev/data.stripe
185mount /dev/data.stripe /mnt
186[...]
187umount /mnt
188gstripe stop data
189gstripe unload
190.Ed
191.Sh DIAGNOSTICS
192Exit status is 0 on success, and 1 if the command fails.
193.Sh SEE ALSO
194.Xr geom 4 ,
195.Xr loader.conf 5 ,
160.Xr geom 8 ,
161.Xr mount 8 ,
162.Xr newfs 8 ,
196.Xr geom 8 ,
197.Xr mount 8 ,
198.Xr newfs 8 ,
199.Xr sysctl 8 ,
163.Xr umount 8 ,
164.Xr vinum 8
165.Sh HISTORY
166The
167.Nm
168utility appeared in
169.Fx 5.3 .
170.Sh AUTHORS
171.An Pawel Jakub Dawidek Aq pjd@FreeBSD.org
200.Xr umount 8 ,
201.Xr vinum 8
202.Sh HISTORY
203The
204.Nm
205utility appeared in
206.Fx 5.3 .
207.Sh AUTHORS
208.An Pawel Jakub Dawidek Aq pjd@FreeBSD.org