[SOLVED] Proxmox zfs pool replaced drive - missing BIOS boot and EFI partitions

matrix1999

Member
Jan 10, 2023
52
8
13
One of my drive is about to be worn out, so as a precaution, I replaced the worn NVMe today.

Upon rebooting Proxmox, I ran the zpool replace command. The new NVMe drive resilvered successfully. However, upon inspecting via the UI, I noticed something different.

As you can see in the screenshot below, the replaced NVMEdrive (highlighted in red rectangle) no longer has the BIOS boot and EFI partitions. Did I do something wrong when I ran the zpool replace command?

1759002861548.png
 
Last edited:
please read:
Code:
man sgdisk
sgdisk /dev/disk/by-id/<working-disk> -R /dev/disk/by-id/<new-disk>
sgdisk -G <new-disk>
# the you must create new boot disk.
proxmox-boot-tool format /dev/disk/by-id/<new-disk>-part2
proxmox-boot-tool init /dev/disk/by-id/<new-disk>-part2

# and the you can use, check the function first
proxmox-boot-tool status
proxmox-boot-tool refresh
proxmox-boot-tool clean

# last step i replace the faild disk
zfs ...
 
please read:
Code:
man sgdisk
sgdisk /dev/disk/by-id/<working-disk> -R /dev/disk/by-id/<new-disk>
sgdisk -G <new-disk>
# the you must create new boot disk.
proxmox-boot-tool format /dev/disk/by-id/<new-disk>-part2
proxmox-boot-tool init /dev/disk/by-id/<new-disk>-part2

# and the you can use, check the function first
proxmox-boot-tool status
proxmox-boot-tool refresh
proxmox-boot-tool clean

# last step i replace the faild disk
zfs ...
I actually like your steps better than the guide. Yours is more comprehensive. Thank you very much. Doing 2nd time resilvering as we speak right now. Actually, I am taking this opportunity to do the proxmox-boot-tool refresh and clean on the rest of my nodes in my clusters. I haven't done that in a while and especially not since I upgraded to PVE 9.