Repair corrupt root filesystem on emmc
#1
Hi,

I'm struggling to get my Rock64 stable. It runs on the 5V/3A power supply, both USB hub and USB3-HDD have separate power supplies. Power shouldn't be the issue.

I'm quite sure that stability issues are caused by a corrupt fs on emmc ext4 /dev/mmcblk0p7 and fat on /dev/mmcblk0p6.

Basically, the system is usable and I can do most things with, but there strange reboots / system freezes.

How can I do a e2fsck on the root partition?

I tried different options according to note on stackoverflow and other pages:

http://bitsofmymind.com/2014/03/14/how-t...-on-linux/


https://superuser.com/questions/401217/h...-with-fsck
  • switch to init 1 and mount fs to ro (-> system freezes)
  • touch /forcefsck
  • /etc/rcS -> FSCKFIX



The only alternative I can think of at the moment is getting a emmc-reader




I use 0.5.15-136-jessie-omv image.



Thank you very much for your help.
  Reply
#2
I need to bring this up again, as I find myself in the same situation.
I need to fsck my root partition on emmc (/dev/mmcblk0p7), tried all the recommended methods like:
  • sudo touch /forcefsck
  • adding fsck.mode=force and fsck.repair=yes to kernel cmdline
But none of this worked. tune2fs still reports the last check to have taken place 2 months ago.
File system (ext4) is still dirty and showing 6 gb of free space instead of 56.

Do I really have to open the NAS case, remove the emmc and fsck it on another machine?
Please tell me that's not true...

Using latest stable OMV build (aarch64).
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  problem with debian emmc boot G4zCDzWb 9 1,138 07-30-2024, 05:41 AM
Last Post: Boia11
  Debian (Vanilla) on Rock64 and eMMC - how ? as365n4 4 5,961 09-21-2020, 04:33 AM
Last Post: as365n4
Question HDD filesystem corruption at reboot / poweroff (DietPi) WrongWorld 1 3,188 02-11-2019, 04:00 PM
Last Post: WrongWorld
  Clone the SD to eMMC tagyro 1 3,702 02-06-2019, 06:55 AM
Last Post: evilbunny
  Migrate Linux from microSD to onboard eMMC elik745i 7 10,928 11-03-2018, 08:23 AM
Last Post: mara
  Tutorial How to write a image in the eMMc card without USB adaptor or serial cable gedas07 2 4,177 08-29-2018, 10:08 AM
Last Post: gedas07
  Rock64: Debian root fs on software RAID1 of eMMC and microSD - is installing it the s jovval 2 4,158 08-03-2018, 12:33 PM
Last Post: jovval
  If you've messed up your eMMC Card - Solved gregb49 11 18,121 07-11-2018, 02:08 PM
Last Post: gregb49
  Xenial Mate + Emmc Guettt 2 3,474 05-31-2018, 02:49 AM
Last Post: pas059
  boot emmc, trying to access SD Drive E.G 0 1,764 04-13-2018, 09:05 PM
Last Post: E.G

Forum Jump:


Users browsing this thread: 2 Guest(s)