Proxmox VE 5.0 Beta Update

Ashley

Member
Jun 28, 2016
267
15
18
34
Have an issue trying to update the 5.0 beta, it currently get's stuck at the following:

dpkg --configure -a
Setting up pve-manager (5.0-9) ...
Setting up initramfs-tools (0.128) ...
update-initramfs: deferring update (trigger activated)
Setting up pve-kernel-4.10.8-1-pve (4.10.8-6) ...
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.10.8-1-pve /boot/vmlinuz-4.10.8-1-pve
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.10.8-1-pve /boot/vmlinuz-4.10.8-1-pve
update-initramfs: Generating /boot/initrd.img-4.10.8-1-pve

Any ideas or known issue?
 
Have an issue trying to update the 5.0 beta, it currently get's stuck at the following:

dpkg --configure -a
Setting up pve-manager (5.0-9) ...
Setting up initramfs-tools (0.128) ...
update-initramfs: deferring update (trigger activated)
Setting up pve-kernel-4.10.8-1-pve (4.10.8-6) ...
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.10.8-1-pve /boot/vmlinuz-4.10.8-1-pve
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.10.8-1-pve /boot/vmlinuz-4.10.8-1-pve
update-initramfs: Generating /boot/initrd.img-4.10.8-1-pve

Any ideas or known issue?

if you kill the update-initramfs process and subsequently call it with "update-initramfs -v -u" what does it report?
 
if you kill the update-initramfs process and subsequently call it with "update-initramfs -v -u" what does it report?

Goes through a lot of output and then hang's at:

Adding binary /sbin/zdb
Adding library-link /lib/libnvpair.so.1
Adding library /lib/libnvpair.so.1.0.1
Adding library-link /lib/libuutil.so.1
Adding library /lib/libuutil.so.1.0.1
Adding library-link /lib/libzpool.so.2
Adding library /lib/libzpool.so.2.0.0
Adding library-link /lib/libzfs.so.2
Adding library /lib/libzfs.so.2.0.0
Adding library-link /lib/libzfs_core.so.1
Adding library /lib/libzfs_core.so.1.0.0
Adding binary /sbin/zpool
Adding binary /sbin/zfs
Adding binary /sbin/mount.zfs
Adding binary /usr/bin/dirname
Adding module /lib/modules/4.10.8-1-pve/zfs/spl.ko
Adding module /lib/modules/4.10.8-1-pve/zfs/zavl.ko
Adding module /lib/modules/4.10.8-1-pve/zfs/znvpair.ko
Adding module /lib/modules/4.10.8-1-pve/zfs/zcommon.ko
Adding module /lib/modules/4.10.8-1-pve/zfs/zunicode.ko
Adding module /lib/modules/4.10.8-1-pve/zfs/zfs.ko
/usr/share/initramfs-tools/scripts/local-top/ORDER ignored: not executable
/usr/share/initramfs-tools/scripts/init-bottom/ORDER ignored: not executable
/usr/share/initramfs-tools/scripts/local-bottom/ORDER ignored: not executable
/usr/share/initramfs-tools/scripts/local-premount/ORDER ignored: not executable
/usr/share/initramfs-tools/scripts/init-top/ORDER ignored: not executable
/usr/share/initramfs-tools/scripts/local-block/ORDER ignored: not executable
Building cpio /boot/initrd.img-4.10.8-1-pve.new initramfs
 
that looks good (apart from the hang). what does "cat /proc/$(pidof cpio)/stack" and "cat /proc/$(pidof cpio)/status" say? is /boot on ZFS? or ext4/xfs? is there enough free space?
 
that looks good (apart from the hang). what does "cat /proc/$(pidof cpio)/stack" and "cat /proc/$(pidof cpio)/status" say? is /boot on ZFS? or ext4/xfs? is there enough free space?

Is an EFI setup, running on hardware RAID, plenty of space.

Filesystem Size Used Avail Use% Mounted on
udev 126G 0 126G 0% /dev
tmpfs 26G 894M 25G 4% /run
/dev/mapper/pve-root 94G 13G 77G 15% /
tmpfs 126G 60M 126G 1% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 126G 0 126G 0% /sys/fs/cgroup
/dev/sda2 253M 288K 252M 1% /boot/efi
tmpfs 26G 0 26G 0% /run/user/0
/dev/fuse 30M 60K 30M 1% /etc/pve

With the two cat commands not sure how I can get the pid of cpio, tried a grep of ps aux but couldnt'd find anything and running the commands as they are just gives:

cat /proc/$(pidof cpio)/stack
cat: /proc//stack: No such file or directory
 
Is an EFI setup, running on hardware RAID, plenty of space.

Filesystem Size Used Avail Use% Mounted on
udev 126G 0 126G 0% /dev
tmpfs 26G 894M 25G 4% /run
/dev/mapper/pve-root 94G 13G 77G 15% /
tmpfs 126G 60M 126G 1% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 126G 0 126G 0% /sys/fs/cgroup
/dev/sda2 253M 288K 252M 1% /boot/efi
tmpfs 26G 0 26G 0% /run/user/0
/dev/fuse 30M 60K 30M 1% /etc/pve

With the two cat commands not sure how I can get the pid of cpio, tried a grep of ps aux but couldnt'd find anything and running the commands as they are just gives:

cat /proc/$(pidof cpio)/stack
cat: /proc//stack: No such file or directory

does "ps faxl | less" show any child processes of update-initramfs ?
 

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!