Why old kernels are never removed?

D

Deleted member 33567

Guest
Why Proxmox does not do any workaround this kernel cleaning process? We had not touched this, yet it seems our disks are getting clogged and the upgrade process is prolonged only due to so many kernel checks and yeah, what a day.

So how does one, "safely" clean up OLD Kernels, and why they are not automatically removed as a periodic maintenance plan builtin proxmox.

Do you think is normal to add rules in APT and mark old kernels not to be removed, and then let sysadmins to screw their systems or worst to crash their machines due to low space.

This is not my first thread related to this, yet it seems no one looks into this, no one sees it as a problem only me?

Right, what now to do about this, what other people do? Anyone?

Seems you installed a kernel update - Please consider rebooting this node to activate the new kernel.

Generating grub configuration file ...
Code:
Found linux image: /boot/vmlinuz-4.15.18-7-pve
Found initrd image: /boot/initrd.img-4.15.18-7-pve
Found linux image: /boot/vmlinuz-4.15.18-5-pve
Found initrd image: /boot/initrd.img-4.15.18-5-pve
Found linux image: /boot/vmlinuz-4.15.18-4-pve
Found initrd image: /boot/initrd.img-4.15.18-4-pve
Found linux image: /boot/vmlinuz-4.15.18-2-pve
Found initrd image: /boot/initrd.img-4.15.18-2-pve
Found linux image: /boot/vmlinuz-4.15.18-1-pve
Found initrd image: /boot/initrd.img-4.15.18-1-pve
Found linux image: /boot/vmlinuz-4.15.17-3-pve
Found initrd image: /boot/initrd.img-4.15.17-3-pve
Found linux image: /boot/vmlinuz-4.15.17-2-pve
Found initrd image: /boot/initrd.img-4.15.17-2-pve
Found linux image: /boot/vmlinuz-4.13.16-4-pve
Found initrd image: /boot/initrd.img-4.13.16-4-pve
Found linux image: /boot/vmlinuz-4.13.16-3-pve
Found initrd image: /boot/initrd.img-4.13.16-3-pve
Found linux image: /boot/vmlinuz-4.13.16-2-pve
Found initrd image: /boot/initrd.img-4.13.16-2-pve
Found linux image: /boot/vmlinuz-4.13.13-5-pve
Found initrd image: /boot/initrd.img-4.13.13-5-pve
Found linux image: /boot/vmlinuz-4.13.8-3-pve
Found initrd image: /boot/initrd.img-4.13.8-3-pve
Found linux image: /boot/vmlinuz-4.13.8-2-pve
Found initrd image: /boot/initrd.img-4.13.8-2-pve
Found linux image: /boot/vmlinuz-4.13.8-1-pve
Found initrd image: /boot/initrd.img-4.13.8-1-pve
Found linux image: /boot/vmlinuz-4.4.67-1-pve
Found initrd image: /boot/initrd.img-4.4.67-1-pve
Found linux image: /boot/vmlinuz-4.4.49-1-pve
Found initrd image: /boot/initrd.img-4.4.49-1-pve

Code:
root@node01-sxb-pve01:~# dpkg --list|grep pve-kernel
ii  pve-firmware                         2.0-5                                    all          Binary firmware code for the pve-kernel
ii  pve-kernel-4.13                      5.2-2                                    all          Latest Proxmox VE Kernel Image
ii  pve-kernel-4.13.13-5-pve             4.13.13-38                               amd64        The Proxmox PVE Kernel Image
ii  pve-kernel-4.13.16-2-pve             4.13.16-48                               amd64        The Proxmox PVE Kernel Image
ii  pve-kernel-4.13.16-3-pve             4.13.16-50                               amd64        The Proxmox PVE Kernel Image
ii  pve-kernel-4.13.16-4-pve             4.13.16-51                               amd64        The Proxmox PVE Kernel Image
ii  pve-kernel-4.13.8-1-pve              4.13.8-27                                amd64        The Proxmox PVE Kernel Image
ii  pve-kernel-4.13.8-2-pve              4.13.8-28                                amd64        The Proxmox PVE Kernel Image
ii  pve-kernel-4.13.8-3-pve              4.13.8-30                                amd64        The Proxmox PVE Kernel Image
ii  pve-kernel-4.15                      5.2-10                                   all          Latest Proxmox VE Kernel Image
ii  pve-kernel-4.15.17-2-pve             4.15.17-10                               amd64        The Proxmox PVE Kernel Image
ii  pve-kernel-4.15.17-3-pve             4.15.17-14                               amd64        The Proxmox PVE Kernel Image
ii  pve-kernel-4.15.18-1-pve             4.15.18-19                               amd64        The Proxmox PVE Kernel Image
ii  pve-kernel-4.15.18-2-pve             4.15.18-21                               amd64        The Proxmox PVE Kernel Image
ii  pve-kernel-4.15.18-4-pve             4.15.18-23                               amd64        The Proxmox PVE Kernel Image
ii  pve-kernel-4.15.18-5-pve             4.15.18-24                               amd64        The Proxmox PVE Kernel Image
ii  pve-kernel-4.15.18-7-pve             4.15.18-27                               amd64        The Proxmox PVE Kernel Image
rc  pve-kernel-4.2.6-1-pve               4.2.6-36                                 amd64        The Proxmox PVE Kernel Image
rc  pve-kernel-4.2.8-1-pve               4.2.8-41                                 amd64        The Proxmox PVE Kernel Image
rc  pve-kernel-4.4.15-1-pve              4.4.15-60                                amd64        The Proxmox PVE Kernel Image
rc  pve-kernel-4.4.16-1-pve              4.4.16-64                                amd64        The Proxmox PVE Kernel Image
rc  pve-kernel-4.4.19-1-pve              4.4.19-66                                amd64        The Proxmox PVE Kernel Image
rc  pve-kernel-4.4.21-1-pve              4.4.21-71                                amd64        The Proxmox PVE Kernel Image
rc  pve-kernel-4.4.40-1-pve              4.4.40-82                                amd64        The Proxmox PVE Kernel Image
rc  pve-kernel-4.4.44-1-pve              4.4.44-84                                amd64        The Proxmox PVE Kernel Image
ii  pve-kernel-4.4.49-1-pve              4.4.49-86                                amd64        The Proxmox PVE Kernel Image
rc  pve-kernel-4.4.62-1-pve              4.4.62-88                                amd64        The Proxmox PVE Kernel Image
ii  pve-kernel-4.4.67-1-pve              4.4.67-92                                amd64        The Proxmox PVE Kernel Image
 
  • Like
Reactions: blebo

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!