Proxmox Backup Server Fails to Boot After zfs Boot Mirror Replacement

rbeard.js

Member
Aug 11, 2022
61
2
13
Hi there,
I have a boot mirror of ssd drives that were giving me disk errors. The wearout percentage was at 99% for both devices in the mirror so I attempted to replace them. I was following along with the official documentation and here are the steps I took and the commands ran:

Code:
sgdisk --zap-all /dev/sdk
sgdisk --zap-all /dev/sdl
wipefs -a /dev/sdk
wipefs -a /dev/sdl

sgdisk /dev/sdi -R=/dev/sdk
sgdisk /dev/sdj -R=/dev/sdl

sgdisk -G /dev/sdk
sgdisk -G /dev/sdl

zpool replace -f rpool  ata-CT240BX500SSD1_2244E680A27B-part3 /dev/sdk3
watch zpool status

zpool replace -f rpool  ata-CT240BX500SSD1_2244E6809BEA-part3 /dev/sdl3
watch zpool status

proxmox-boot-tool format /dev/sdl2
proxmox-boot-tool format /dev/sdk2

proxmox-boot-tool init /dev/sdl2
proxmox-boot-tool init /dev/sdk2

Everything looked right but when I tried booting to the new disks, I get a boot failed message in the dell BIOS.
I went back to the old drives and those boot, but I hit an initramfs prompt

Did I do something wrong in this process?
How can I recover from here? Either getting the old disks to work to try again or fixing the new ones?
 
Sorry I do not see anything wrong here, at least not on the first glance.

If you really, really, really feel the force to double-post a question in multiple places then at least link them! --> https://forum.proxmox.com/threads/p...oot-after-zfs-boot-mirror-replacement.170111/
My apologies I was trying to delete the original thread. This happened on a pbs server, so I was attempting to place it in the right section.

Is there a method to getting the original disks to boot into proxmox again while I figure this out? The disk will boot but they dont see rpool anymore on them
 
Is there a method to getting the original disks to boot into proxmox again while I figure this out?

Fortunately I've never had big trouble with booting my systems, so I luckily don't have experience with that.

The installation .iso has a recovery mode. Search for posts working on that level to recover from boot problems.

Sorry, that's all I can say...