Testing ext4 and auto fix

Jerry Geis jerry.geis at gmail.com
Wed Dec 6 20:01:21 UTC 2023


On Wed, Dec 6, 2023 at 2:44 PM Little Girl <littlergirl at gmail.com> wrote:

> Hey there,
>
> Jerry Geis wrote:
>
> >How do I enable "auto fix" no matter what on ext4 ?
> >Then how do I simulate that ?
>
> It seems that /forcefsck no longer works, but there's an alternative:
>
> https://ubuntuforums.org/showthread.php?t=2476474
>
> --
> Little Girl
>
> There is no spoon.
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users



Very interesting - had not come across that - thanks
That is why it was doing nothing.

so I can "simulate" an issue now - with echo "test error" >
/sys/fs/ext4/nvme0n1p2
very correct with tune2fs -l /dev/nvme0n1p2 | grep Last
and it shows corrupt

then I reboot - and it just boots - I presume it fixed the error...
how do I simulate with an error that makes the console prompt ?
so I know for sure anything I change is indeed a fix to just repair the
filesystem.

Thanks

Jerry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20231206/1dbe8803/attachment.html>


More information about the ubuntu-users mailing list