Score:0

OpenWRT overlay expansion via extroot

cn flag

I am trying to get a router to expand it's overlay area so that I can install some tools on it. The router is running OpenWRT 19.07.7, and I tried following these instructions:

https://openwrt.org/docs/guide-user/additional-software/extroot_configuration

I tried overlaying sda3 as the overlay, as it has enough memory to do almost anything:

root@OpenWrt:~# lsblk
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
loop0    7:0    0 253.1M  0 loop /overlay
sda      8:0    0  14.9G  0 disk
├─sda1   8:1    0    16M  0 part /boot
├─sda2   8:2    0   256M  0 part /rom
└─sda3   8:3    0  14.7G  0 part

fstab (the uuid are correct for devices):

config 'global'
        option  anon_swap       '0'
        option  anon_mount      '0'
        option  auto_swap       '1'
        option  auto_mount      '1'
        option  delay_root      '5'
        option  check_fs        '0'

config 'mount'
        option  target  '/rwm'
        option  uuid    '2166d8f9-92c2-4274-8c97-db99c4537b57'
        option  enabled '1'

config 'mount'
        option  target  '/overlay'
        option  uuid    'de74071d-d46f-4a2b-8ee7-20d622ca4ec5'
        option  enabled '1'

config 'mount'
        option  target  '/boot'
        option  uuid    '57f8f4bc-abf4-655f-bf67-946fc0f9f25b'
        option  enabled '1'

config 'mount'
        option  target  '/rom'
        option  uuid    '7f504439-7de5488c-faf39c35-2868463c'
        option  enabled '1'

and the resulting df:

root@OpenWrt:~# df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/root                 3072      3072         0 100% /rom
tmpfs                   958876        64    958812   0% /tmp
/dev/loop0              257152     17848    167624  10% /overlay
overlayfs:/overlay      257152     17848    167624  10% /
/dev/sda1                16112      5564     10224  35% /boot
/dev/sda1                16112      5564     10224  35% /boot
tmpfs                      512         0       512   0% /dev

I have also tried some of the troubleshooting steps outlined in the guide, like increasing time etc. But I am still unable to get a bigger overlay to happen. What am I doing wrong?

bbbaasaffdas avatar
de flag
I also encountered the same problem. Did you find a solution?
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.