gstripe.8 (137221) | gstripe.8 (138623) |
---|---|
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 137221 2004-11-04 19:12:43Z ceri $ | 25.\" $FreeBSD: head/sbin/geom/class/stripe/gstripe.8 138623 2004-12-09 12:26:47Z 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 --- 130 unchanged lines hidden (view full) --- 164.Bl -tag -width indent 165.It Va kern.geom.stripe.debug : No 0 166Debug level of the 167.Nm STRIPE 168GEOM class. 169This can be set to a number between 0 and 3 inclusive. 170If set to 0 minimal debug information is printed, and if set to 3 the 171maximum amount of debug information in printed. | 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 --- 130 unchanged lines hidden (view full) --- 164.Bl -tag -width indent 165.It Va kern.geom.stripe.debug : No 0 166Debug level of the 167.Nm STRIPE 168GEOM class. 169This can be set to a number between 0 and 3 inclusive. 170If set to 0 minimal debug information is printed, and if set to 3 the 171maximum amount of debug information in printed. |
172.It Va kern.geom.stripe.fast : No 1 | 172.It Va kern.geom.stripe.fast : No 0 |
173If set to a non-zero value enable 174.Dq "fast mode" 175instead of the normal 176.Dq "economic mode" . 177Compared to 178.Dq "economic mode" 179.Dq "fast mode" 180uses more memory, but it is much faster for smaller stripe sizes. 181If enough memory cannot be allocated, 182.Nm STRIPE 183will fall back to 184.Dq "economic mode" . | 173If set to a non-zero value enable 174.Dq "fast mode" 175instead of the normal 176.Dq "economic mode" . 177Compared to 178.Dq "economic mode" 179.Dq "fast mode" 180uses more memory, but it is much faster for smaller stripe sizes. 181If enough memory cannot be allocated, 182.Nm STRIPE 183will fall back to 184.Dq "economic mode" . |
185.It Va kern.geom.stripe.maxmem : No 1310720 | 185.It Va kern.geom.stripe.maxmem : No 13107200 |
186Maximum amount of memory that can be consumed by 187.Dq "fast mode" 188(in bytes). 189This 190.Xr sysctl 8 191variable is read-only and can only be set as a tunable in 192.Xr loader.conf 5 . 193.It Va kern.geom.stripe.fast_failed --- 5 unchanged lines hidden (view full) --- 199value. 200.El 201.Sh EXAMPLES 202The following example shows how to set up a striped device from four disks with a 2034 KB stripe size for automatic configuration, 204create a file system on it, 205and mount it: 206.Bd -literal -offset indent | 186Maximum amount of memory that can be consumed by 187.Dq "fast mode" 188(in bytes). 189This 190.Xr sysctl 8 191variable is read-only and can only be set as a tunable in 192.Xr loader.conf 5 . 193.It Va kern.geom.stripe.fast_failed --- 5 unchanged lines hidden (view full) --- 199value. 200.El 201.Sh EXAMPLES 202The following example shows how to set up a striped device from four disks with a 2034 KB stripe size for automatic configuration, 204create a file system on it, 205and mount it: 206.Bd -literal -offset indent |
207gstripe label -v -s 4096 data /dev/da0 /dev/da1 /dev/da2 /dev/da3 | 207gstripe label -v -s 131072 data /dev/da0 /dev/da1 /dev/da2 /dev/da3 |
208newfs /dev/stripe/data 209mount /dev/stripe/data /mnt 210[...] 211umount /mnt 212gstripe stop data 213gstripe unload 214.Ed 215.Sh DIAGNOSTICS --- 33 unchanged lines hidden --- | 208newfs /dev/stripe/data 209mount /dev/stripe/data /mnt 210[...] 211umount /mnt 212gstripe stop data 213gstripe unload 214.Ed 215.Sh DIAGNOSTICS --- 33 unchanged lines hidden --- |