Failed to boot cannot import rpool after update

the_hunk

New Member
Dec 9, 2016
4
0
1
38
Hi. After the upgrade, the server can not boot. Can I recover it or get the data?

Loading, please wait...

Command: /sbin/zpool import -N rpool
Message: cannot import 'rpool': no such pool available
Error: 1

No pool imported. Manually import the root pool
at the command prompt and then exit.
Hint: Tyr: zpool import -R /root -N rpool

BusyBox v1.22.1 ....
/ #


# zpool import
no pools available to import

# blkid -l -t TYPE=zfs_member
nothing
# blkid
The partitions with UUID (sd{a,b}{1,2,9})

if I run
# zpool import -d /dev/disk/by-id rpool -R /root
I can find my vm (.qcow2) in /root/var/lib/vz/images/

After reboot the same problem!
Please, help.
 
Last edited:
Sorry. I gave the wrong information.
After carefully reading the forum, I found a solution.
After run "# zpool import -d /dev/disk/by-id rpool -R /root" be sure to print "exit" to boot
Then again, I get in BusyBox:
Error: Failed to mount root filesystem ´rpool/ROOT/pve-1´
I run:
# mount -o zfsutil -t zfs rpool/ROOT/pve-1 /root
after exit the normal boot sequence goes on and system comes up.
Question is how to solve this so that the system comes up without manual investigation?
 
I think the correct command in your case would be "zpool import -d /dev/disk/by-id -R /root -N rpool" followed by exit
could you also post the output of "zpool import -d /dev" (in the initramfs rescue shell)?
 

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!