I have another server to replace, so I'll try your script again before formating it. Thanks for the update!FYI all: I have made a large upgrade to the script as explained here:
https://forum.proxmox.com/threads/lib-modules-filling-up-hard-drive.39199/post-294457