Power off with squashfs corrupted filesystem
|Status:||New||Start date:||22 Aug 2020|
|Category:||04 - Root File System|
|Target version:||2.0 - Harkonnen|
|Severity:||02 - High|
I powered off a system and on reboot the /etc/init.d/xinitrc file was corrupt. I get a message of "Structure needs cleaning". This is suggestive that the filesystem is corrupt and needs cleaning with fsck.
There is no way to run fsck here because the file system that is corrupt is the one holding the rootfile system squashfs. You need to unmount that but you can't or you won't have the rootfs to get to fsck.
This may be a sign that using squashfs and an overlay is not ideal. I never had this problem without the overlay use. And since there is no recovery mechanism I may not be able to continue using squashfs/overlay.