I recently had one of my nvme disks fail on me in my Proxmox server. I installed Proxmox on a default zfs raid1 installation. I was able to replace the disk and add it back to the pool but while doing that I noticed that the mirror only consists of partition3 which looks like this.
I installed Proxmox in a vm to be sure that is correct and it installed it the same way because I would think you would want to mirror the entire disk for if one of the disks breaks, that you can still boot. Because right now if my disk breaks where the boot partitions are on I won't be able to boot Proxmox.
I did find "proxmox-boot-tool format/init" but when using that it requires that the efi partition is at least 256M while the defaul installation makes it 1007Kb. I don't see how a reinstall would fix my problem because when choosing ZFS raid1 it only setups the mirror for partition3.
This is my partition setup for my first disk, so where the boot partitions and the boot files on those partitions are correct.
This is my secondary disk where I manually created the partitions after replacing it, however for partition 1 and 2 it doesn't contain the needed boot files to boot.
I would like to have a setup for if one of my os disks breaks that I can still boot Proxmox. With my current zpool rpool setup. How can I configure it to do that?
Code:
root@pve:~# zpool status
pool: rpool
state: ONLINE
scan: resilvered 15.7M in 00:00:00 with 0 errors on Mon Mar 3 16:23:07 2025
config:
NAME STATE READ WRITE CKSUM
rpool ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
nvme-eui.0025384141400676-part3 ONLINE 0 0 0
nvme-eui.0025384151b3f8db-part3 ONLINE 0 0 0
I installed Proxmox in a vm to be sure that is correct and it installed it the same way because I would think you would want to mirror the entire disk for if one of the disks breaks, that you can still boot. Because right now if my disk breaks where the boot partitions are on I won't be able to boot Proxmox.
I did find "proxmox-boot-tool format/init" but when using that it requires that the efi partition is at least 256M while the defaul installation makes it 1007Kb. I don't see how a reinstall would fix my problem because when choosing ZFS raid1 it only setups the mirror for partition3.
This is my partition setup for my first disk, so where the boot partitions and the boot files on those partitions are correct.
Code:
Number Start (sector) End (sector) Size Code Name
1 34 2047 1007.0 KiB EF02
2 2048 2099199 1024.0 MiB EF00
3 2099200 7814037134 3.6 TiB BF01
This is my secondary disk where I manually created the partitions after replacing it, however for partition 1 and 2 it doesn't contain the needed boot files to boot.
Code:
Number Start (sector) End (sector) Size Code Name
1 34 2047 1007.0 KiB EF02
2 2048 2099199 1024.0 MiB EF00
3 2099200 7814037134 3.6 TiB BF01
Code:
nvme1n1 259:0 0 3.6T 0 disk
├─nvme1n1p1 259:1 0 1007K 0 part
├─nvme1n1p2 259:2 0 1G 0 part
└─nvme1n1p3 259:3 0 3.6T 0 part
nvme0n1 259:4 0 3.6T 0 disk
├─nvme0n1p1 259:5 0 1007K 0 part
├─nvme0n1p2 259:6 0 1G 0 part
└─nvme0n1p3 259:7 0 3.6T 0 part
I would like to have a setup for if one of my os disks breaks that I can still boot Proxmox. With my current zpool rpool setup. How can I configure it to do that?
Last edited: