LEAP 42.2 Crash

Hi,
Had power failure and my Leap 42.2 crash not able to boot up. It went to emergency mode.
When I enter root password, most of my folder are empty.

I also try boot using other OS like ubuntu to get my file but it the same, most folder are empty.
Is there anywhere I can get them? Is my way wrong to get the file inside?

Thank you in advanced!

Power failure or, power surge?

Normally, on a simple power failure and, assuming that, surge protection devices are present in the power distribution in the room where the hardware is located, usually, PC hardware (regardless of the age) survives and particularly in the case of Linux (and in fact anything *NIX) will recover when the power is restored.

From what you’re describing, it seems that, associated with the power failure, there was a power surge – which was high enough to cause corruption of the files on magnetic media such as disk drives.
[HR][/HR]To determine if, you were reasonably lucky and the power failure/surge only caused some file corruption, you’ll have to reinstall the operating system.
Let it run for a while and then check the (SMART) health of the disk drives:

 # smartctl --health /dev/sda

The SMART check and inspection of the systemd journal will help to determine if any hardware components didn’t survive the power failure/surge.
[HR][/HR]To avoid hardware issues such as these in the future, I suggest that you consider the purchase of surge protection devices for your power supply – the really good surge protection devices will help to protect your systems against lightning strikes – but, even they cannot offer a 100% guarantee . . .

Are/were you using btrfs? Could be related to incomplete or corrupted sub-volumes or snapper. Might be possibility of recovering a snapshot, so maybe see if a btrfs-experienced user can help you. Perhaps also ask on the mailing lists?

I cant do that for now, as I need to get the data back…
After this happening I should thinking go for cloud since it very small usage and to avoid this power surge.
Thank you for the advice.

Im not sure about this, but possibly it is btrfs… I didn’t manage to check the file system.
In the emergency mode, I can see some .snapshot folder, but all of them are empty.
I kinda thought I should be able to get them if the existing OS corrupted which booting another OS to mount the HDD. Unfortunately it only mount several home/user and root “/” but empty folder.

If you have a separate home partition you lose no data from reinstalling. Just don’t format the /home.