libera/#devuan/ Sunday, 2019-06-09

TheBlueWizardhow do I force a fsck upon rebooting? I googled and it said "sudo touch /forcefsck", but upon rebooting that file got deleted, but fsck is not performed03:20
gnarfacewhat filesystem, TheBlueWizard?03:27
gnarfaceand are you sure it didn't just succeed really fast because there was no work to do?03:30
gnarfacemy google searches suggest you can use tune2fs to set the counter to 1, which should fsck every reboot03:31
gnarfacethat's only for ext2/3/4 though03:31
gnarfaceother filesystems might need different treatment03:31
TheBlueWizardext3 and it just fast executed, if anything. backstory: I was working on my computer when I was hit with a one second blackout. It of course rebooted, did a journal recovery and proceed to boot up into a GUI login screen. Just when I am about to log back in, I'm hit with another blackout, which this time lasted nearly 3 hours03:33
TheBlueWizardafyer the power is back on, I manually turned my computer on, and this time I didn't see any journal recovery and it just rebooted as if nothing happened. I don't trust this behavior03:34
gnarfacei don't blame you03:36
gnarfacei believe that the tune2fs tools can also be used to check the counter and see when the last time it thinks it fscked was too though03:36
gnarfaceor you could just run fsck manually03:37
TheBlueWizardby the way, I'm a bit surprised by how hard it is to find certain instructions :-[ I'll look into tune2fs03:37
TheBlueWizardneed to do it on root03:37
gnarfacea live image is useful to keep around for such times03:37
TheBlueWizarddirectory, that is03:37
gnarfacemake sure it has the right version of tune2fs though03:37
gnarfaceolder versions are known to silently corrupt ext403:37
TheBlueWizardok03:37
gnarfacei feel you on the 1-second blackouts though.  we don't have a good software solution for this.  you need a battery backup03:38
gnarfaceit's not just about data loss, those power grid hiccups are super bad for your hardware03:39
* TheBlueWizard nods03:57
TheBlueWizarddespite this, I don't see any real evidence of problems...I guess the journaling did a good job of keeping things clean. Still, it's best to fsck just to be safe03:59
gnarfaceit should say that it found clean drives somewhere during boot up on screen04:02
gnarface?04:02
TheBlueWizarddon't remember seeing that....a lot of log messages going by :-)04:23
gnarfacemaybe it doesn't, i'm not sure04:40

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!