After expanding the overlay, how to read and write the original overlay

Because the router storage is too small, the overlay is expanded through USB, then how to read the original overlay on the router storage, how to mount, read and write?

1 Like

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

1 Like

Thank you, the command related to the problem in the reference document is: block info By comparing the devices of the same model that have not expanded the capacity, the overlay position in the relevant router firmware is found. /dev/ubi0_1: UUID="57a34fc3-9183-###-###-5ec66e5d8dec" VERSION="w4r0" TYPE="ubifs" Then mount -t ubifs /dev/ubi0_1 /mnt/*** Read and write.

1 Like

The USB disk is new, but after the expansion, there are many logs like the following in the system log?

...
Sun Sep 5 21:15:32 2021 kern.err kernel: [36922.852368] Buffer I/O error on dev mtdblock0, logical block 15, async page read
Sun Sep 5 21:15:32 2021 kern.err kernel: [36923.081886] blk_update_request: I/O error, dev mtdblock4, sector 32
...

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.