summaryrefslogtreecommitdiffstats
path: root/sbin/geom
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2012-09-13 13:27:09 +0000
committermav <mav@FreeBSD.org>2012-09-13 13:27:09 +0000
commitdb9e01aca9af40e4b56657bc713041a28462e06b (patch)
tree0ff95415709412d6c621a94ef09cd40e80d7600e /sbin/geom
parent10608e7d855a9c973b57055bfc2e87284c68ce9e (diff)
downloadFreeBSD-src-db9e01aca9af40e4b56657bc713041a28462e06b.zip
FreeBSD-src-db9e01aca9af40e4b56657bc713041a28462e06b.tar.gz
Add global and per-module sysctls/tunables to enable/disable metadata taste.
That should help to handle some cases when disk has some RAID metadata that should be ignored, especially during boot. MFC after: 3 days
Diffstat (limited to 'sbin/geom')
-rw-r--r--sbin/geom/class/raid/graid.86
1 files changed, 5 insertions, 1 deletions
diff --git a/sbin/geom/class/raid/graid.8 b/sbin/geom/class/raid/graid.8
index e062658..630cd01 100644
--- a/sbin/geom/class/raid/graid.8
+++ b/sbin/geom/class/raid/graid.8
@@ -24,7 +24,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd May 6, 2012
+.Dd September 13, 2012
.Dt GRAID 8
.Os
.Sh NAME
@@ -293,6 +293,8 @@ Mark volume as clean when idle for the specified number of seconds.
Debug level of the
.Nm RAID
GEOM class.
+.It Va kern.geom.raid.enable : No 1
+Enable on-disk metadata taste.
.It Va kern.geom.raid.idle_threshold : No 1000000
Time in microseconds to consider a volume idle for rebuild purposes.
.It Va kern.geom.raid.name_format : No 0
@@ -302,6 +304,8 @@ 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.
+.It Va kern.geom.raid. Ns Ar X Ns Va .enable : No 1
+Enable taste for specific metadata or transformation module.
.El
.Sh EXIT STATUS
Exit status is 0 on success, and non-zero if the command fails.
OpenPOWER on IntegriCloud