Tried to set up Extroot Using USB without Success

Hi there, I connected a 2gb usb to my router and followed this guide step by step: https://openwrt.org/docs/guide-user/additional-software/extroot_configuration
After rebooting (step 6 of the guide), I don't see additional space shown on LuCI-> System -> Software


Not sure what I did wrong there.

Context: I am trying to set up adguard home on my usb since the router space is limited. One of the relevant posts points me to the aforementioned guide. I am actually not sure if extroot configuration is what I need for my scenario.

Repeat the process, but copy-paste the commands and the results here, so we can see what went wrong.

root@OpenWrt:~# DISK="/dev/sda"
root@OpenWrt:~# parted -s ${DISK} -- mklabel gpt mkpart extroot 2048s -2048s
Warning: Could not determine physical sector size for /dev/sda.
Using the logical sector size (512).
root@OpenWrt:~# DEVICE="${DISK}1"
root@OpenWrt:~# mkfs.ext4 -L extroot ${DEVICE}
mke2fs 1.47.0 (5-Feb-2023)
/dev/sda1 contains a ext4 file system labelled 'extroot'
        last mounted on /mnt on Sat Apr 27 06:23:39 2024
Proceed anyway? (y,N) y
Creating filesystem with 523776 4k blocks and 131072 inodes
Filesystem UUID: *****-******-********
Superblock backups stored on blocks:
        32768, 98304, 163840, 229376, 294912

Allocating group tables: done
Writing inode tables: done
Creating journal (8192 blocks): done
Writing superblocks and filesystem accounting information: done

root@OpenWrt:~# eval $(block info ${DEVICE} | grep -o -e 'UUID="\S*"')
root@OpenWrt:~# eval $(block info | grep -o -e 'MOUNT="\S*/overlay"')
root@OpenWrt:~# uci -q delete fstab.extroot
root@OpenWrt:~# uci set fstab.extroot="mount"
root@OpenWrt:~# uci set fstab.extroot.uuid="${UUID}"
root@OpenWrt:~# uci set fstab.extroot.target="${MOUNT}"
root@OpenWrt:~# uci commit fstab
root@OpenWrt:~# ORIG="$(block info | sed -n -e '/MOUNT="\S*\/overlay"/s/:\s.*$//p')"
root@OpenWrt:~# uci -q delete fstab.rwm
root@OpenWrt:~# uci set fstab.rwm="mount"
root@OpenWrt:~# uci set fstab.rwm.device="${ORIG}"
root@OpenWrt:~# uci set fstab.rwm.target="/rwm"
root@OpenWrt:~# uci commit fstab
root@OpenWrt:~# mount ${DEVICE} /mnt
root@OpenWrt:~# tar -C ${MOUNT} -cvf - . | tar -C /mnt -xf -
./
./upper/
./upper/etc/
./upper/etc/opkg.conf
./upper/etc/uhttpd.key
./upper/etc/modules-boot.d/
./upper/etc/modules-boot.d/20-lib-crc16
./upper/etc/modules-boot.d/51-usb-ohci-pci
./upper/etc/modules-boot.d/50-usb-ohci
./upper/etc/modules-boot.d/40-scsi-core
./upper/etc/modules-boot.d/usb-storage
./upper/etc/modules-boot.d/35-usb-ehci
./upper/etc/modules-boot.d/42-usb2-pci
./upper/etc/modules-boot.d/50-usb-uhci
./upper/etc/modules-boot.d/40-usb2
./upper/etc/modules-boot.d/30-fs-ext4
./upper/etc/config/
./upper/etc/config/rpcd
./upper/etc/config/fstab
./upper/etc/config/network
./upper/etc/config/firewall
./upper/etc/config/system
./upper/etc/config/uhttpd
./upper/etc/config/dropbear
./upper/etc/config/luci
./upper/etc/config/wireless
./upper/etc/config/dhcp
./upper/etc/config/ucitrack
./upper/etc/hotplug.d/
./upper/etc/hotplug.d/block/
./upper/etc/hotplug.d/block/10-mount
./upper/etc/hotplug.d/block/00-media-change
./upper/etc/shadow
./upper/etc/e2fsck.conf
./upper/etc/init.d/
./upper/etc/init.d/fstab
./upper/etc/rc.d/
./upper/etc/rc.d/S11fstab
./upper/etc/uhttpd.crt
./upper/etc/dropbear/
./upper/etc/dropbear/dropbear_rsa_host_key
./upper/etc/dropbear/dropbear_ed25519_host_key
./upper/etc/urandom.seed
./upper/etc/passwd
./upper/etc/passwd-
./upper/etc/modules.d/
./upper/etc/modules.d/20-lib-crc16
./upper/etc/modules.d/51-usb-ohci-pci
./upper/etc/modules.d/50-usb-ohci
./upper/etc/modules.d/40-scsi-core
./upper/etc/modules.d/09-crypto-kpp
./upper/etc/modules.d/usb-storage
./upper/etc/modules.d/35-usb-ehci
./upper/etc/modules.d/32-udptunnel6
./upper/etc/modules.d/42-usb2-pci
./upper/etc/modules.d/wireguard
./upper/etc/modules.d/50-usb-uhci
./upper/etc/modules.d/32-udptunnel4
./upper/etc/modules.d/40-usb2
./upper/etc/modules.d/30-fs-ext4
./upper/etc/uci-defaults/
./upper/etc/uci-defaults/50-migrate-rpcd-ubus-sock.sh
./upper/etc/uci-defaults/14_migrate-dhcp-release
./upper/etc/uci-defaults/15_odhcpd
./upper/etc/uci-defaults/50-dnsmasq-migrate-ipset.sh
./upper/etc/uci-defaults/00_uhttpd_ubus
./upper/etc/uci-defaults/20_migrate-feeds
./upper/etc/uci-defaults/04_led_migration
./upper/etc/uci-defaults/30_luci-theme-bootstrap
./upper/etc/uci-defaults/12_network-generate-ula
./upper/etc/uci-defaults/01_enable_packet_steering
./upper/etc/uci-defaults/10_migrate-shadow
./upper/etc/uci-defaults/50_luci-mod-admin-full
./upper/etc/uci-defaults/50-dnsmasq-migrate-resolv-conf-auto.sh
./upper/etc/uci-defaults/09_fix-checksum
./upper/etc/uci-defaults/13_fix-group-user
./upper/etc/board.json
./upper/etc/shadow-
./upper/usr/
./upper/usr/share/
./upper/usr/share/rpcd/
./upper/usr/share/rpcd/ucode/
./upper/usr/share/rpcd/ucode/luci.wireguard
./upper/usr/share/rpcd/acl.d/
./upper/usr/share/rpcd/acl.d/luci-wireguard.json
./upper/usr/share/luci/
./upper/usr/share/luci/menu.d/
./upper/usr/share/luci/menu.d/luci-proto-wireguard.json
./upper/usr/share/terminfo/
./upper/usr/share/terminfo/v/
./upper/usr/share/terminfo/v/vt102
./upper/usr/share/terminfo/v/vt100
./upper/usr/share/terminfo/a/
./upper/usr/share/terminfo/a/alacritty
./upper/usr/share/terminfo/a/ansi
./upper/usr/share/terminfo/r/
./upper/usr/share/terminfo/r/rxvt-unicode
./upper/usr/share/terminfo/r/rxvt
./upper/usr/share/terminfo/s/
./upper/usr/share/terminfo/s/screen-256color
./upper/usr/share/terminfo/s/screen
./upper/usr/share/terminfo/x/
./upper/usr/share/terminfo/x/xterm-color
./upper/usr/share/terminfo/x/xterm
./upper/usr/share/terminfo/x/xterm-256color
./upper/usr/share/terminfo/l/
./upper/usr/share/terminfo/l/linux
./upper/usr/share/terminfo/t/
./upper/usr/share/terminfo/t/tmux-256color
./upper/usr/share/terminfo/t/tmux
./upper/usr/share/terminfo/d/
./upper/usr/share/terminfo/d/dumb
./upper/usr/lib/
./upper/usr/lib/libfdisk.so.1.1.0
./upper/usr/lib/libparted.so
./upper/usr/lib/libmenuw.so.6.4
./upper/usr/lib/libncurses.so.6.4
./upper/usr/lib/libreadline.so.8
./upper/usr/lib/libcom_err.so.0
./upper/usr/lib/libpanelw.so.6
./upper/usr/lib/libuuid.so.1
./upper/usr/lib/libblkid.so.1.1.0
./upper/usr/lib/libmenu.so.6.4
./upper/usr/lib/libsmartcols.so.1
./upper/usr/lib/libpanel.so.6.4
./upper/usr/lib/libncursesw.so.6
./upper/usr/lib/libmenuw.so.6
./upper/usr/lib/libparted.so.2.0.5
./upper/usr/lib/libss.so.2.0
./upper/usr/lib/libhistory.so.8.2
./upper/usr/lib/libss.so.2
./upper/usr/lib/libext2fs.so.2
./upper/usr/lib/libblkid.so.1
./upper/usr/lib/libuuid.so.1.3.0
./upper/usr/lib/libformw.so.6.4
./upper/usr/lib/libform.so.6
./upper/usr/lib/libpanel.so.6
./upper/usr/lib/libhistory.so.8
./upper/usr/lib/libparted.so.2
./upper/usr/lib/libncursesw.so.6.4
./upper/usr/lib/libparted-fs-resize.so
./upper/usr/lib/libe2p.so.2.3
./upper/usr/lib/libmenu.so.6
./upper/usr/lib/libparted-fs-resize.so.0
./upper/usr/lib/libpanelw.so.6.4
./upper/usr/lib/libreadline.so.8.2
./upper/usr/lib/libncurses.so.6
./upper/usr/lib/libcom_err.so.0.0
./upper/usr/lib/libparted-fs-resize.so.0.0.5
./upper/usr/lib/libfdisk.so.1
./upper/usr/lib/libext2fs.so.2.4
./upper/usr/lib/libe2p.so.2
./upper/usr/lib/libformw.so.6
./upper/usr/lib/opkg/
./upper/usr/lib/opkg/info/
./upper/usr/lib/opkg/info/kmod-fs-ext4.control
./upper/usr/lib/opkg/info/kmod-crypto-lib-curve25519.control
./upper/usr/lib/opkg/info/kmod-udptunnel4.postinst
./upper/usr/lib/opkg/info/libuuid1.list
./upper/usr/lib/opkg/info/kmod-crypto-lib-curve25519.prerm
./upper/usr/lib/opkg/info/kmod-usb-uhci.list
./upper/usr/lib/opkg/info/wireguard-tools.list
./upper/usr/lib/opkg/info/libcomerr0.list
./upper/usr/lib/opkg/info/kmod-crypto-lib-chacha20poly1305.prerm
./upper/usr/lib/opkg/info/terminfo.list
./upper/usr/lib/opkg/info/kmod-usb-ehci.control
./upper/usr/lib/opkg/info/kmod-usb-ohci.control
./upper/usr/lib/opkg/info/libfdisk1.control
./upper/usr/lib/opkg/info/kmod-usb-ohci-pci.postinst
./upper/usr/lib/opkg/info/e2fsprogs.control
./upper/usr/lib/opkg/info/kmod-usb-ehci.list
./upper/usr/lib/opkg/info/libreadline8.prerm
./upper/usr/lib/opkg/info/libfdisk1.prerm
./upper/usr/lib/opkg/info/kmod-crypto-lib-chacha20poly1305.postinst
./upper/usr/lib/opkg/info/terminfo.postinst
./upper/usr/lib/opkg/info/kmod-usb-ohci-pci.prerm
./upper/usr/lib/opkg/info/parted.list
./upper/usr/lib/opkg/info/libfdisk1.list
./upper/usr/lib/opkg/info/kmod-crypto-lib-chacha20.prerm
./upper/usr/lib/opkg/info/kmod-crypto-lib-chacha20.list
./upper/usr/lib/opkg/info/kmod-usb2-pci.prerm
./upper/usr/lib/opkg/info/libblkid1.list
./upper/usr/lib/opkg/info/terminfo.control
./upper/usr/lib/opkg/info/libuuid1.prerm
./upper/usr/lib/opkg/info/libblkid1.control
./upper/usr/lib/opkg/info/kmod-crypto-kpp.list
./upper/usr/lib/opkg/info/libncurses6.control
./upper/usr/lib/opkg/info/kmod-usb-uhci.control
./upper/usr/lib/opkg/info/kmod-usb-ehci.postinst
./upper/usr/lib/opkg/info/kmod-usb2-pci.postinst
./upper/usr/lib/opkg/info/kmod-usb-ohci.postinst
./upper/usr/lib/opkg/info/libreadline8.list
./upper/usr/lib/opkg/info/libfdisk1.postinst
./upper/usr/lib/opkg/info/libss2.control
./upper/usr/lib/opkg/info/libss2.prerm
./upper/usr/lib/opkg/info/kmod-udptunnel4.control
./upper/usr/lib/opkg/info/kmod-udptunnel6.postinst
./upper/usr/lib/opkg/info/kmod-usb-ohci-pci.control
./upper/usr/lib/opkg/info/libcomerr0.postinst
./upper/usr/lib/opkg/info/e2fsprogs.prerm
./upper/usr/lib/opkg/info/kmod-crypto-lib-poly1305.list
./upper/usr/lib/opkg/info/libncurses6.prerm
./upper/usr/lib/opkg/info/luci-proto-wireguard.prerm
./upper/usr/lib/opkg/info/libext2fs2.control
./upper/usr/lib/opkg/info/kmod-usb2-pci.list
./upper/usr/lib/opkg/info/libblkid1.postinst
./upper/usr/lib/opkg/info/kmod-wireguard.control
./upper/usr/lib/opkg/info/e2fsprogs.list
./upper/usr/lib/opkg/info/kmod-usb-uhci.prerm
./upper/usr/lib/opkg/info/luci-proto-wireguard.control
./upper/usr/lib/opkg/info/libncurses6.postinst
./upper/usr/lib/opkg/info/libparted.postinst
./upper/usr/lib/opkg/info/librt.list
./upper/usr/lib/opkg/info/e2fsprogs.postinst
./upper/usr/lib/opkg/info/libparted.prerm
./upper/usr/lib/opkg/info/libreadline8.postinst
./upper/usr/lib/opkg/info/parted.postinst
./upper/usr/lib/opkg/info/libparted.control
./upper/usr/lib/opkg/info/parted.control
./upper/usr/lib/opkg/info/kmod-usb-storage.list
./upper/usr/lib/opkg/info/kmod-usb-storage.control
./upper/usr/lib/opkg/info/kmod-scsi-core.list
./upper/usr/lib/opkg/info/block-mount.control
./upper/usr/lib/opkg/info/kmod-usb-storage.postinst
./upper/usr/lib/opkg/info/wireguard-tools.postinst
./upper/usr/lib/opkg/info/kmod-usb2.prerm
./upper/usr/lib/opkg/info/kmod-usb-uhci.postinst
./upper/usr/lib/opkg/info/libsmartcols1.postinst
./upper/usr/lib/opkg/info/fdisk.control
./upper/usr/lib/opkg/info/librt.control
./upper/usr/lib/opkg/info/librt.prerm
./upper/usr/lib/opkg/info/fdisk.prerm
./upper/usr/lib/opkg/info/kmod-crypto-lib-chacha20poly1305.control
./upper/usr/lib/opkg/info/wireguard-tools.prerm
./upper/usr/lib/opkg/info/kmod-crypto-lib-chacha20.postinst
./upper/usr/lib/opkg/info/kmod-lib-crc16.postinst
./upper/usr/lib/opkg/info/kmod-udptunnel4.prerm
./upper/usr/lib/opkg/info/kmod-fs-ext4.prerm
./upper/usr/lib/opkg/info/kmod-usb-ohci.prerm
./upper/usr/lib/opkg/info/libblkid1.prerm
./upper/usr/lib/opkg/info/wireguard-tools.control
./upper/usr/lib/opkg/info/block-mount.postinst
./upper/usr/lib/opkg/info/libcomerr0.prerm
./upper/usr/lib/opkg/info/kmod-fs-ext4.postinst
./upper/usr/lib/opkg/info/luci-proto-wireguard.postinst-pkg
./upper/usr/lib/opkg/info/libncurses6.list
./upper/usr/lib/opkg/info/kmod-usb-ohci.list
./upper/usr/lib/opkg/info/terminfo.prerm
./upper/usr/lib/opkg/info/kmod-lib-crc16.prerm
./upper/usr/lib/opkg/info/kmod-lib-crc16.list
./upper/usr/lib/opkg/info/kmod-crypto-lib-curve25519.postinst
./upper/usr/lib/opkg/info/kmod-usb2-pci.control
./upper/usr/lib/opkg/info/kmod-udptunnel6.control
./upper/usr/lib/opkg/info/block-mount.list
./upper/usr/lib/opkg/info/libreadline8.control
./upper/usr/lib/opkg/info/kmod-lib-crc16.control
./upper/usr/lib/opkg/info/kmod-crypto-kpp.postinst
./upper/usr/lib/opkg/info/kmod-crypto-lib-poly1305.postinst
./upper/usr/lib/opkg/info/kmod-wireguard.prerm
./upper/usr/lib/opkg/info/e2fsprogs.conffiles
./upper/usr/lib/opkg/info/kmod-wireguard.list
./upper/usr/lib/opkg/info/libext2fs2.postinst
./upper/usr/lib/opkg/info/kmod-udptunnel6.list
./upper/usr/lib/opkg/info/block-mount.prerm
./upper/usr/lib/opkg/info/kmod-crypto-kpp.control
./upper/usr/lib/opkg/info/kmod-crypto-lib-poly1305.prerm
./upper/usr/lib/opkg/info/libss2.list
./upper/usr/lib/opkg/info/luci-proto-wireguard.list
./upper/usr/lib/opkg/info/libext2fs2.prerm
./upper/usr/lib/opkg/info/libparted.list
./upper/usr/lib/opkg/info/kmod-fs-ext4.list
./upper/usr/lib/opkg/info/kmod-scsi-core.postinst
./upper/usr/lib/opkg/info/libext2fs2.list
./upper/usr/lib/opkg/info/kmod-crypto-kpp.prerm
./upper/usr/lib/opkg/info/libuuid1.postinst
./upper/usr/lib/opkg/info/libsmartcols1.prerm
./upper/usr/lib/opkg/info/parted.prerm
./upper/usr/lib/opkg/info/kmod-crypto-lib-curve25519.list
./upper/usr/lib/opkg/info/kmod-usb2.postinst
./upper/usr/lib/opkg/info/kmod-usb-ohci-pci.list
./upper/usr/lib/opkg/info/kmod-usb-storage.prerm
./upper/usr/lib/opkg/info/kmod-usb2.list
./upper/usr/lib/opkg/info/kmod-udptunnel4.list
./upper/usr/lib/opkg/info/kmod-udptunnel6.prerm
./upper/usr/lib/opkg/info/kmod-wireguard.postinst
./upper/usr/lib/opkg/info/kmod-crypto-lib-chacha20poly1305.list
./upper/usr/lib/opkg/info/kmod-crypto-lib-poly1305.control
./upper/usr/lib/opkg/info/fdisk.postinst
./upper/usr/lib/opkg/info/kmod-scsi-core.control
./upper/usr/lib/opkg/info/libuuid1.control
./upper/usr/lib/opkg/info/kmod-usb2.control
./upper/usr/lib/opkg/info/libss2.postinst
./upper/usr/lib/opkg/info/kmod-scsi-core.prerm
./upper/usr/lib/opkg/info/fdisk.list
./upper/usr/lib/opkg/info/librt.postinst
./upper/usr/lib/opkg/info/luci-proto-wireguard.postinst
./upper/usr/lib/opkg/info/libcomerr0.control
./upper/usr/lib/opkg/info/libsmartcols1.list
./upper/usr/lib/opkg/info/libsmartcols1.control
./upper/usr/lib/opkg/info/kmod-usb-ehci.prerm
./upper/usr/lib/opkg/info/kmod-crypto-lib-chacha20.control
./upper/usr/lib/opkg/status
./upper/usr/lib/opkg/lists/
./upper/usr/lib/opkg/lists/openwrt_luci
./upper/usr/lib/opkg/lists/openwrt_packages
./upper/usr/lib/opkg/lists/openwrt_base.sig
./upper/usr/lib/opkg/lists/openwrt_routing.sig
./upper/usr/lib/opkg/lists/openwrt_base
./upper/usr/lib/opkg/lists/openwrt_telephony
./upper/usr/lib/opkg/lists/openwrt_luci.sig
./upper/usr/lib/opkg/lists/openwrt_core
./upper/usr/lib/opkg/lists/openwrt_core.sig
./upper/usr/lib/opkg/lists/openwrt_packages.sig
./upper/usr/lib/opkg/lists/openwrt_telephony.sig
./upper/usr/lib/opkg/lists/openwrt_routing
./upper/usr/lib/libsmartcols.so.1.1.0
./upper/usr/lib/libform.so.6.4
./upper/usr/sbin/
./upper/usr/sbin/mkfs.ext4
./upper/usr/sbin/fsck.ext4
./upper/usr/sbin/fdisk
./upper/usr/sbin/e2fsck
./upper/usr/sbin/mkfs.ext2
./upper/usr/sbin/mke2fs
./upper/usr/sbin/fsck.ext2
./upper/usr/sbin/swapon
./upper/usr/sbin/mkfs.ext3
./upper/usr/sbin/fsck.ext3
./upper/usr/sbin/swapoff
./upper/usr/bin/
./upper/usr/bin/wireguard_watchdog
./upper/usr/bin/wg
./upper/lib/
./upper/lib/modules/
./upper/lib/modules/5.15.150/
./upper/lib/modules/5.15.150/chacha-mips.ko
./upper/lib/modules/5.15.150/ehci-fsl.ko
./upper/lib/modules/5.15.150/ohci-hcd.ko
./upper/lib/modules/5.15.150/poly1305-mips.ko
./upper/lib/modules/5.15.150/ehci-hcd.ko
./upper/lib/modules/5.15.150/ip6_udp_tunnel.ko
./upper/lib/modules/5.15.150/sd_mod.ko
./upper/lib/modules/5.15.150/ext4.ko
./upper/lib/modules/5.15.150/kpp.ko
./upper/lib/modules/5.15.150/ehci-platform.ko
./upper/lib/modules/5.15.150/udp_tunnel.ko
./upper/lib/modules/5.15.150/ohci-platform.ko
./upper/lib/modules/5.15.150/libcurve25519.ko
./upper/lib/modules/5.15.150/jbd2.ko
./upper/lib/modules/5.15.150/usb-storage.ko
./upper/lib/modules/5.15.150/uhci-hcd.ko
./upper/lib/modules/5.15.150/ohci-pci.ko
./upper/lib/modules/5.15.150/scsi_mod.ko
./upper/lib/modules/5.15.150/ehci-pci.ko
./upper/lib/modules/5.15.150/mbcache.ko
./upper/lib/modules/5.15.150/scsi_common.ko
./upper/lib/modules/5.15.150/libcurve25519-generic.ko
./upper/lib/modules/5.15.150/libchacha20poly1305.ko
./upper/lib/modules/5.15.150/fsl-mph-dr-of.ko
./upper/lib/modules/5.15.150/wireguard.ko
./upper/lib/libblkid-tiny.so
./upper/lib/upgrade/
./upper/lib/upgrade/keep.d/
./upper/lib/upgrade/keep.d/block-mount
./upper/lib/functions/
./upper/lib/functions/fsck/
./upper/lib/functions/fsck/e2fsck.sh
./upper/lib/netifd/
./upper/lib/netifd/proto/
./upper/lib/netifd/proto/wireguard.sh
./upper/www/
./upper/www/luci-static/
./upper/www/luci-static/resources/
./upper/www/luci-static/resources/view/
./upper/www/luci-static/resources/view/wireguard/
./upper/www/luci-static/resources/view/wireguard/status.js
./upper/www/luci-static/resources/protocol/
./upper/www/luci-static/resources/protocol/wireguard.js
./upper/sbin/
./upper/sbin/parted
./upper/sbin/block
./upper/sbin/partprobe
./work/
./work/work/
./.fs_state

What's the contents of "/etc/config/fstab" now?
Can you execute "block info" after a reboot, and post the results here, please?

Interestingly, /etc/fstab seems always empty, content below:

# <file system> <mount point> <type> <options> <dump> <pass>

output of block info (redacted a portion of UUIDs as I am uncertain how useful the info is):

/dev/mtdblock5: UUID="9c0***-******-******-******" VERSION="4.0" MOUNT="/rom" TYPE="squashfs"
/dev/mtdblock6: MOUNT="/overlay" TYPE="jffs2"
/dev/sda1: UUID="bf3***-******-******-************" LABEL="extroot" VERSION="1.0" TYPE="ext4"

You were asked to post the contents of /etc/config/fstab.
Make sure it looks like this:

config 'global'
        ...

config mount 'rwm'
        option device '/dev/mtdblock6'
        option target '/rwm'

config mount 'overlay'
        option uuid 'bf3***-******-******-************' # <- the correct sda1 uuid here
        option target '/overlay'
2 Likes

Oops, here it is:

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 '/mnt/sda'
	option uuid '2022-62E3'
	option enabled '0'

config mount 'extroot'

config mount 'rwm'
	option device '/dev/mtdblock6'
	option target '/rwm'

Run these commands and reboot the device.

uci del fstab.@mount[0]
uci del fstab.extroot
UUID=$(block info /dev/sda1 | awk '{ print $2 }' | cut -d'"' -f 2)
uci set fstab.overlay="mount"
uci set fstab.overlay.uuid="$UUID"
uci set fstab.overlay.target="/overlay"
uci commit fstab

Thanks! Ran the commands, but the LuCi -> System -> Software page still shows the same space.

Output of etc/config/fstab:


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 'rwm'
	option device '/dev/mtdblock6'
	option target '/rwm'

config mount 'overlay'
	option uuid 'bf3***-***-***-***-*********'
	option target '/overlay'

Please reboot once more and then post the result of:

block info; echo""; df -hT; mkdir -p /tmp/mnt; mount /dev/sda1 /tmp/mnt; echo""; ll /tmp/mnt

No need to redact anything, there is no sensitive info here.

root@OpenWrt:~# block info; echo""; df -hT; mkdir -p /tmp/mnt; mount /dev/sda1 /tmp/mnt; echo""; ll /tmp/mnt
/dev/mtdblock5: UUID="9c0b11f5-ec97718c-7039c75c-d8889f0c" VERSION="4.0" MOUNT="/rom" TYPE="squashfs"
/dev/mtdblock6: MOUNT="/overlay" TYPE="jffs2"
/dev/sda1: UUID="bf3f61ad-120d-420c-abbf-56a2ca822aeb" LABEL="extroot" VERSION="1.0" TYPE="ext4"

Filesystem           Type            Size      Used Available Use% Mounted on
/dev/root            squashfs        3.8M      3.8M         0 100% /rom
tmpfs                tmpfs         217.0M     96.0K    216.9M   0% /tmp
/dev/mtdblock6       jffs2          25.3M      3.7M     21.6M  14% /overlay
overlayfs:/overlay   overlay        25.3M      3.7M     21.6M  14% /
tmpfs                tmpfs         512.0K         0    512.0K   0% /dev
mount: mounting /dev/sda1 on /tmp/mnt failed: Invalid argument

drwxr-xr-x    2 root     root            40 Apr 28 17:22 ./
drwxrwxrwt   19 root     root           500 Apr 28 17:22 ../

Unlike when the data was initially transferred, you can no longer mount the USB drive for some reason. Verify that ext4 is listed in /proc/filesystems and try only repeating steps 2 and 5 of the guide. Remember to update the new UUID in /etc/config/fstab.

1 Like

Hope this means we have ext4

root@OpenWrt:~# cat /proc/filesystems
nodev   sysfs
nodev   tmpfs
nodev   bdev
nodev   proc
nodev   cgroup
nodev   cgroup2
nodev   cpuset
nodev   debugfs
nodev   sockfs
nodev   bpf
nodev   pipefs
nodev   ramfs
nodev   devpts
        squashfs
nodev   jffs2
nodev   overlay
nodev   mqueue
nodev   ubifs
        ext3
        ext2
        ext4

Re-executed step 2 through step 5 and rebooted, still does not show extra space under Software tab.
Mount points page does show tho:

Wanted to send a follow up and see if I can some help on the issue, thanks!