From 15968d07824907c2038ba460b1417b59d8ab985a Mon Sep 17 00:00:00 2001 From: Keith Nash Date: Tue, 14 Mar 2017 11:32:52 -0500 Subject: [PATCH] Add files via upload --- disk-burnin.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/disk-burnin.sh b/disk-burnin.sh index f26d995..52f04ee 100644 --- a/disk-burnin.sh +++ b/disk-burnin.sh @@ -71,6 +71,12 @@ # Dry_Run variable below, setting it to 0, in order to actually perform # tests on drives. # +# Before using the script on FreeBSD systems (including FreeNAS) you must +# first execute this sysctl command to alter the kernel's geometry debug +# flags. This allows badblocks to write to the entire disk: +# +# sysctl kern.geom.debugflags=0x10 +# # Tested under: # FreeNAS 9.10.2 (FreeBSD 10.3-STABLE) # Ubuntu Server 16.04.2 LTS