Mi R3P overlay issue

I'm using Mi R3P OpenWRT but my overlay disk is full.

How can I free up it?

List of installed package

root@R3P_OpenWRT:~# opkg list
adblock - 4.0.7-3
alsa-lib - 1.1.8-1
announce - 1.0.1-1
base-files - 204.2-r11257-5090152ae3
block-mount - 2020-05-12-84269037-1
busybox - 1.30.1-6
ca-bundle - 20200601-1
cgi-io - 19
coreutils - 8.30-2
coreutils-sort - 8.30-2
dnsmasq - 2.80-16.1
dropbear - 2019.78-2
e2fsprogs - 1.44.5-2
firewall - 2019-11-22-8174814a-3
fstools - 2020-05-12-84269037-1
fwtool - 2
getrandom - 2019-06-16-4df34a4d-3
hd-idle - 1.05-2
hostapd-common - 2019-08-08-ca8c2bd2-4
htop - 3.0.1-1
ip-tiny - 5.0.0-2.1
ip6tables - 1.8.3-1
ipset - 7.3-1
iptables - 1.8.3-1
iptables-mod-conntrack-extra - 1.8.3-1
iptables-mod-ipopt - 1.8.3-1
iw - 5.0.1-1
iwinfo - 2019-10-16-07315b6f-1
jshn - 2020-05-25-66195aee-1
jsonfilter - 2018-02-04-c7e938d6-1
kernel - 4.14.209-1-2e88863ccdd594fb8e842df3c25842ee
kmod-cfg80211 - 4.14.209+4.19.137-1-2
kmod-crypto-aead - 4.14.209-1
kmod-crypto-cbc - 4.14.209-1
kmod-crypto-crc32c - 4.14.209-1
kmod-crypto-cts - 4.14.209-1
kmod-crypto-des - 4.14.209-1
kmod-crypto-ecb - 4.14.209-1
kmod-crypto-hash - 4.14.209-1
kmod-crypto-hmac - 4.14.209-1
kmod-crypto-manager - 4.14.209-1
kmod-crypto-md5 - 4.14.209-1
kmod-crypto-null - 4.14.209-1
kmod-crypto-pcompress - 4.14.209-1
kmod-crypto-sha1 - 4.14.209-1
kmod-dax - 4.14.209-1
kmod-dm - 4.14.209-1
kmod-dnsresolver - 4.14.209-1
kmod-fs-exportfs - 4.14.209-1
kmod-fs-ext4 - 4.14.209-1
kmod-fs-nfs - 4.14.209-1
kmod-fs-nfs-common - 4.14.209-1
kmod-fs-nfs-common-rpcsec - 4.14.209-1
kmod-fs-nfs-v4 - 4.14.209-1
kmod-fs-nfsd - 4.14.209-1
kmod-fs-ntfs - 4.14.209-1
kmod-gpio-button-hotplug - 4.14.209-3
kmod-ifb - 4.14.209-1
kmod-input-core - 4.14.209-1
kmod-ip6tables - 4.14.209-1
kmod-ipt-conntrack - 4.14.209-1
kmod-ipt-conntrack-extra - 4.14.209-1
kmod-ipt-core - 4.14.209-1
kmod-ipt-ipopt - 4.14.209-1
kmod-ipt-ipset - 4.14.209-1
kmod-ipt-nat - 4.14.209-1
kmod-ipt-offload - 4.14.209-1
kmod-ipt-raw - 4.14.209-1
kmod-leds-gpio - 4.14.209-1
kmod-lib-crc-ccitt - 4.14.209-1
kmod-lib-crc16 - 4.14.209-1
kmod-lib-crc32c - 4.14.209-1
kmod-mac80211 - 4.14.209+4.19.137-1-2
kmod-mt76-core - 4.14.209+2020-03-10-08054d5a-1
kmod-mt7615e - 4.14.209+2020-03-10-08054d5a-1
kmod-nf-conntrack - 4.14.209-1
kmod-nf-conntrack6 - 4.14.209-1
kmod-nf-flow - 4.14.209-1
kmod-nf-ipt - 4.14.209-1
kmod-nf-ipt6 - 4.14.209-1
kmod-nf-nat - 4.14.209-1
kmod-nf-nathelper - 4.14.209-1
kmod-nf-reject - 4.14.209-1
kmod-nf-reject6 - 4.14.209-1
kmod-nfnetlink - 4.14.209-1
kmod-nls-base - 4.14.209-1
kmod-ppp - 4.14.209-1
kmod-pppoe - 4.14.209-1
kmod-pppox - 4.14.209-1
kmod-sched - 4.14.209-1
kmod-sched-cake - 4.14.209+2019-03-12-057c7388-1
kmod-sched-core - 4.14.209-1
kmod-scsi-core - 4.14.209-1
kmod-slhc - 4.14.209-1
kmod-sound-core - 4.14.209-1
kmod-usb-core - 4.14.209-1
kmod-usb-ehci - 4.14.209-1
kmod-usb-ledtrig-usbport - 4.14.209-1
kmod-usb-storage - 4.14.209-1
kmod-usb-storage-extras - 4.14.209-1
kmod-usb-storage-uas - 4.14.209-1
kmod-usb3 - 4.14.209-1
libblkid1 - 2.34-1
libblobmsg-json - 2020-05-25-66195aee-1
libbz2-1.0 - 1.0.8-1
libc - 1.1.24-2
libcap - 2.27-1
libcomerr0 - 1.44.5-2
libcurl4 - 7.66.0-3
libdevmapper - 2.03.02-2
libelf1 - 0.177-1
libevent2-7 - 2.1.11-1
libexif - 0.6.22-1
libext2fs2 - 1.44.5-2
libffmpeg-full - 3.4.7-3
libffmpeg-mini - 3.4.7-3
libflac - 1.3.3-1
libgcc1 - 7.5.0-2
libid3tag - 0.15.1b-4
libip4tc2 - 1.8.3-1
libip6tc2 - 1.8.3-1
libipset13 - 7.3-1
libiwinfo-lua - 2019-10-16-07315b6f-1
libiwinfo20181126 - 2019-10-16-07315b6f-1
libjpeg - 9c-2
libjson-c2 - 0.12.1-3.1
libjson-script - 2020-05-25-66195aee-1
libkeyutils1 - 1.6-3
liblua5.1.5 - 5.1.5-3
liblucihttp-lua - 2019-07-05-a34a17d5-1
liblucihttp0 - 2019-07-05-a34a17d5-1
libmbedtls12 - 2.16.8-1
libminiupnpc - 2.1.20190408-2
libmnl0 - 1.0.4-2
libmount1 - 2.34-1
libnatpmp - 20150609-1
libncurses6 - 6.1-5
libnl-core200 - 3.4.0-2
libnl-genl200 - 3.4.0-2
libnl-tiny - 0.1-5
libogg - 1.3.3-1
libopenssl1.1 - 1.1.1h-1
libopus - 1.3.1-2
libpcap1 - 1.9.1-2.1
libpthread - 1.1.24-2
librt - 1.1.24-2
libsmartcols1 - 2.34-1
libsqlite3-0 - 3310100-1
libss2 - 1.44.5-2
libtirpc - 1.2.6-2
libubox20191228 - 2020-05-25-66195aee-1
libubus-lua - 2019-12-27-041c9d1c-1
libubus20191227 - 2019-12-27-041c9d1c-1
libuci20130104 - 2019-09-01-415f9e48-4
libuclient20160123 - 2020-06-17-51e16ebf-1
libusb-1.0-0 - 1.0.22-2
libustream-mbedtls20150806 - 2020-03-13-40b563b1-1
libuuid1 - 2.34-1
libvorbis - 1.3.7-1
libwrap - 7.6-2
libxtables12 - 1.8.3-1
logd - 2019-06-16-4df34a4d-3
lsblk - 2.34-1
lua - 5.1.5-3
luci - git-20.341.57626-51f55b5-1
luci-app-adblock - git-20.351.44718-4edcf38-1
luci-app-firewall - git-20.341.57626-51f55b5-1
luci-app-hd-idle - git-20.351.44718-4edcf38-1
luci-app-opkg - git-20.341.57626-51f55b5-1
luci-app-sqm - 1.4.0-2
luci-app-upnp - git-20.348.38488-caae7ad-1
luci-base - git-20.341.57626-51f55b5-1
luci-compat - git-20.348.38488-caae7ad-1
luci-lib-ip - git-20.341.57626-51f55b5-1
luci-lib-jsonc - git-20.341.57626-51f55b5-1
luci-lib-nixio - git-20.341.57626-51f55b5-1
luci-mod-admin-full - git-20.341.57626-51f55b5-1
luci-mod-network - git-20.341.57626-51f55b5-1
luci-mod-status - git-20.341.57626-51f55b5-1
luci-mod-system - git-20.341.57626-51f55b5-1
luci-proto-ipv6 - git-20.341.57626-51f55b5-1
luci-proto-ppp - git-20.341.57626-51f55b5-1
luci-theme-bootstrap - git-20.351.44718-4edcf38-1
minidlna - 2019-12-09-0763719f-6
miniupnpd - 2.2.0-4
mtd - 24
netifd - 2019-08-05-5e02f944-1
nfs-utils-libs - 2.3.4-3
odhcp6c - 2019-01-11-e199804b-16
odhcpd-ipv6only - 2020-05-03-49e4949c-3
openssh-sftp-server - 8.0p1-1
openwrt-keyring - 2019-07-25-8080ef34-1
opkg - 2020-05-07-f2166a89-1
ppp - 2.4.7.git-2019-05-25-3
ppp-mod-pppoe - 2.4.7.git-2019-05-25-3
procd - 2020-03-07-09b9bd82-1
rpcbind - 1.2.5-4
rpcd - 2020-05-26-67c8a3fd-1
rpcd-mod-file - 2020-05-26-67c8a3fd-1
rpcd-mod-iwinfo - 2020-05-26-67c8a3fd-1
rpcd-mod-luci - 20201107
rpcd-mod-rrdns - 20170710
shine - 3.1.1-1
sqm-scripts - 1.4.0-2
swconfig - 12
tc - 5.0.0-2.1
tcpdump-mini - 4.9.3-2
terminfo - 6.1-5
transmission-cli-openssl - 3.00-4
transmission-daemon-openssl - 3.00-4
transmission-remote-openssl - 3.00-4
transmission-web - 3.00-4
ubi-utils - 2.1.1-1
uboot-envtools - 2018.03-3.1
ubox - 2019-06-16-4df34a4d-3
ubus - 2019-12-27-041c9d1c-1
ubusd - 2019-12-27-041c9d1c-1
uci - 2019-09-01-415f9e48-4
uclient-fetch - 2020-06-17-51e16ebf-1
uhttpd - 2020-10-01-3abcc891-1
urandom-seed - 1.0-1
urngd - 2020-01-21-c7f7b6b6-1
usbutils - 007-10
usign - 2020-05-23-f1f65026-1
vsftpd - 3.0.3-3
wireless-regdb - 2019.06.03-1
wpad-basic - 2019-08-08-ca8c2bd2-4
zlib - 1.2.11-3

You can try to remove some packages you installed after the first boot and you don't need anymore, but I don't think that will help so much.
Check with du -sk /* | sort -n which directories occupy the most space, in case you accidentally filled them with some torrent or logfile.

2 Likes

Here is the result.

0       /dev
0       /proc
0       /sys
0       /var
3.1M    /tmp
3.5M    /etc
6.9M    /lib
7.6M    /rom
10.6G   /overlay
19.2M   /usr
20.0K   /root
252.6G  /mnt
444.0K  /bin
482.5K  /sbin
821.5K  /www

I think a torrent file stored on router disk.
How can I find and remove them?

I got ittttttttt.
I removed /overlay/upper/mnt/wd_b1tb/torrent_downloading/file_name
on mounted External drive.
It's work!!!

I remember this file made a problem before moving the path to external drive maybe some data are not moved too.

1 Like

For future reference you can repeat the command to check the folder which occupies too much space:
du -sk /overlay/* | sort -n
then again pick the directory with the most files and so on.

1 Like

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