Disk usage increase on download server / mirrors

Hannu Nyman hannu.nyman at iki.fi
Sun Feb 21 06:06:58 EST 2021


Baptiste Jonglez kirjoitti 21.2.2021 klo 12.35:
>
> This makes sense.  Petr has implemented a cleanup cron with the following
> parameters:
>
> - delete kmods for release snapshots after 30 days
> - delete kmods for snapshots after 90 days
> - in any case, the 5 newest kmods for each subtarget are always kept
>
> This freed between 150 and 200 GB of disk space for mirrors.
>
> Thanks Petr for handling this!
>
> Baptiste


Does it already work/run according to the above rules?

Looking at the release snapshot directories, it seems that some 19.07 targets 
kmods directories only contain files from the last 30 days, while some 
contain stuff from early November 2020, meaning 90+ days ago.

E.g. these have longer contents

https://downloads.openwrt.org/releases/19.07-SNAPSHOT/targets/brcm47xx/mips74k/kmods/
https://downloads.openwrt.org/releases/19.07-SNAPSHOT/targets/mediatek/mt7623/kmods/
https://downloads.openwrt.org/releases/19.07-SNAPSHOT/targets/armvirt/64/kmods/

while some closely similar have only the last 30 days, like

https://downloads.openwrt.org/releases/19.07-SNAPSHOT/targets/brcm47xx/legacy/kmods/
https://downloads.openwrt.org/releases/19.07-SNAPSHOT/targets/mediatek/mt7622/kmods/
https://downloads.openwrt.org/releases/19.07-SNAPSHOT/targets/armvirt/32/kmods/


In any case, great that there is automatic garbage cleaning ;-)





More information about the openwrt-adm mailing list