Spearfoot / disk-burnin-and-testing

Shell script for burn-in and testing of new or re-purposed drives
Other
857 stars 106 forks source link

Forgot to set kern.geom.debugflags on FreeBSD? #16

Open dbolser opened 3 years ago

dbolser commented 3 years ago

Hello, thanks for this script and the write up on your blog.

I'm running your script on a new disk under FreeBSD after having 1 of 3 new disks fail on me. (I'm a total noob, and the last thing I expected (trying to rescue my raid from near death) was a problem with the new disk!)

Anyway, I'm now running a burn in on the RMA'd replacement, but I forgot to execute this first: sysctl kern.geom.debugflags=0x10

Should I now:

I read somewhere that after you've set this kernel flag you should un-set it again later (e.g. reboot) to avoid 'problems'... (Note that my pool is currently online (DEGRADED but backed up), as I'm using the freenas box itself to burn in the new disk).

Sorry for the noobs and thanks for any advice, Dan.

Spearfoot commented 3 years ago

I suggest killing your burnin job, setting the flag, and then restarting the burnin -- just in case...