Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
dbolser opened this issue Mar 8, 2021 · 1 comment
Open

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

dbolser opened this issue Mar 8, 2021 · 1 comment

Comments

@dbolser
Copy link

dbolser commented Mar 8, 2021

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:

  • Kill the bb process and do that now?
  • Do it now with the bb process running anyway?
  • Just not do it and don't worry so much?

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.

@dbolser dbolser changed the title Forgot to run sysctl kern.geom.debugflags=0x10 on FreeBSD? Forgot to set kern.geom.debugflags on FreeBSD? Mar 8, 2021
@Spearfoot
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants