summaryrefslogtreecommitdiffstats
path: root/sbin/geom
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2012-05-06 06:25:17 +0000
committermav <mav@FreeBSD.org>2012-05-06 06:25:17 +0000
commit83acc7a4a7beee22e91dae5c17e902711d3725fd (patch)
tree9d3ee9399eb9ecf861d314677af4e18badc9ac4c /sbin/geom
parent66bd98e788f5f03a6b33745df31b3042c32d96fc (diff)
downloadFreeBSD-src-83acc7a4a7beee22e91dae5c17e902711d3725fd.zip
FreeBSD-src-83acc7a4a7beee22e91dae5c17e902711d3725fd.tar.gz
Add description for GEOM RAID tunables/sysctls.
MFC after: 1 week
Diffstat (limited to 'sbin/geom')
-rw-r--r--sbin/geom/class/raid/graid.829
1 files changed, 28 insertions, 1 deletions
diff --git a/sbin/geom/class/raid/graid.8 b/sbin/geom/class/raid/graid.8
index 3b2a860..3885f48 100644
--- a/sbin/geom/class/raid/graid.8
+++ b/sbin/geom/class/raid/graid.8
@@ -24,7 +24,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd May 3, 2012
+.Dd May 6, 2012
.Dt GRAID 8
.Os
.Sh NAME
@@ -276,6 +276,33 @@ corruption!
.Sh 2TiB BARRIERS
Promise metadata format does not support disks above 2TiB.
NVIDIA metadata format does not support volumes above 2TiB.
+.Sh SYSCTL VARIABLES
+The following
+.Xr sysctl 8
+variable can be used to control the behavior of the
+.Nm RAID
+GEOM class.
+.Bl -tag -width indent
+.It Va kern.geom.raid.aggressive_spare : No 0
+Use any disks without metadata connected to controllers of the vendor
+matching to volume metadata format as spare.
+Use it with much care to not lose data if connecting unrelated disk!
+.It Va kern.geom.raid.clean_time : No 5
+Mark volume as clean when idle for the specified number of seconds.
+.It Va kern.geom.raid.debug : No 0
+Debug level of the
+.Nm RAID
+GEOM class.
+.It Va kern.geom.raid.idle_threshold : No 1000000
+Time in microseconds to consider a volume idle for rebuild puroses.
+.It Va kern.geom.raid.name_format : No 0
+Providers name format: 0 -- raid/r{num}, 1 -- raid/{label}.
+.It Va kern.geom.raid.read_err_thresh : No 10
+Number of read errors equated to disk failure.
+Write errors are always considered as disk failures.
+.It Va kern.geom.raid.start_timeout : No 30
+Time to wait for missing array components on startup.
+.El
.Sh EXIT STATUS
Exit status is 0 on success, and non-zero if the command fails.
.Sh SEE ALSO
OpenPOWER on IntegriCloud