I'm going to be brutal here ![Smile :)]()
Using the overlay means all writes go to RAM. File and directory moves and renames too. That means usage will increase overtime.
Additionally, any deletes from the underlying filesystem need to be stored somewhere. They can't happen to the underlying filesystem so they're stored in hidden parts of the overlay.
The best way I've found to purge the overlay is to reboot the Pi but doing so throws away all the data in the overlay. If you want to keep it you need to copy it somewhere permanent first, and that can't be to the real root filesystem (because of how the overlay works).

Using the overlay means all writes go to RAM. File and directory moves and renames too. That means usage will increase overtime.
Additionally, any deletes from the underlying filesystem need to be stored somewhere. They can't happen to the underlying filesystem so they're stored in hidden parts of the overlay.
The best way I've found to purge the overlay is to reboot the Pi but doing so throws away all the data in the overlay. If you want to keep it you need to copy it somewhere permanent first, and that can't be to the real root filesystem (because of how the overlay works).
Statistics: Posted by thagrol — Thu Apr 18, 2024 9:52 pm