OpenWrt Forum Archive

Topic: problems with extroot on TL-WR710N

The content of this topic has been archived on 23 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi,
I mainly followed the extroot HowTo in OpenWrt Wiki to get extroot working on my device (running Chaos Calmer 15.05.1). Things seem to be fine, but when I'm asking df, things look weird:

Filesystem                Size      Used Available Use% Mounted on
rootfs                  119.0M     16.0E    136.0M 100% /
/dev/root                 2.3M      2.3M         0 100% /rom
tmpfs                    14.0M    940.0K     13.0M   7% /tmp
/dev/sda1               119.0M     16.0E    136.0M 100% /overlay
overlayfs:/overlay      119.0M     16.0E    136.0M 100% /
tmpfs                   512.0K         0    512.0K   0% /dev

There's more space available than the device in size?
/dev/sda1 is partitioned to be 128M, the WR710 has 8M internal, so even the size count is wrong.

Also LuCI tells about: "Free space: 122% (145.00 MB)"

I'm new to all this, I have no clue what went wrong. Can anybody help me please?

well, more or less accidently I've stumbled upon the Kernel Log and found:

[  123.110000] EXT4-fs error (device sda1): ext4_mb_generate_buddy:757: group 15, block bitmap and bg descriptor inconsistent: 7677 vs 65021 free clusters
[  129.060000] JBD2: Spotted dirty metadata buffer (dev = sda1, blocknr = 1). There's a risk of filesystem corruption in case of system crash.
[  129.070000] JBD2: Spotted dirty metadata buffer (dev = sda1, blocknr = 1). There's a risk of filesystem corruption in case of system crash.
[  325.600000] EXT4-fs (sda1): error count since last fsck: 8
[  325.600000] EXT4-fs (sda1): initial error at time 1497006347: ext4_mb_generate_buddy:757
[  325.610000] EXT4-fs (sda1): last error at time 1501893568: ext4_mb_generate_buddy:757

I guess, that is something about it, isn't it?
So if - how to properly fix that?

The discussion might have continued from here.