OpenWrt Forum Archive

Topic: read only filesystem? - changes gone after reboot

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

Hi

I did a custom build of openwrt to a TP-Link model, but filesystem is readonly, and I can't save anydata not even through the web interface - no errors or anything, all changes are just gone after reboot

Thanks

root@OpenWrt:~# mount
rootfs on / type rootfs (rw)
/dev/root on /rom type squashfs (ro,relatime)
proc on /proc type proc (rw,noatime)
sysfs on /sys type sysfs (rw,noatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime,size=14664k)
tmpfs on /dev type tmpfs (rw,noatime,size=512k,mode=755)
devpts on /dev/pts type devpts (rw,noatime,mode=600)
root on /tmp/root type tmpfs (rw,noatime,mode=755)
overlayfs:/tmp/root on / type overlayfs (rw,noatime,lowerdir=/,upperdir=/tmp/root)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
none on /proc/bus/usb type usbfs (rw,relatime)

(Last edited by FlexyZ on 6 Aug 2013, 09:16)

Your image is probably too big, leaving not enough space for jffs2.
Run "dmesg | grep few"

[   27.480000] jffs2: Too few erase blocks (2)


Looks like you are right smile - no I just need to figure out how to get more space

Thanks for fast reply

Is there a way to see how much each menuconfig package takes of space?

I have some applications that I compiled myself, and copied then to the "files" folder in the svn root. Would it help to remove packages via menuconfig?

The discussion might have continued from here.