Trying to issue a fsck on the partition which VyOS is installed at but I fail.
- Adding "fsck.mode=force fsck.repair=yes” to linux bootstring in /boot/grub/grub.cfg and reboot - failed!
- Adding empty file named “forcefsck” to the root like so: “sudo touch /forcefsck” and reboot - failed!
- Altering the partition itself by “sudo tune2fs -c 1 /dev/sda1” changes max mount count to 1 (so that fsck should be run each boot) and reboot - failed!
Doing tune2fs -l /dev/sda1 | grep -i check still says (and today is 19 aug):
Last checked: Sun Jul 2 19:58:46 2023
Layout of current storage:
root@vyos:/home/vyos# lsblk -f NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINTS loop0 squashfs 4.0 0 100% /usr/lib/live/mount/rootfs/1.4-rolling-202308170317.squashfs sda └─sda1 ext4 1.0 persistence 8feee3c2-8263-4220-a18d-23c2d0e646bb 71.4G 3% /usr/lib/live/mount/persistence/boot/1.4-rolling-202308170317/grub /boot/grub /boot /opt/vyatta/etc/config /usr/lib/live/mount/persistence sr0