aboutsummaryrefslogtreecommitdiff
path: root/sbin/geom
diff options
context:
space:
mode:
authorAlexander Motin <mav@FreeBSD.org>2012-05-06 06:25:17 +0000
committerAlexander Motin <mav@FreeBSD.org>2012-05-06 06:25:17 +0000
commite231bbbaa3752566ad278557d8e691ca2ea8adc4 (patch)
tree9d3ee9399eb9ecf861d314677af4e18badc9ac4c /sbin/geom
parenta0f00447fbea89d986b89f904e4d407e3d2c0e64 (diff)
downloadsrc-e231bbbaa3752566ad278557d8e691ca2ea8adc4.tar.gz
src-e231bbbaa3752566ad278557d8e691ca2ea8adc4.zip
Add description for GEOM RAID tunables/sysctls.
MFC after: 1 week
Notes
Notes: svn path=/head/; revision=235071
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 3b2a8600e0a8..3885f485aade 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