Force fsck on reboot
-
Some AI garble instructs to create a file
/forcefsck
to enforce fsck on reboot.This is clearly not working in my case (8.0 RELEASE) and not mentioned in the fsck(8) man page which it is referring to.
Is there any method to invoke this? And is the forcefsck file suggestion utter AI horseshit?
I'm curious to know.
-
Some AI garble instructs to create a file
/forcefsck
to enforce fsck on reboot.This is clearly not working in my case (8.0 RELEASE) and not mentioned in the fsck(8) man page which it is referring to.
Is there any method to invoke this? And is the forcefsck file suggestion utter AI horseshit?
I'm curious to know.
The
/forcefsckfile seems to be an old thing: the OS supposedly removes the file after booting, not AI horseshit but AI being dumb because it doesn't work anymore. I'm pretty sure the AI copied that from StackOverflow.The new advice seems to be adding
fsck.mode=forceto the kernel command-line (too lazy to check how it is done easily). The problem being that it seems permanent and you have to revert that option after using it.Do you want this all the time? Then use
fsck.mode=forceI guess. BTW, when you reboot your computer, you're killing your uptime and it's not good for your uptime score, do you really want to do this? A friend of mine had an uptime of more than 5 years with a simple Debian machine. I never managed to do more than 1 month
-
Thanks for the feedback. I was mostly curious. The problem with these false and outdated AI responses is that they appear on the top of the search page and give you the impression that this is fresh meat. Klara Inc posted recently a good article on how wrong outdated ZFS advices can go.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login