OpenWrt Storage
- openwrt-flash-analyzer
- comprehensive OpenWrt shell script to analyze and visualize NAND & NOR flash partitions with usage stats, bad block detection, and a user-friendly summary
Freeing space
- FAQ: No space left on device
- How to list only packages that I have installed?
- Recover from full /overlay
What helped after package installation broke and left half-installed packages:
- Removed leftovers from
/overlay/upper/usr/lib/ - Reboot
USB Storage
Quick Start for Adding a USB drive
Extroot
For SD-Card usage (kmod-usb-storage needs to be installed to access a
sd-card, at least on the GL.Inet X-750):
opkg install kmod-mmc kmod-usb-storage
ls -al /sys/block/
ls -la ls -al /dev/sd*
parted -s /dev/sda -- mklabel gpt mkpart extroot 2048s -2048s