Boot error after update

yena

Renowned Member
Nov 18, 2011
378
5
83
Hello,
i have a single node with Proxmox 5.
After apt-get upgrade i have this error on boot:
Command: /sbin/zpool import -N 'rpool"
Message: cannot import 'rpool': no such pool available
Error: 1

BusyBox ....
/bin/sh: can't access tty; job control tunned off

Thanks!
 
this could happen if the disks of your pool are a bit slow to initialize if i am not mistaken.

When this happens:
* verify that the kernel has detected all your disks
ls /dev/sd[a-z]

this should give you a list of devices, from which the quantity should match with the number of physical disks you have

if you see the correct number of disks, retry to list the pools with
zpool list

if you see the pool 'rpool', retry to import it with

zpool import rpool

and if that succeeds, enter

exit

the normal boot process should resume
 
Hi Manu

I am experiencing this same problem. After upgrading PVE it now no longer boots without me having to manually wait 30 seconds or so after hitting busybox and manually doing zpool import rpool

There must be a way to prevent this from happening because say there was a power outage the server would not be able to recover by itself without intervention. This is a big issue for me as I use PVE as my all-in-one esxi replacement which hosts my home firewall and OpenVPN gateway.

Any tips to restore whatever setting or add a delay so that we don't get to the point where we are today (busybox/manual intervention). This did not happen before the upgrade.

Thanks
Giovanni
 
Add rootdelay=30 (or higher value) to GRUB_CMDLINE_LINUX_DEFAULT in /etc/default/grub, then update-grub
 
Add rootdelay=30 (or higher value) to GRUB_CMDLINE_LINUX_DEFAULT in /etc/default/grub, then update-grub

Thanks but all this does is add a delay to the grub boot selection menu.

The crash/problem occurs when zpool import -c /etc/zfs/zpool.cache file is being read "Reading all physical volumes. This may take awhile" section. Then it errors out after a few seconds, if a delay were to be added it needs to be here.
 
Have you tried it? I have a server that is booting from USB pendrive and I had errors in zpool import at boot until I added the rootdelay option
See here https://pve.proxmox.com/wiki/ZFS:_Tips_and_Tricks

THANKS!

This worked for me:
b) edit /etc/default/zfs, set ZFS_INITRD_PRE_MOUNTROOT_SLEEP='4', and then issue a "update-initramfs -k 4.2.6-1-pve -u"

In the latest update the kernel version is 4.13.4-1-pve (find out what u need to change by running "uname -r")

This seems to have fixed the boot issue and the server is booting normally now, thanks @mbaldini
 
  • Like
Reactions: GadgetPig

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!