summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2001-06-03 20:02:03 +0000
committerphk <phk@FreeBSD.org>2001-06-03 20:02:03 +0000
commiteaecb3dfd450e0865fbd3ab4dc9c1b2ff85e267a (patch)
treec165570f034568390b826979a3f6af377b38b952 /etc
parent2dd555017d992610a09beeff1425734afa740df7 (diff)
downloadFreeBSD-src-eaecb3dfd450e0865fbd3ab4dc9c1b2ff85e267a.zip
FreeBSD-src-eaecb3dfd450e0865fbd3ab4dc9c1b2ff85e267a.tar.gz
Add diskcheck-daemon.
With a small disk being 20GB these days, chances are pretty good that an ailing sector will not be read while still being recoverable by the drive. Diskcheck daemon will read disks in the background at a low rate and that way give the diskdrive a chance to detect and correct soft read errors before they become hard errors. Idea by: phk Written by: ben
Diffstat (limited to 'etc')
-rw-r--r--etc/diskcheckd.conf18
1 files changed, 18 insertions, 0 deletions
diff --git a/etc/diskcheckd.conf b/etc/diskcheckd.conf
new file mode 100644
index 0000000..a3f8d2a
--- /dev/null
+++ b/etc/diskcheckd.conf
@@ -0,0 +1,18 @@
+# $FreeBSD$
+#
+# Configuration file for diskcheckd, refer to the diskcheckd.conf(5) manual
+# page for further information.
+#
+# The device name may be specified as "*", in which case all devices are
+# checked.
+#
+# The size may be specified as "*", in which case the size is automatically
+# determined from the disklabel.
+#
+# One of either "Days" or "Rate" must be specified, to specify a complete
+# scan should happen once every n days, or that scanning should take place
+# at n KB/s. Note that the "Days" value will not cause a scan exactly every
+# n days since diskcheckd will always read in power-of-2 size blocks.
+#
+# Device Size Days Rate
+* * 28 *
OpenPOWER on IntegriCloud