Power off with squashfs corrupted filesystem
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.
Updated by Hammel about 2 years ago
- Priority changed from Immediate to Urgent
- Severity changed from 02 - High to 03 - Medium
Since writing this issue I've not seen this issue again. It may have been a bad SD card.
I'll keep this open for now to see if it shows up again, but move it down in priority.
- Status changed from New to Closed
- % Done changed from 0 to 100
This still hasn't returned. More importantly, I've fixed rcK to properly reverse the init processes to cleanly come down which I think will have a positive affect of preventing this issue from coming back.
Therefore, I'm closing this issue.