Hi everyone,
PVE 6.4-15 on Debian 10
# df -h
Filesystem Size Used Avail Use% Mounted on
udev 126G 0 126G 0% /dev
tmpfs 26G 9.8M 26G 1% /run
/dev/mapper/alm--srv01--vg-root 2.6T 897G 1.6T 36% /
tmpfs 126G 37M 126G 1% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 126G 0 126G 0% /sys/fs/cgroup
/dev/sda2 473M 430M 19M 96% /boot # here we can see only 4% free space left
/dev/fuse 30M 24K 30M 1% /etc/pve
tmpfs 26G 0 26G 0% /run/user/1000
# df -h /boot/
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 473M 430M 19M 96% /boot
# uname -r
5.4.128-1-pve
# dpkg --list | grep pve-kernel
ii pve-firmware 3.3-2 all Binary firmware code for the pve-kernel
ii pve-kernel-5.4 6.4-19 all Latest Proxmox VE Kernel Image
ii pve-kernel-5.4.106-1-pve 5.4.106-1 amd64 The Proxmox PVE Kernel Image
ii pve-kernel-5.4.119-1-pve 5.4.119-1 amd64 The Proxmox PVE Kernel Image
ii pve-kernel-5.4.124-1-pve 5.4.124-2 amd64 The Proxmox PVE Kernel Image
ii pve-kernel-5.4.128-1-pve 5.4.128-2 amd64 The Proxmox PVE Kernel Image
ii pve-kernel-5.4.195-1-pve 5.4.195-1 amd64 The Proxmox PVE Kernel Image
ii pve-kernel-helper 6.4-19 all Function for various kernel maintenance tasks.
Which kernel versions can I remove now correctly?
Can I remove the next versions?
apt-get remove pve-kernel-5.4.106-1-pve
apt-get remove pve-kernel-5.4.119-1-pve
apt-get remove pve-kernel-5.4.124-1-pve
then run the command:
apt autoremove
Is it correct?
Please give me a piece of advice on how to correctly clean up /boot partition since only 4% free space is left.
According to this article https://gist.github.com/jbgo/5016064 I need to remove old Linux kernel versions. But I can't see any Linux versions, only PVE.
What's wrong am I doing now?
Thanks a lot!
PVE 6.4-15 on Debian 10
# df -h
Filesystem Size Used Avail Use% Mounted on
udev 126G 0 126G 0% /dev
tmpfs 26G 9.8M 26G 1% /run
/dev/mapper/alm--srv01--vg-root 2.6T 897G 1.6T 36% /
tmpfs 126G 37M 126G 1% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 126G 0 126G 0% /sys/fs/cgroup
/dev/sda2 473M 430M 19M 96% /boot # here we can see only 4% free space left
/dev/fuse 30M 24K 30M 1% /etc/pve
tmpfs 26G 0 26G 0% /run/user/1000
# df -h /boot/
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 473M 430M 19M 96% /boot
# uname -r
5.4.128-1-pve
# dpkg --list | grep pve-kernel
ii pve-firmware 3.3-2 all Binary firmware code for the pve-kernel
ii pve-kernel-5.4 6.4-19 all Latest Proxmox VE Kernel Image
ii pve-kernel-5.4.106-1-pve 5.4.106-1 amd64 The Proxmox PVE Kernel Image
ii pve-kernel-5.4.119-1-pve 5.4.119-1 amd64 The Proxmox PVE Kernel Image
ii pve-kernel-5.4.124-1-pve 5.4.124-2 amd64 The Proxmox PVE Kernel Image
ii pve-kernel-5.4.128-1-pve 5.4.128-2 amd64 The Proxmox PVE Kernel Image
ii pve-kernel-5.4.195-1-pve 5.4.195-1 amd64 The Proxmox PVE Kernel Image
ii pve-kernel-helper 6.4-19 all Function for various kernel maintenance tasks.
Which kernel versions can I remove now correctly?
Can I remove the next versions?
apt-get remove pve-kernel-5.4.106-1-pve
apt-get remove pve-kernel-5.4.119-1-pve
apt-get remove pve-kernel-5.4.124-1-pve
then run the command:
apt autoremove
Is it correct?
Please give me a piece of advice on how to correctly clean up /boot partition since only 4% free space is left.
According to this article https://gist.github.com/jbgo/5016064 I need to remove old Linux kernel versions. But I can't see any Linux versions, only PVE.
What's wrong am I doing now?
Thanks a lot!
Last edited: