Bug #796

Power off with squashfs corrupted filesystem

Added by Hammel 2 months ago.

Status:NewStart date:22 Aug 2020
Priority:ImmediateDue date:
Assignee:Hammel% Done:

0%

Category:04 - Root File System
Target version:2.0 - Harkonnen
Severity:02 - High

Description

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.

Also available in: Atom PDF