A Bare-Metal Recovery Tool, Three Errors Deep on a ZFS-Root Node
Relax-and-Recover built a rescue image on one hypervisor in an afternoon. On the other, a ZFS root and systemd-boot hit three different errors, each hiding the next. We stopped, wrote down why, and kept the broken node out of the schedule.

Key Architectural Takeaways
- Two nodes of the same cluster can have different boot architectures, so a procedure proven on one is not proven on the other.
- A recovery tool that produces a clean-looking backup it cannot restore is worse than no backup; keep it out of the schedule.
- Stopping at the first structural blocker, with the reasoning written down, beats stacking workarounds.
The challenge
Relax-and-Recover (ReaR) builds a bootable rescue image plus a full archive of a host, which is what you want when a hypervisor's boot disk dies. It worked on the first hypervisor. We repeated the setup on the second.
First, a warning that turned out to be benign
On the first node, ReaR warned that a systemd shared library was missing from the rescue image. We treated it as possibly real, since a rescue image that cannot boot is worse than none. We traced it: PID 1 resolves its libraries through a hard-coded RUNPATH, not the linker cache, and ReaR's check runs ldd against one library in isolation, where it genuinely cannot resolve it. ReaR's own verify script only makes this class of warning fatal under /bin and /sbin. The rescue environment also uses a minimal init, not full systemd. We added an explicit copy line anyway and left the cosmetic warning, with a note not to re-investigate it.
The twin node is different
Before copying the first node's setup we checked the second's boot architecture. The first uses LVM with ext4 root and GRUB, with the EFI partition permanently mounted. The second uses a ZFS root and systemd-boot managed by proxmox-boot-tool, which mounts each EFI partition only briefly while syncing kernels. Mirroring the first node's fstab entry onto the second would have imposed a pattern its boot design does not use.
Three errors, each behind the last
- "Cannot autodetect what is used as bootloader." ReaR looks for GRUB or LILO signatures in the first sectors of each disk. systemd-boot leaves none. Setting
BOOTLOADER="EFI"short-circuits the scan cleanly, and we confirmed that by reading the script. - ESP never mounted, so ReaR never noticed it was UEFI. ReaR decides UEFI mode from currently mounted filesystems, not the partition table. Without the EFI partition mounted, it would silently build a BIOS-only rescue image and skip the boot files in the archive. We wrote a wrapper that mounts the ESP read-only for the duration of the run and unmounts it on exit.
- "Failed to get root disk UUID." ReaR asks
blkidabout the root mount source, and on ZFS that source is a dataset name, not a block device. The tempting workaround, booting the rescue image through the EFI stub, would only move the failure: the stub path does the same lookup against the restored root during recovery, which is a far worse moment to find out. We pre-seeded the boot arguments from the live kernel command line, and then hit another error: the EFI stub requires the kernel to live on a vfat filesystem, and ours lives on ZFS.
The decision
Each fix revealed a deeper assumption, and by the last one the blocker was structural: the tool assumes a boot layout this node does not have. We stopped, wrote the findings down, and documented the node as unsupported by this tool. Critically, we did not add it to the backup schedule, because a clean-looking archive that cannot restore the machine gives a false sense of safety.
Takeaway
Recovery tooling needs a restore test, not just a backup log. When the third error in a row points at an architectural mismatch, the right move is to stop and choose a different mechanism for that node.
Some of what's described here is a design that hasn't been fully tested yet; those parts say so in the text.