#19564: after reboot - reset to defaults / firstboot by accident
------------------------+------------------------
  Reporter:  bittorf@…  |      Owner:  developers
      Type:  defect     |     Status:  new
  Priority:  highest    |  Milestone:
 Component:  packages   |    Version:  Trunk
Resolution:             |   Keywords:
------------------------+------------------------

Comment (by hnyman):

 It sounds like the problem comes from the rather new requirement in
 overlayfs v23 and above that there is "upperdir" and "workdir". They are
 created at mount. If flash is 100% full, that new directory can not be
 created and overlayfs fails to mount.

 Change in fstools in October 2014:
 
http://nbd.name/gitweb.cgi?p=fstools.git;a=commitdiff;h=d71297353dc45eaf8f7c252246490746708530f9;hp=04f863c7d831a18d388db980cc85b2bac37b3c8d

 (but that should have been in trunk fstools already since 42890, so it may
 be a combination of some additional changes)

 Deleting the one leftover file from the previous session frees one block
 and at the next boot the directory can be created, and then the overlayfs
 filesystem mounts ok again.

 For a fix, I ponder if 1-2 blocks should be reserved in jffs2 under normal
 usage for overlayfs workdirs, so that there would always be room for
 creating that workdir at boot.

--
Ticket URL: <https://dev.openwrt.org/ticket/19564#comment:10>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets

Reply via email to