[SOLVED] Update Failures

adamb

Famous Member
Mar 1, 2012
1,329
77
113
Attempting to update 2 nodes to the latest PVE7. Both are running ZFS for their OS partition.

During the upgrade they fail with messages about no space left on device. However / has more than enough free space on both of them.

Code:
cp: error writing '/var/tmp/espmounts/DC39-F948/EFI/proxmox/5.15.143-1-pve/initrd.img-5.15.143-1-pve': No space left on device
run-parts: /etc/initramfs/post-update.d//proxmox-boot-sync exited with return code 1
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/pve-kernel-5.15.143-1-pve.postinst line 19.
dpkg: error processing package pve-kernel-5.15.143-1-pve (--configure):
 installed pve-kernel-5.15.143-1-pve package post-installation script subprocess returned error exit status 2
Setting up grub-common (2.06-3~deb11u6) ...
Setting up libblas3:amd64 (3.9.0-3+deb11u1) ...
Setting up libunbound8:amd64 (1.13.1-1+deb11u2) ...
Setting up libuv1:amd64 (1.40.0-2+deb11u1) ...
Setting up proxmox-backup-client (2.4.6-1) ...
Setting up libx11-data (2:1.7.2-1+deb11u2) ...
dpkg: dependency problems prevent configuration of pve-kernel-5.15:
 pve-kernel-5.15 depends on pve-kernel-5.15.143-1-pve; however:
  Package pve-kernel-5.15.143-1-pve is not configured yet.


dpkg: error processing package pve-kernel-5.15 (--configure):
 dependency problems - leaving unconfigured
Setting up libncurses6:amd64 (6.2+20201114-2+deb11u2) ...
Setting up spl (2.1.14-pve1) ...
Setting up libdbus-1-3:amd64 (1.12.28-0+deb11u1) ...
Setting up dbus (1.12.28-0+deb11u1) ...
A reboot is required to replace the running dbus-daemon.
Please reboot the system when convenient.
dbus.service is a disabled or a static unit, not starting it.
dbus.socket is a disabled or a static unit, not starting it.
Setting up pve-kernel-5.15.108-1-pve (5.15.108-2) ...
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 5.15.108-1-pve /boot/vmlinuz-5.15.108-1-pve
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 5.15.108-1-pve /boot/vmlinuz-5.15.108-1-pve
update-initramfs: Generating /boot/initrd.img-5.15.108-1-pve
Running hook script 'zz-proxmox-boot'..
Re-executing '/etc/kernel/postinst.d/zz-proxmox-boot' in new private mount namespace..
Copying and configuring kernels on /dev/disk/by-uuid/DC39-F948
        Copying kernel and creating boot-entry for 5.13.19-6-pve
        Copying kernel and creating boot-entry for 5.15.143-1-pve
cp: error writing '/var/tmp/espmounts/DC39-F948/EFI/proxmox/5.15.143-1-pve/initrd.img-5.15.143-1-pve': No space left on device
run-parts: /etc/initramfs/post-update.d//proxmox-boot-sync exited with return code 1
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/pve-kernel-5.15.108-1-pve.postinst line 19.
dpkg: error processing package pve-kernel-5.15.108-1-pve (--configure):
 installed pve-kernel-5.15.108-1-pve package post-installation script subprocess returned error exit status 2

As you can see there is more than enough space.

Filesystem Size Used Avail Use% Mounted on
udev 1.5T 0 1.5T 0% /dev
tmpfs 303G 16M 303G 1% /run
rpool/ROOT/pve-1 861G 11G 850G 2% /
tmpfs 1.5T 42M 1.5T 1% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
rpool 850G 128K 850G 1% /rpool
rpool/ROOT 850G 128K 850G 1% /rpool/ROOT
rpool/data 850G 128K 850G 1% /rpool/data
/dev/fuse 128M 564K 128M 1% /etc/pve
 

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!