diff options
author | Alexander Motin <mav@FreeBSD.org> | 2012-05-06 06:25:17 +0000 |
---|---|---|
committer | Alexander Motin <mav@FreeBSD.org> | 2012-05-06 06:25:17 +0000 |
commit | e231bbbaa3752566ad278557d8e691ca2ea8adc4 (patch) | |
tree | 9d3ee9399eb9ecf861d314677af4e18badc9ac4c /sbin/geom/class/raid/graid.8 | |
parent | a0f00447fbea89d986b89f904e4d407e3d2c0e64 (diff) |
Add description for GEOM RAID tunables/sysctls.
MFC after: 1 week
Notes
Notes:
svn path=/head/; revision=235071
Diffstat (limited to 'sbin/geom/class/raid/graid.8')
-rw-r--r-- | sbin/geom/class/raid/graid.8 | 29 |
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 |